Text box value disappears while moving to another tab

4 posts, 0 answers
  1. Muthukumar
    Muthukumar avatar
    6 posts
    Member since:
    May 2013

    Posted 31 Jul 2013 Link to this post

    Hi,

    I am using tabstrib control in one of our pages.And when we are facing the following issue.

    The tabstrib is having two tabs and each of them having a textbox.
    After entering a value in tab1 textbox,we are moving to tab2 directly, and if we go back to tab1 the value entered in tab1 textbox is missing.
    Please find the code as below..

     

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="WebApplication1.Test" %>

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <div>
            <telerik:RadTabStrip AutoPostBack="true" ID="TabStrip" runat="server" SelectedIndex="0"
                MultiPageID="MultiPage" Width="98%">
                <Tabs>
                    <telerik:RadTab runat="server" Text="Tab1" Value="Details">
                    </telerik:RadTab>
                    <telerik:RadTab runat="server" Text="Tab2" Value="Communications">
                    </telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>
            <telerik:RadMultiPage ID="MultiPage" Width="100%" Height="520px" runat="server" SelectedIndex="0">
                <telerik:RadPageView ID="CampaignDetailsPageView" runat="server" Width="100%" Height="100%">
                    <table>
                        <tr>
                            <td>
                                <telerik:RadTextBox ID="TextBoxTest" runat="server">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                    </table>
                </telerik:RadPageView>
                <telerik:RadPageView ID="RadPageView1" runat="server" Width="100%" Height="100%">
                    <table>
                        <tr>
                            <td>
                                <telerik:RadTextBox ID="RadTextBox2" runat="server">
                                </telerik:RadTextBox>
                            </td>
                        </tr>
                    </table>
                </telerik:RadPageView>
            </telerik:RadMultiPage>
            <telerik:RadAjaxManager ID="AjaxManager" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="TabStrip">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="TabStrip" />
                            <telerik:AjaxUpdatedControl ControlID="MultiPage" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
        </div>
        </form>
    </body>
    </html>

     

     

    This is happening only with version 2013.2.611.40, and its not happening in version 2013.1.417.40 with the same code.

    Thank you in advance,
    Muthukumar V

  2. A2H
    A2H avatar
    177 posts
    Member since:
    Mar 2010

    Posted 31 Jul 2013 Link to this post

    Hello,

    Please refer this thread which discuss the same scenario.

    Thanks,
    A2H
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Muthukumar
    Muthukumar avatar
    6 posts
    Member since:
    May 2013

    Posted 01 Aug 2013 Link to this post

    I agree with that,but the other thread is talking about numeric text box,but this one is textbox and also we dont have any issues with previous versions of telerik.This issue was introduced in latest version of telerik.

    Also we are using more number of text box controls those are created dynamically,and it makes really difficult for us to add the javascript code for each and every individual controls.It would be greate if telerik fix this issue with upcoming release.

    Thank you,
    Muthukumar V
  5. Angel Petrov
    Admin
    Angel Petrov avatar
    1007 posts

    Posted 06 Aug 2013 Link to this post

    Hello Muthukumar,

    This is a known issue to us and is logged into our system. Our developers will do their best to provide a fix for the upcoming official release.

    Regards,
    Angel Petrov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top