Hi,
I'm trying to add a clientside script to my grid which will fire upon initialization. I've added the following in Page_Load:
this.UltraWebGrid1.DisplayLayout.ClientSideEvents.InitializeLayoutHandler = "alert('Hello')";
The alert is displayed allright, but after the alert I get a pop-up saying: "There is a problem with the event handler method: 'alert('Hello')'. Please check the method name's spelling."
Anyone knows what I am doing wrong?
Hello,
Is there a solution to this problem. I have the same issue but with the AddNewRow() call and after clicking OK the method still adds a new row to my grid.
Hi, I also have the same problem, is there any workaround for this??
Thanks.
Hello, Do you know if there is a workaround or correction?
I have exactly the same problem.
Thank you and regards
kaushikjaimalani,
I see that you've submitted a support case with this same question (CAS-26450-CO3VO3). Given what's happening, I believe that handling this issue through the support case is the best approach, because it will likely take some research to find out what's happening and what resolutions are available.
I have a usercontrol say Resource.ascx. It has a grid to which i have clientside events attached.
I use this usercontrol in one of aspx, say Home.aspx page.
Updatepanel is used in Home.aspx page.
When the page is rendered I get the following error: ---------------------------There is a problem with the event handler method: 'ultraWebGridApplication_InitializeLayout'. Please check the method name's spelling.---------------------------
When I View Source the page, I am unable to find the clientside function.
I tried putting the same clientside function in Home.aspx and removed the function from Resource.ascx. \
By doing this, the error no longer occurs. But this is not the solution as I am using the Resource.ascx user control in other aspx pages too.
This error is causing only when I use AJAX updatepanel.
Is this because, I am using the Resource.ascx in the Ultrawebtab which is in the home.aspx page?
Pls suggest.