We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

tab control Adv - initial selection (no event)

It appears to me that the SelectedIndexChanged event handler for a tabcontrolAdv gets an initial event at a time when the selected index = -1 but it doesn''t get an event when the default tab (index=0) gets set. Is this right or am I missing something? -r

1 Reply

MJ Mano J Syncfusion Team March 7, 2006 01:26 PM UTC

Hi Ralph, TabControlAdv sets selected index to -1 only if there are no tabPages. Currently, it does not support setting index as -1 and sets it as zero by default. Hence we just ignore the selection index changing event (for first change) if selected index is set to zero. Please let me know if you have any questions. Regards, Mano

Loader.
Live Chat Icon For mobile
Up arrow icon