Hello everyone and special thanks to Princy!
I am using a Radgrid with a Radwindow on Editing , you can see all about it in “Demo/Asp.Net Ajax/Window/Edit Dialog For RadGrid”
I tried it to customize it in my Project logic and every thing is fine when I use the same structure(DefaultCS.aspx, and code behind and EditForm and its codebehind).
But I am using a UserControl instead of aspx file ,as follow :
ChargePanel.ascx(Instead of DefaultCS.aspx)[Inherited from SiteMasterpage]
When I click On Edit Button everything is true still, and works fine ,and the Grid will be updated after closing windows with some Java Script Code,after do that if I tend to edit another row when I click the Edit button It will raise an error!
Microsoft JScript runtime error: 'null' is null or not an object
Here is my Code,I have tried to find a solution from Many posts but I didn’t find anything to help me…