Hello,
Using RadControls for ASP.NET AJAX 2011.1.413.35
I have a RadWindow that contains a RadToolBar followed by a RadTabStrip followed by a RadMultiPage.
The RadToolBar has "OK" and "Cancel" buttons. This works fine.
The RadTabStrip contains 15 tabs broken up into 3 rows of 5 each, and has the ReorderTabsOnSelect="true", and the IsBreak="true" set in the appropriate places. Let's call these rows from top down as rows 3, 2, and then 1 on the bottom. This works fine.
The RadMultiPage contains one RadMultiPageView for each tab and contains various labels, textboxes, and other editing controls. This works fine.
When I click row 1 / tab 3 (bottom row of tabs), the RadMultiPageView associated with that tab has a series of Buttons, each with an OnClick event that performs some server stuff and then opens another RadWindow with editing controls for the selected button (see screenshot 1). This new RadWindow is Modal and data can be entered and returned back to the calling RadWindow. All this works just fine.
However, as soon as I click the Button, and before the new RadWindow "grays" out the background, the RadTabStrips reorders the tab rows and now row 1 (bottom row) is now moved to the top row (see screenshot 2).
If I close the new RadWindow using the "x" close button in the top right (or using my Cancel button on the new RadWindow edit form), the new RadWindow closes and the RadTabStrip rows are now in the wrong order. If I close the new RadWindow using my OK button (which fires a server-side event and PostBack), the RadTabStrip reorders the rows back to where they were (I can see the row 1 that was moved to the top move back down to the bottom where it belongs.
Here is the RadTabStrip declaration:
<
telerik:RadTabStrip
ID
=
"RadTabStrip1"
runat
=
"server"
Align
=
"Justify"
AutoPostBack
=
"true"
CausesValidation
=
"false"
MultiPageID
=
"RadMultiPage1"
OnClientTabSelecting
=
"NeedToShowValidationSummary"
ReorderTabsOnSelect
=
"true"
SelectedIndex
=
"0"
ShowBaseLine
=
"false"
ValidationGroup
=
"valGroup"
Width
=
"100%"
>
<
Tabs
>
<
telerik:RadTab
Text
=
"General"
/>
<
telerik:RadTab
Text
=
"Address"
/>
<
telerik:RadTab
Text
=
"Telephones"
/>
<
telerik:RadTab
Text
=
"Organization"
/>
<
telerik:RadTab
Text
=
"Member Of"
/>
<
telerik:RadTab
Text
=
"Object"
IsBreak
=
"true"
/>
<
telerik:RadTab
Text
=
"Account"
/>
<
telerik:RadTab
Text
=
"Profile"
/>
<
telerik:RadTab
Text
=
"Dial-in"
/>
<
telerik:RadTab
Text
=
"Environment"
/>
<
telerik:RadTab
Text
=
"Sessions"
IsBreak
=
"true"
/>
<
telerik:RadTab
Text
=
"Terminal Services Profile"
/>
<
telerik:RadTab
Text
=
"COM+"
/>
<
telerik:RadTab
Text
=
"Remote Control"
/>
<
telerik:RadTab
Text
=
"Additional Info"
/>
</
Tabs
>
</
telerik:RadTabStrip
>
My question is: How do I prevent this behavior or somehow set the order of the RadTabStrip rows?
Thanks,
Randall Price
Senior Developer
Virginia Tech