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

RADTextBox not saving Text on Multipage on IE10

2 Answers 61 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 24 Sep 2013, 09:06 PM
This issue ONLY happens on IE 10.  All other browsers and IE10 in Compatibility mode seem to work fine.

I have a simple TabStrip wired into a Simple MultiPage Control

Each MuliPage simply has a RadTextBox on it.
Enter a value on tab 1, then change to Tab 2,  When you go back to Tab 1 the value is entered is not available.

Even if you put an OnTab Click event, the Text is not available in Code Behind.

However, if there was a Button on the Tab and the Button was clicked, you CAN see the value of the textbox AND it will persist across the TabChange

If you use a standard Text Box, the issue disappears.
Please see the below sample code. 
Is there anything i should be doing differently for the valueto be persistant accross the tabchange event.
Again, this ONLY happens on IE 10

   <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
  <telerik:RadTabStrip ID="tbLoan" runat="server" AutoPostBack ="True" EnableViewState="true"    SelectedIndex="0"  OnTabClick="tbLoan_TabClick"
             MultiPageID="mpLoanInput" Orientation="VerticalLeft"   Style="float: left; width: 150px;">
        <Tabs>
            <telerik:RadTab runat="server"  Text="Test1" Value="LENDER"  >
            </telerik:RadTab>
            <telerik:RadTab runat="server"  Text="Test2" Value="LOANINFO"  >
            </telerik:RadTab>
 
        </Tabs>
    </telerik:RadTabStrip>
 
     <telerik:RadMultiPage runat="server" CssClass="multiPage" ID="mpLoanInput" SelectedIndex="0" Width="100%" 
             RenderSelectedPageOnly="true"
         >
     <telerik:RadPageView runat="server" ID="pvLender">
        1 <telerik:RadTextBox ID="RadTextBox1" runat="server" EnableViewState="true" ></telerik:RadTextBox>
         <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
         
     </telerik:RadPageView>
     <telerik:RadPageView runat="server" ID="pvLoanInfo">
        2 <telerik:RadTextBox ID="RadTextBox2" runat="server"></telerik:RadTextBox>
         <telerik:RadButton ID="RadButton1" runat="server" Text="RadButton" OnClick ="RadButton1_Click"></telerik:RadButton>
     </telerik:RadPageView>
    
</telerik:RadMultiPage>

2 Answers, 1 is accepted

Sort by
0
Eric
Top achievements
Rank 1
answered on 25 Sep 2013, 12:24 PM
I finally found some additional items here in the forum that relate to this issue, but none with a fix.
I have identified that the issue also exists is IE9 when not in compability mode.

RadTextBoxes that are inside a MultiPage control do not retain updates to their value on a TabStrip Postback,
ONLY if there is some sort of other postback event.
However a ASP Textbox in the exact same scenario will always keep the value

On a strange event, i also noticed that if you put a value in the RADTextBox 1st, THEN enter a value in an ASP TextBox, BOTH values are kept

Any help would be greatly appreciated
0
Vasil
Telerik team
answered on 27 Sep 2013, 08:55 AM
Hello Eric,

There ware issue in the RadTextBox that loosed it's value on postback without blur the control. It is already fixed. Could you download the latest beta version and test your project with it.

Regards,
Vasil
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.
Tags
TabStrip
Asked by
Eric
Top achievements
Rank 1
Answers by
Eric
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or