Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi all,

In my application I'm reading data from web service and to create tab control dynamically, and bind the grid view data also. When I run the first time it's running perfectly. After hit the data gridview paging index (ex. 2 or 3..) the error is came.

error:

SQL
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 Exception Details: System.Web.HttpException: An error has occurred because a control with id 'ctl04' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error.


can any one tell me how can solve this?

Thanks in advance.
Posted

1 solution

Hey,
I have the same issue, how have you figure out this problem ?
Thanks a lot !
 
Share this answer
 
Comments
Bojjaiah 19-Feb-14 23:46pm    
is there any dynamic controls in your code?
Member 11449483 20-May-16 9:06am    
yes, please help i have also this problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900