Hi Cs,
Thanks for your reply.
The AJAX ScriptManager's register script functions also done some
additional things. For pages that use AJAX feature, I think you can
register scripts via the AJAX scriptmanager object. If your registered
scripts are used for standard web page processing and postback (rather than
ajax), you can still use the normal clientscriptmanager.
If you have any other questions, please feel free to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "WT" <WT@newsgroups.nospam>
References: <7B**********************************@microsoft.co m>
<QZ**************@TK2MSFTNGHUB02.phx.gbl>
>In-Reply-To: <QZ**************@TK2MSFTNGHUB02.phx.gbl>
Subject: Re: Missing IsClientScriptxxxRegistered method with ScriptManager
Date: Thu, 8 May 2008 15:22:57 +0200
Hi Steven,
So as soon as we are sure to have a ScriptManager in the page we could
switch all ClientScript calls to ScriptManager corresponding Methods ?
Regards
CS
"Steven Cheng [MSFT]" <st*****@online.microsoft.coma écrit dans le
message
>de news:QZ**************@TK2MSFTNGHUB02.phx.gbl...
>Hi CS,
As for the AJAX script manager, through the reflector code, you can find
that it will also get reference to the container Page and use
Page.ClientScript.RegisterXXX method. Therefore, just like you call
Page.RegisterXXX method, it will help maintain the existing script block
or
overwrite the existing one(if the key is the same).
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you.
Please
>feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.
================================================= =
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>>>From: "WT" <WT@newsgroups.nospam>
Subject: Missing IsClientScriptxxxRegistered method with ScriptManager
Date: Mon, 5 May 2008 15:46:24 +0200
Lines: 9
Hello,
How could we simulate the IsClientScriptBlocRegistered method of
ClientScript when we use an update panel and the static ScriptManager ?
Is this test already included in the ScriptManager.Registerxxx methods ?
Regards
CS