asp.net 1.1 help need

Discussion in 'ASP .Net' started by =?Utf-8?B?YW1qYWQ=?=, Aug 1, 2006.

  1. 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
     
    =?Utf-8?B?YW1qYWQ=?=, Aug 1, 2006
    #1
    1. Advertising

  2. =?Utf-8?B?YW1qYWQ=?=

    Guest

    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

    amjad wrote:
    > 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
     
    , Aug 1, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Howard
    Replies:
    2
    Views:
    632
    Amber
    Jan 12, 2004
  2. M Skabialka
    Replies:
    2
    Views:
    1,332
    M Skabialka
    Apr 13, 2005
  3. Jack Black
    Replies:
    3
    Views:
    2,823
    =?Utf-8?B?UGF1bA==?=
    Apr 20, 2005
  4. Replies:
    16
    Views:
    533
    Jacob
    Jul 3, 2006
  5. ali
    Replies:
    2
    Views:
    127
    Jeff Cochran
    Apr 23, 2004
Loading...

Share This Page