Does anyone know...Please

G

Gerald Klein

I have a datalist that I subclassed and it has a usercontrol in the header
template, in the usercontrol is a databound dropdown. It loads fine and
posts fine unless I rebind the datalist, then the dropdown loses it's
viewstate. Someone please help their has to be a way around this.

Gerald Klein
 
J

Jiho Han

Maybe I'm missing something but "databinding" is supposed to rebuild the
control meaning not from viewstate. Hence your loss of viewstate. If
you've posted and the change has been committed to the database, then your
rebinding will bring it to the same state as the previous viewstate, no?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top