TabPanel load panel in TabChange

  1. #1

    TabPanel load panel in TabChange

    Hi

    I have TabPanel with 4 Panel in evry panel there is load for gridpanel or combobox the webapplication become so heavy so i want to separate evry load with the name of the panel

    so i tried that just to do the test
    <Listeners>
    <TabChange Handler="CompanyX.Tab1_Selected_Tab_changed(tab)" />
    </Listeners>
    in the aspx.cs code
    [DirectMethod]
            public void Tab1_Selected_Tab_changed(Tabpanel Tab)
            {
                if (Tab.Title == "Informations")
                    X.Msg.Alert("messege", "it work").Show();
            }
  2. #2
    Hi,

    I guess a "Recursion error" occurs, isn't that so?

    A "tab" instance cannot be encoded to pass it to a server a DirectMethod's parameter, because it has "recursion" links (for example, on its container).

    I don't think that you need to implement such behavior, because TabPanel has such behavior by default - it renders (and, respectively, loads) tabs when it's activated at the first time.

Similar Threads

  1. Replies: 9
    Last Post: Jun 27, 2012, 2:17 PM
  2. Replies: 0
    Last Post: May 07, 2012, 7:50 AM
  3. Replies: 3
    Last Post: Oct 17, 2010, 1:22 PM
  4. [CLOSED] [1.0] TabPanel - Solution for no TabChange on Page_Load
    By bsnezw in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 06, 2010, 4:27 PM
  5. how to load data to grid panel in page load
    By andylaiyongsing in forum 1.x Help
    Replies: 1
    Last Post: Apr 16, 2010, 10:27 AM

Posting Permissions