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

Text box value disappears while moving to another tab

7 Answers 439 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Muthukumar
Top achievements
Rank 2
Muthukumar asked on 31 Jul 2013, 11:36 PM
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

7 Answers, 1 is accepted

Sort by
0
A2H
Top achievements
Rank 1
answered on 01 Aug 2013, 03:13 AM
Hello,

Please refer this thread which discuss the same scenario.

Thanks,
A2H
0
Muthukumar
Top achievements
Rank 2
answered on 01 Aug 2013, 04:42 PM
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
0
Angel Petrov
Telerik team
answered on 06 Aug 2013, 11:36 AM
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.
0
David
Top achievements
Rank 1
answered on 03 Aug 2020, 01:51 PM

Hi,

I can replicate this issue in version 2018.3.910.45. Has it been resolved in a later version, please?

It happens in IE, but not in Chrome.

Thanks,

David.

0
Vessy
Telerik team
answered on 05 Aug 2020, 08:47 AM

Hi David,

The issue discussed in this thread was fixed back in 2013 Q3 and it is not reproducible at my end neither with the latest, nor the 2018.3.910 version of the controls at my end. Can you, please, send me the exact setup bringing this behavior at your end with version 2018.3.910?

Also, can you make sure that IE is not running in Compatibility mode when the problem occurs (as it is not supported)? You can see how to ensure that the Compatibility mode is disabled here:

https://www.telerik.com/support/kb/aspnet-ajax/details/disable-the-compatibility-view-mode-of-internet-explorer


Vessy
Progress Telerik

0
David
Top achievements
Rank 1
answered on 18 Aug 2020, 12:34 PM

Hi Vessy,

I've just had a try at replicating this in a brand-new WebForms project, and haven't been able to do so. I suspect a certain combination of CSS classes is the problem here, as the value is actually still present in the textbox (i.e. it gets submitted to the server - we just can't see it).

I'll respond again if I ever work out what's wrong.

Thanks,

David.

0
Vessy
Telerik team
answered on 19 Aug 2020, 10:09 AM

Hi,

Sure, David, take you time and let me know in case you need further assistance on this matter after that.

Regards,
Vessy
Progress Telerik

Tags
TabStrip
Asked by
Muthukumar
Top achievements
Rank 2
Answers by
A2H
Top achievements
Rank 1
Muthukumar
Top achievements
Rank 2
Angel Petrov
Telerik team
David
Top achievements
Rank 1
Vessy
Telerik team
Share this question
or