Author: ThotaAshok | Posted on: 7/31/2009 2:08:25 PM | Views : 282

I create an address server control I am loosing the data during post backs. Initially I got the same id error (See first one below) and i got the solution.
(1) If i drop two controls on a page i got the error ==> Multiple controls with the same ID "___" found. FindControl requires that controls have unique IDs
     and i solved it by just adding the "INamingContainer".
(2) Now i got another problem i.e. not able to retain the data modified during postbacks which i need while saving the address of a company in saveaddres
    method. I read the "IPostBackDataHandler" interface neeeds to be implemeted to do this. Please help me how to retain the data. (I read some where that though ViewState you can
   manage the data during post backs. Please provide me a sample for just Address1, Address2 and i will use them for the rest of the address fields.
 
  ...

Go to the complete details ...