Jan 12, 2009, 12:09 PM
[CLOSED] Problem with ajaxmethod on masterpage
Hi,
I have a coolite ajaxmethod on my masterpage.
From reading the following thread http://forums.ext.net/showthread.php...6281-16-1.aspx, I modified the javascript call from Coolite.AjaxMethods.ShowLanguages() to Coolite.AjaxMethods.<%=this.ClientID%>.ShowLanguag es().
However the Invoke method method fails within Coolite.Ext.Web.AjaxMethod if i invoke the method from more then 2 places on the masterpage. The only way to solve the problem was to hardcode the ClientId eg Coolite.AjaxMethods.ctl00.ShowLanguages().
Any ideas as to why this is happening?
Kind Regards
Lee
I have a coolite ajaxmethod on my masterpage.
From reading the following thread http://forums.ext.net/showthread.php...6281-16-1.aspx, I modified the javascript call from Coolite.AjaxMethods.ShowLanguages() to Coolite.AjaxMethods.<%=this.ClientID%>.ShowLanguag es().
However the Invoke method method fails within Coolite.Ext.Web.AjaxMethod if i invoke the method from more then 2 places on the masterpage. The only way to solve the problem was to hardcode the ClientId eg Coolite.AjaxMethods.ctl00.ShowLanguages().
Any ideas as to why this is happening?
Kind Regards
Lee