RadTabStrip changing tabs

2 posts, 0 answers
  1. Naupad
    Naupad avatar
    23 posts
    Member since:
    Dec 2011

    Posted 17 Jan 2012 Link to this post

    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>
  2. Naupad
    Naupad avatar
    23 posts
    Member since:
    Dec 2011

    Posted 17 Jan 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top