Hi,
I have a aspx page. In that page I am using a control which contains a grid and buttons for Save and cancel.
When user clicks on the edit button beneath the control the control becomes editable.
The problem I m facing is ,whenever I click on the Edit button ,the ascx page is called twice and I get an exception (during debugging)” An entry with the same key already exists.” I get this error wherever I use Client id in javascript inside”<%=…%>”.And because of this error none of the functions are called and ultimately the functions are not working.
I m attaching Screen shot …
Please provide me with solution..
I need that urgently.
1.Screen Shot the page where I am using the control
2.Screen Shot of the page I m getting the Argument Exception