View Single Post
  #1 (permalink)  
Old June 20th, 2006, 06:53 AM
AbrarNazeer AbrarNazeer is offline
Authorized User
 
Join Date: Jun 2006
Location: , , .
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re-assign the Control ID after Postback / Error


 BackGround
     I have GridView with SqlDataSource to populate it. While I have Custom Search Control on my WebPage. When ever i click the srch btn to populate the grid its OK but when i put any srch data in any ctrl (e.g City = 'KHI' in city textbox) and then click the srch btn i suffered for the following msg

ERROR Message
================================================== ==================
An error has occurred because a control with id 'grdComplaints$ctl04$ctl00' 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.
================================================== ==================

 If any one has been faced and resolved such error then plz help me.
 Thanks for your time.