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

[Solved] Combo Box loses value in RadAjax Panel

4 Answers 110 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
rmoynihan
Top achievements
Rank 1
rmoynihan asked on 26 Aug 2009, 08:15 AM
Hi,

I am using the RadComboBox and the related combo as implemented in this example http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx

My test application is here http://www.methaq.ae/brokers/Web_Motor/Default.aspx

To test it pick  a car make and model and click 'Get Quotation'.

This causes a postback and then notice the model combo is blank and empty.

It worked fine until I wrapped panel containing the controls in a RadAjaxPanel which is updated when the 'Get Quotation' is clicked.
This causes the second combo Vehicle Model to reset to blank.

Do I need to do something additional when in a RadAjaxPanel.

Thanks,

Roann






4 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 27 Aug 2009, 01:58 PM
Hi Roann,

Could you please set EnableLoadOnDemand property of Vehicle Model to true and let us know how it goes?

Best wishes,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
rmoynihan
Top achievements
Rank 1
answered on 28 Aug 2009, 03:54 PM
Hi Yana,

I am doing it all server side now. If I can get time I will change it back and let you know.

Thanks,

Ronan
0
Mr. Plinko
Top achievements
Rank 1
answered on 01 Sep 2009, 06:19 PM
Wait, couldn't you just link the ComboBox1 (or Button) to ComboBox2 with the RadAjaxManager? Wouldn't that be simpler than using the ajax panel?


0
Helen
Telerik team
answered on 02 Sep 2009, 08:54 AM
Hi Roann,

You have two options here:

1.Wrap everything in AjaxPanel and not use the AjaxManager.
2. Update separate controls with AjaxManager and not use the AjaxPanel.

Probably you will find helpful the following help topic:
http://www.telerik.com/help/aspnet-ajax/ajxcontrolsinajaxpanelandajaxsettings.html


Sincerely yours,
Helen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
rmoynihan
Top achievements
Rank 1
Answers by
Yana
Telerik team
rmoynihan
Top achievements
Rank 1
Mr. Plinko
Top achievements
Rank 1
Helen
Telerik team
Share this question
or