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

RadComboBox not persisting selected value when using browser back button

2 Answers 151 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Kunal Gupta
Top achievements
Rank 1
Kunal Gupta asked on 27 Jul 2011, 08:49 PM
I am using a radcombox with loadondemand and allowcustomtext = true. After Form submit the use is redirected to another page. Now if the browser back button is pressed then the selected value in the dropdown is lost. How can the value be persisted just like a regular texbox or dropdown?

 <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1">
  <telerik:RadComboBox ID="Operating_Unit" runat="server" Width="250px" Height="150px"
                
                
                 EmptyMessage="" EnableLoadOnDemand="True"  AllowCustomText="true" OnItemsRequested="operating_unit_ItemsRequested"   ShowMoreResultsBox="true" 
                    EnableVirtualScrolling="true"  
                >
            </telerik:RadComboBox>
<asp:Button ID="btn" runat="server" Text="button" onclick="btn_Click" />
</telerik:RadAjaxPanel>

2 Answers, 1 is accepted

Sort by
0
Kunal Gupta
Top achievements
Rank 1
answered on 28 Jul 2011, 07:58 PM
Anybody have any solution?
0
Princy
Top achievements
Rank 2
answered on 29 Jul 2011, 05:42 AM
Hello Kunal,

You can try the same approach in the following help documentation to persist the SelectedValue in RadComboBox. Hope this helps.
Back Button and SelectedValue.

Thanks,
Princy.
Tags
ComboBox
Asked by
Kunal Gupta
Top achievements
Rank 1
Answers by
Kunal Gupta
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or