This is a migrated thread and some comments may be shown as answers.

RadScriptManager validation problem

8 Answers 121 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
sk
Top achievements
Rank 1
sk asked on 04 Mar 2009, 10:42 AM

Hi guys,

Please help me

I have a problem with Asp.net Validation controls while using RadScriptManager. The RadScriptManager is placed inside my master page and the validation controls are in the content page. When I am removing the ScriptManager the page is validating properly. If anybody knows the solution please help me.

Thanks in advance

8 Answers, 1 is accepted

Sort by
0
Nick
Top achievements
Rank 2
answered on 03 Apr 2009, 10:10 PM
This problem exists anytime there's a radscript manager on the page.

I am opening a ticket with the example project:

One page has a radscript manager.  One doesnt'.  Exactly the same other wise.

The one without the manager properly validates client side.

The one with validates postback.

It would appear radscript manager is breaking the JS somewhere.
0
Veselin Vasilev
Telerik team
answered on 06 Apr 2009, 12:42 PM
Hello guys,

Please find attached a sample project which demonstrates that it works correctly.

The problem of the Nicholas' project was with the incomplete web.config file. I have modified it and everything is working fine now.

All the best,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Nick
Top achievements
Rank 2
answered on 06 Apr 2009, 01:58 PM
Hrm.  Ok I started this project from scratch in 2.0 to demonstrate and did the usual 'register telerik axd'.   Where is the rest of what you added coming from, i.e. how was I suppose to know to add it?  I've been using telerik controls for sometime now and this has only now cropped up as an issue.

And hrm..apparently some of what I'm missing is regular .net stuff as well.
0
Veselin Vasilev
Telerik team
answered on 07 Apr 2009, 08:00 AM
Hello Nick,

Just make sure you create a new Ajax-Enabled Web Site in VS 2005 and all the necessary settings will be added to the  web.config file.

Greetings,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Nick
Top achievements
Rank 2
answered on 07 Apr 2009, 02:03 PM
Ooops double post
0
Nick
Top achievements
Rank 2
answered on 07 Apr 2009, 02:05 PM
Hrm..I'm in VS 2008.    I don't have an option to create  an 'ajax-enabled' website.  Just 'website'.    I must be missing an update or something.   If you have any insight, I'd appreciate it.  I'll also hit the MSDN forums.

0
Atanas Korchev
Telerik team
answered on 07 Apr 2009, 04:37 PM
Hi Nick,

You can check this blog post.

All the best,
Albert
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Nick
Top achievements
Rank 2
answered on 07 Apr 2009, 05:15 PM
Well that was extemely informative.   Thank you!!
Tags
ScriptManager and StyleSheetManager
Asked by
sk
Top achievements
Rank 1
Answers by
Nick
Top achievements
Rank 2
Veselin Vasilev
Telerik team
Atanas Korchev
Telerik team
Share this question
or