Dynamic controls and postback.

F

Francois

I have to modify existing code :

Basically, it implemnts tabbed forms.

On the pageLoad,
the code creates the two selection controls, plus kind of page depending of
selected control.

On selected control_click,
do a page redirect to itself, putting in the url the new selected control.


This somewhat works, but when the user clicks on another tab, there is a
first rendering of the page with the initial page (page_load +
control_click) , then a redirect, then a new page_load with the new controls
displayed.

How can I ameliorate the round trip time, by rendering the new page in the
control_click, and not doing a redirect.

I have tried it, but its says invalid view state. So I disabled view state
for the tabbed page (it is in a table cell) , but it keep saying control ID
already used. (None of the dynamic controls created have ID).

Is there a better way to do tabbed forms ?
NB asp net 2.0.

Thanks.

François.
 

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,968
Messages
2,570,152
Members
46,698
Latest member
LydiaHalle

Latest Threads

Top