Wednesday, March 21, 2012

Question Script Manager

Hi all... I have a question, I'm putting my ScriptManager in my Masterpage so i don't have to put it in every container place holder, but when i drag and drop for example, a AjaxControlToolKit i get an error Rendering 'cause it doesn't find the ScriptManager, so I really don't know if i should put the ScriptManager in every container place holder (if i'm wrong doing it that way) or is a problem in the Ajax Control Tool Kit... so let me know how should be done...

thanks...

Hey,

Don't let the designer tell you the truth, because in design mode, it can't find the script manager; however, when you run the page, the master page becomes part of the page and it may be available then. Try seeing if it works in run time (I don't know offhand if you can do that), and if you can do it at runtime, then it's OK to do. Though, I often put it in each page, because not every page uses the AJAX features, and at times its handy to be able to use the designer, and not have it complain that it can't find the script manager.


Thanks... well another thought... shouldn't be a fix for that... I mean is really annoying to have that problem... i think if should ever be a Service Pack 2 for VS2005 they should fix that

i mean... just a thought... Stick out tongue


It's supposed to become part of the ASP.NET framework eventually... maybe then...


Wish i could say that i had the same resuts but unfortunately now that i've installed the ajax too kit after having the atlas toolkit on my machine i can't get the script manager to work...even if i try compiling the app it won't run.

try to do this..

go to the Microsoft.Net framework version 2.0 temporary asp.net files and clean that, some times for me gives me an error in compiling so i clean that and i'm ready to go...

Delete all files in that directory

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

(C: is your drive where the OS is install)

then compile your application and tested


No comments:

Post a Comment