Results 1 to 3 of 3

Thread: Ajax:how 2 cancel TabContainer ClientActiveTabChanged or TabPanel OnClientclick event

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Posts
    589

    Ajax:how 2 cancel TabContainer ClientActiveTabChanged or TabPanel OnClientclick event

    [2005]: how to cancel Ajax TabContainer ClientActiveTabChanged event or Ajax TabPanel OnClientClick event


    Hi,

    I have TabContainer, I need when I click on the second TabPanel, to be able to make some changes on the first TabPanel before I change the ActiveTabIndex.

    So please u can help me either in one or both of the following ways:

    1/ tell me how I can intercept the OnActiveTabChanged changing event (before the change takes place) or the event that takes place before the OnClientClick of the TabPanel, so that I be able to perform the necessary changes on the current Active TabPanel before I set the ActiveTabIndex programmatically to the 2nd one;

    2/ and/or tell me how I can cancel the ClientActiveTabChanged event or the TabPanel OnClientClick event so that I make the modifications on the current active tab before I change the value of ActiveTabIndex

    P.S: All this on the client side please.

    Thank you.
    Thanks a lot for your help.

  2. #2
    New Member
    Join Date
    Dec 2010
    Posts
    1

    Re: Ajax:how 2 cancel TabContainer ClientActiveTabChanged or TabPanel OnClientclick e

    did you get solution to your problem. i have the same problem!!!
    your help is very apreciated

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Ajax:how 2 cancel TabContainer ClientActiveTabChanged or TabPanel OnClientclick e

    Hello,

    To hook up the OnActiveTabChanged event, you need to set the AutoPostBack property of the Control to true. Have you done this?

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width