Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Web tab: Is it possible that the active tab change after postback?
posted

I'm looking for the behaviour of the old ultrawebtab, when the tab click is captured in code behind and the current tab not change until the postback is finished (Something like the client side event SelectedIndexChanging but on server).

I'm using the event SelectedIndexChanged with its autopostback property in true, but with this, first the tab is made active on client, and then the postback occurs.

I saw that there's a client event SelectedIndexChanging, but there's no equivalent on server events.

Besides I have another problem:

In the active tab I have a webdatagrid with a row selected. In any event this row is available in the SelectedRows collection of the grid, but if the SelectedIndexChanged of the tab is called, in the event handler, the selectedRows collection is empty.

Can anybody help me with this?

Thanks,

             Gustavo

Parents Reply Children