This is a migrated thread and some comments may be shown as answers.

RadTabStrip changing tabs

1 Answer 107 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Naupad
Top achievements
Rank 1
Naupad asked on 17 Jan 2012, 05:09 PM
I have created 2 tabs HTML and TEXT using RadTabStrip and in both tabs, I have RadEditor in HTML and Text mode respectively. I am not using the default Edit mode with: Design, HTML and Preview. On page load, I am populating the contents in both the editors from database. Now when I make a change in HTML view and change the tab to TEXT, that change won't be there as it shows the content from database. How to achieve this?

Also for reference the markup for my code is :
<telerik:RadTabStrip ID="RadTabStrip1" runat="server"
                        ReorderTabsOnSelect="True" MultiPageID="RadMultipage1" SelectedIndex="0"
                        style="margin-left: 0" Width="100%" ShowBaseLine="True" Align="Justify">
                        <Tabs>
                            <telerik:RadTab Text="HTML" Selected="True">
                            </telerik:RadTab>
                            <telerik:RadTab Text="TEXT">
                            </telerik:RadTab>
                        </Tabs>                        
                    </telerik:RadTabStrip>

                    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0"
                        CssClass="pageView" Width="100%">
                    <telerik:RadPageView ID="htmlview" runat="server">
                      <telerik:RadEditor ID="htmleditor" runat="server" EditModes="Html" Width="100%"></telerik:RadEditor>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="textview" runat="server">
                        <telerik:RadEditor ID="texteditor" runat="server" EditModes="Design" Width="100%"></telerik:RadEditor>
                    </telerik:RadPageView>
                </telerik:RadMultiPage>

1 Answer, 1 is accepted

Sort by
0
Naupad
Top achievements
Rank 1
answered on 17 Jan 2012, 07:54 PM
Well actually I don't need to implement this so thanks anyways. Because I got to know that I have to load contents based on database only.
Tags
TabStrip
Asked by
Naupad
Top achievements
Rank 1
Answers by
Naupad
Top achievements
Rank 1
Share this question
or