Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Strange Problem with Edit Function of Custom ModuleStrange Problem with Edit Function of Custom Module
Previous
 
Next
New Post
4/8/2008 5:21 PM
 

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


Colm Ryan Director
3rd i IT and Business Services Limited

www.actravia.com
Registration and Booking Solutions for Dotnetnuke
www.3rdi.ie
IMCA Registered Management Consulting Practice. Business and IT Strategy, IT Project Management and Product Development
 
New Post
4/8/2008 5:46 PM
 

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
Microsoft MVP, ASPInsider, DNN MVP
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 Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
4/8/2008 6:30 PM
 

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"))
            ViewState("eventtypename") = infEventType.EventName

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

 


Colm Ryan Director
3rd i IT and Business Services Limited

www.actravia.com
Registration and Booking Solutions for Dotnetnuke
www.3rdi.ie
IMCA Registered Management Consulting Practice. Business and IT Strategy, IT Project Management and Product Development
 
New Post
4/9/2008 10:19 AM
 

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
Microsoft MVP, ASPInsider, DNN MVP
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 Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
4/9/2008 3:29 PM
 

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


Colm Ryan Director
3rd i IT and Business Services Limited

www.actravia.com
Registration and Booking Solutions for Dotnetnuke
www.3rdi.ie
IMCA Registered Management Consulting Practice. Business and IT Strategy, IT Project Management and Product Development
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Strange Problem with Edit Function of Custom ModuleStrange Problem with Edit Function of Custom Module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out