Using a tabstrip in a Widget
I have rebuild the Jobs demo application and wanted to extend the Register application Widget with some controls.
One of the controls a Tabstrip. But i does not seems to work, i am not able to switch between tabs.
I have tried to use a tabstrip on a normal webpage and there it works fine.
Am I missing something or is this a bug?
I have specified the tabstrip as this:
<
telerik:RadTabStrip
ID
=
"RadTabStrip1"
runat
=
"server"
SelectedIndex
=
"0"
MultiPageID
=
"RadMultiPage1"
Align
=
"Justify"
ReorderTabsOnSelect
=
"True"
>
<
Tabs
>
<
telerik:RadTab
runat
=
"server"
Text
=
"Detail information"
PageViewID
=
"RadPageView1"
SelectedIndex
=
"0"
Selected
=
"True"
>
</
telerik:RadTab
>
<
telerik:RadTab
runat
=
"server"
Text
=
"Screenshots"
PageViewID
=
"RadPageView2"
>
</
telerik:RadTab
>
</
Tabs
>
</
telerik:RadTabStrip
>
<
telerik:RadMultiPage
ID
=
"RadMultiPage1"
runat
=
"server"
SelectedIndex
=
"0"
>
<
telerik:RadPageView
ID
=
"RadPageView1"
runat
=
"server"
Height
=
"400px"
>
<
asp:Label
ID
=
"Label6"
runat
=
"server"
Text
=
"Label"
></
asp:Label
>
<
telerik:RadEditor
ID
=
"RadEditor1"
Runat
=
"server"
>
</
telerik:RadEditor
>
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"RadPageView2"
runat
=
"server"
Height
=
"400px"
>
Screenshots
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"RadPageView3"
runat
=
"server"
>
Languages
</
telerik:RadPageView
>
</
telerik:RadMultiPage
>
Anyone has coped with the same problem?
Thanks!
Hi Bes,
I checked the code you have pasted and there is no problem with it in Sitefinity. Could you check the browser console for some javascript errors? If the problem persists can you provide the exact steps you are following ( add the code to, then drop xxxx control on a page, then do ...)
Best wishes,
Ivan Dimitrov
the Telerik team
I started again and have done the following steps on the JobApplicationUpload.ascx:
1. Drag & drop the RadTabStrip on the designer
2. Pressed "Build RadTabStrip" in the RadTabStrips Tasks menu
3. Add two new tabs in the Item builder
4. Press "Add RadMulitpage" in the RadTabStrips Tasks menu
5. Select the rammulitpage component and press "Add RadPageView"
6. Note: I am not able to select the "Related RadMultiPage" from the RadTabStrips Tasks menu
So I am doing this manually (in code)
MultiPageID="RadMultiPage1"
<
telerik:RadTabStrip
ID
=
"RadTabStrip1"
runat
=
"server"
SelectedIndex
=
"0"
MultiPageID
=
"RadMultiPage1"
>
<
Tabs
>
<
telerik:RadTab
runat
=
"server"
Text
=
"Root RadTab1"
Selected
=
"True"
>
</
telerik:RadTab
>
<
telerik:RadTab
runat
=
"server"
Text
=
"Root RadTab2"
>
</
telerik:RadTab
>
</
Tabs
>
</
telerik:RadTabStrip
>
<
telerik:RadMultiPage
ID
=
"RadMultiPage1"
runat
=
"server"
>
<
telerik:RadPageView
ID
=
"RadPageView1"
runat
=
"server"
>
<
asp:Button
ID
=
"Button1"
runat
=
"server"
Text
=
"Button"
/>
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"RadPageView2"
runat
=
"server"
>
<
asp:Button
ID
=
"Button2"
runat
=
"server"
Text
=
"Button2"
/>
</
telerik:RadPageView
>
</
telerik:RadMultiPage
>
Hello Bes,
Unfortunately this issue cannot be replicated locally and in our internal builds. Also in the last code you sent you have not set PageViewID
property of the RadTab which sets which RadMultiPage will be opened.
Kind regards,
Ivan Dimitrov
the Telerik team
Have this been resolved? I have a very similar problem.
I have a radtabstrip and radmultipage on a widget. On page load event of ascx (widget) I load the first tab (another user control). This works fine. Then I click a button within the first tab (button contained in user control) to enable 2nd tab and load another user control on that 2nd tab. The control loads fine. But I can not anymore go back to the 1st tab (clicking the tab). And the telerik controls on the 2nd tab (the 2nd user control) does not behave properly (i.e. combobox not dropping down, datepicker not showing calendar popout, etc.)
HELP?!
Have this been resolved? I have a very similar problem.
I have a radtabstrip and radmultipage on a widget. On page load event of ascx (widget) I load the first tab (another user control). This works fine. Then I click a button within the first tab (button contained in user control) to enable 2nd tab and load another user control on that 2nd tab. The control loads fine. But I can not anymore go back to the 1st tab (clicking the tab). And the telerik controls on the 2nd tab (the 2nd user control) does not behave properly (i.e. combobox not dropping down, datepicker not showing calendar popout, etc.)
HELP?!