Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Strange Problem with Edit Function of Custom Module
Previous Previous
 
Next Next
New Post 4/8/2008 3:21 PM
User is offline Colm Ryan
114 posts
www.3rdi.ie
9th Ranked


Strange Problem with Edit Function of Custom Module 

Hi There

A module we developed (Compiled under 4.6.2 DNN Install) was working away fine in a live site until we updated to 4.8.2.

We have a custom edit function that should launch a settings screen for a list item. This has stopped working. When clicked, a postback occurs but the module returns back to the page it was on.

Yesterday I uploaded an upgrade of the text/html module and this forced a rebuild and the function started working again. However it has now ceased working once more!

Any thoughts on this?

Regards

Colm

 
New Post 4/8/2008 3:46 PM
User is offline Mitch Sellers
5712 posts
www.mitchelsellers.com
3rd Ranked




Re: Strange Problem with Edit Function of Custom Module 

Can you share the code that you are using to open the new window?

Also, do you have the cache time set to 0 for your module definition?


-Mitchel Sellers
MCITP, MCPD, MCTS
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 4/8/2008 4:30 PM
User is offline Colm Ryan
114 posts
www.3rdi.ie
9th Ranked


Re: Strange Problem with Edit Function of Custom Module 

Cache time is set to 0...I have disabled AJAX on the host settings and this seems to make a difference, i.e. it seems to work once again. Here is the code I use to launch the next screen...

 

        Protected Sub grdCourseDates_RowEditing(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.GridViewEditEventArgs) Handles grdCourseDates.RowEditing
            Dim ctlEventTypes As New EventTypeDetailsController
            Dim infEventType As EventTypeDetailsInfo = ctlEventTypes.GetEventTypeDetails(Request.Params("evt"))
            v13wstat3("eventtypename") = infEventType.EventName

            Dim valEventID As Integer = Me.grdCourseDates.DataKeys(e.NewEditIndex).Value
            Response.Redirect(EditUrl("", "", "EditScheduledEventDetails", "eventedit=" & valEventID, "evtype=" & CStr(infEventType.EventTypeID)))

 

 
New Post 4/9/2008 8:19 AM
User is offline Mitch Sellers
5712 posts
www.mitchelsellers.com
3rd Ranked




Re: Strange Problem with Edit Function of Custom Module 

I hae noticed some issues in the past with response redirect and AJAX...

You could try just setting "Supports Partial Rendering" to false for this control...or you could add the grdCourseDates as a postback control via the DotNetNuke.Framework.AJAX.RegisterPostbackControl method..


-Mitchel Sellers
MCITP, MCPD, MCTS
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 4/9/2008 1:29 PM
User is offline Colm Ryan
114 posts
www.3rdi.ie
9th Ranked


Re: Strange Problem with Edit Function of Custom Module 

Might try the RegisterPostbackControl method as this module works nice with AJAX although not quite sure how this differs from supports partial rendering method. Something introduced with 4.8.2 that might have affected this? The dev environment was 4.6.2 so perhaps changes in the AJAX libraries affecting this?

Rgds

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Strange Problem with Edit Function of Custom Module
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com
Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com
AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP