asp.net 1.1 help need

G

Guest

Hi i have asp.net 1.1 application in which i simulated tab control becuase in
asp.net their is no multi page control like in asp.net 2.0 has.

every thing is working perfect except

when i try to click save button on tab 2. it return control to tab1 which is
by default ... i am just switching the display property of each gridlayout
but clicking above buttons.
i want if i am on tab 2 and click save button on tab2 then it should return
control to tab 2 instead tab1 which is bydefualt on.
is their any way to run the scritp after returning control from server like
tab2.style.display="inline" other disable.
thanks
 
R

ramu.pulipati

In server save callback function, you may use RegisterStartupScript
function to register your javascript function that will show tab2 and
hide the tab1 after post-back.

Is this what you are looking for?

Hth,
Ramu
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top