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.0Ajax Control Toolkit MaskedEditExtender problem after update from 4.7 to 4.8.3Ajax Control Toolkit MaskedEditExtender problem after update from 4.7 to 4.8.3
Previous
 
Next
New Post
6/4/2008 11:00 AM
 

Dear All,

 

In order to be as secure as possible with DNN  i've update my application from 4.7 to 4.8.3. I've made a module for webforms generation who is using the ajax control toolkit to implement some input mask & validation. Since the update, the dynamic  MaskedEditExtender control is not added to the page. The 'parent' MaskedEditValidator control is working fine but no input mask !

After some research, the following  javascript add_init function is missing in the page source code :

 

Sys.Application.add_init(function() {
    $create(AjaxControlToolkit.MaskedEditBehavior, {"AutoComplete":false,"ClientStateFieldID":"dnn_ctr381_WebForms_meee3_ClientState","CultureAMPMPlaceholder":"","
CultureCurrencySymbolPlaceholder":"€","CultureDateFormat":"DMY","CultureDatePlaceholder":"/","CultureDecimalPlaceholder":",","CultureName":"fr-FR","CultureThousandsPlaceholder":" ","CultureTimePlaceholder":":","Mask":"99/99/9999","MaskType":1,"MessageValidatorTip":false,"id":"dnn_ctr381_WebForms_meee3"}, null, null, $get("dnn_ctr381_ViewMercerWebForms_3"));
});

Any idea why i get this problem after the DNN update from 4.7 to 4.8.3 ? I've to solve this issue to get the 4.8.3 in production.

Thanks for your collaboration on this blocking issue.

 

Denis

 

 

 

 

 

 

 
New Post
6/4/2008 4:33 PM
 

I upgraded a site that is using the Microsoft AJAX Control toolkit Masked control extender and it works fine in DNN 4.8.3. Perhaps you are using asp.net 3.5 and are not using the asp.net 3.5 version of the Microsoft AJAX Control toolkit?



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
6/5/2008 7:23 AM
Accepted Answer 

Thanks Michael for you response. I've update using the classic method so no change in the ajaxtoolkit.dll and web.config parameters.

Maybe you're using static MaskedEditExtender but in my case they are dynamically added to the page.

I've found the solution to my problem. The default.aspx.vb file has a new method for the scriptmanager registration

In 4.7 it was :

AJAX.RegisterPage(Me)
AJAX.RegisterScriptManager()

Now with 4.8.3 :

AJAX.AddScriptManager(Me)

In order to fix my application i've add the AJAX.RegisterScriptManager() before the AJAX.AddScriptManager(Me) .

It' probably a good idea to include this fix in a future release.

 

Denis

 

 

 

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Ajax Control Toolkit MaskedEditExtender problem after update from 4.7 to 4.8.3Ajax Control Toolkit MaskedEditExtender problem after update from 4.7 to 4.8.3


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