HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Cash Reward for AJAX help.Cash Reward for AJAX help.
Previous
 
Next
New Post
8/22/2007 8:37 AM
 

Well, I’ve tried for a month now to solicit any response from this forum for advice on how to get the AJAX Validator Callout control to work with in DotNetNuke, and I haven’t had a single response. See here (http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/111/threadid/158014/scope/posts/Default.aspx) for more information. I’ve spent countless hours on what should be a relatively simple task, and now my deadline for this project is growing near. So, I have decided to post a $100 Reward payable via PayPals to the first person who posts the .vb and .ascx files for a working DNN 4.5 module which properly demonstrates the usage of a AJAX Validator Callout control.  

Thank you, Nathan Rover

 
New Post
8/22/2007 11:30 PM
 

Hi NateDawg,

This is my solution :

  1. From your existing module, just go to Host --> Module Definition. And then check the checkbox Support Partial Rendering to your control.
  2. Then go to your control ( your .ascx file). Add one UpdatePanel control.
  3. Inside your UpdatePanel, add one Panel control.
  4. Change Style property for your Panel control (not UpdatePanel). Add it with Style="position: relative;".
  5. Drag one Button, and two Textbox control inside your Panel control.
  6. Drag two RequiredFieldValidator control. Asociate ControlToValidate property for those textboxes. Add your ErrorMessage property for each validator control, and change Display property to None.
  7. Change ValidationGroup property for Button, Textbox, and two RequiredFieldValidator with the same name (do not left it blank). For example, change ValidationGroup property to group1 or whatever names for Button1, TextBox1, TextBox2, RequiredFieldValidator1 and RequiredFieldValidator2.
  8. Add two ValidatorCalloutExtender control inside your Panel control. Asociate TargetControlID property with your RequiredFieldValidator control.
  9. That's it. And enjoy you ValidatorCalloutExtender control inside your DNN module.

Hope this help. :)

You can contact me at agung.riyadi@bataviasoft.com

 
New Post
8/27/2007 2:34 AM
 

Thanks for the reply, however, it turns out the reason why I was unable to get the AJAX validator callout extender to work is because the naming convention for page in a module where I work is companyname.projectname.modulename.pagename.ext well, the java/AJAX/DNN compiled code was pissed off by the periods in the module name. When I changed it to companyname_projectname_modulename_pagename.ext my original code worked fine. The suggestion above would not work because DNN already has an update panel so it is not needed on the module page. In fact if it is used any thing in the update panel will no longer be accessible programmatically from the code behind page which makes for a rather ineffective data entry form… but all is well, I finally have it working but thanks for the suggestion any ways.

 

Nathan Rover

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Cash Reward for AJAX help.Cash Reward for AJAX help.


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.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.