replacing ScriptManager by ToolkitScriptManager

hsv

New Member
I know if I'm using AjaxControlToolkit I need to replace:\[code\]<asp:ScriptManager\[/code\]by \[code\]<ajaxToolkit:ToolkitScriptManager\[/code\]But do I need to replace ScriptManager in code behind too:\[code\]ScriptManager.RegisterStartupScript\[/code\]by\[code\]ToolkitScriptManager.RegisterStartupScript\[/code\]I got warning there:access to a static member of a type via a derived typeUPDATE:okay, maybe RegisterStartupScript belongs to ScriptManager and ToolkitScriptManager derived from ScriptManager? In this case it doesn't make sense to replace it for RegisterStartupScript?
 
Back
Top