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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesusing RadGrid with EditForm inside Settings.ascxusing RadGrid with EditForm inside Settings.ascx
Previous
 
Next
New Post
9/1/2010 1:01 PM
 

I have a module that does Shibboleth authentication.  On the settings.ascx control, along with allowing the user to update some general settings, I have a radgrid that will let the user select Shibboleth roles to be paired with existing DNN roles.  Later in the authentication code, these Shibboleth roles will be mapped to the corresponding DNN roles.  To display these role mappings I am using a RadGrid with an Edit Form where the user can update role mappings and insert new role mappings.  There is also a delete command on the RadGrid (which works ok, the delete command doesn't use the Edit Form.)

 I tested this radgrid on a simple web page before bringing it into DNN just to get the radgrid code working.  The Insert, Update, and Delete all worked ok outside of DNN.  But when I pulled the code into DNN, the delete still works, but the Update and Insert routines never fire.  I wonder if there is a problem with using an Edit Form within a Radgrid inside DNN. 

 When you step thru the code after updating/inserting, not from inside DNN, the Page Load routine runs and then the RadGrid Update/Insert Command sub runs and then a few more subs and everything works.  When you step thru the code inside DNN, the Page Load runs and then some DNN subs run but it never returns to the Settings module to run the Update Command sub or anything else.

 Also, even if I change the Edit Form type to "AutoGenerate" so the radgrid generates a generic form to do the updates with an auto-generated Update button, the Update Command sub doesn't execute as if the event isn't firing.

 Thanks for your help.

 

 
New Post
9/6/2010 10:07 AM
 
It seems that the RadGrid isn't working on the Settings user control only.  My module is configured as an Authentication provider.  When I also configure it as a Desktop Module with View and Edit forms, the RadGrid works ok, with the DNN View control containing the RadGrid and the DNN Edit control containing the Edit form.  RadGrid Events fire ok, from the View and Edit control instead of the Settings control.

Everything seems to work ok now and I am wondering if anyone has any comments about configuring the module as both an authentication provider and a desktop module within the manifest.  We will be making the Shibboleth provider Open Source once it's ready and any comments/suggestions are appreciated.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesusing RadGrid with EditForm inside Settings.ascxusing RadGrid with EditForm inside Settings.ascx


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