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

How to simulation OnSelectedIndexChanged WITHOUT a postback

6 Answers 168 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sarah
Top achievements
Rank 1
Sarah asked on 15 Apr 2008, 02:23 PM
So - I understand that this version of RadControls requires AutoPostback to be set to true in order to fire OnSelectedIndexChanged.  However, this isn't always what you want.  With a 'regular' dropdown control, you might have multiple controls on a page and a save button.  The dropdown controls could have Autopostback set to false, but when the save button caused a postback - the OnSelectedIndexChanged events would fire.

What is the suggested way to simulate this behavior with RadCombo?  It isn't always practical to cause a full postback on each change of a RadCombo control.  But you obviously need to know that a change has occured when you ultimately do postback.

Thanks

6 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 16 Apr 2008, 03:26 PM
Hello Sarah,

This problem is already fixed in our latest build. Please find it attached. The fix is also included in Q1 2008 release launched earlier today.

Best wishes,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
kith
Top achievements
Rank 1
answered on 18 Sep 2008, 09:52 AM
Hi,

I am evaluating version Q1.

I want to use OnSelectedIndexChanged to trigger a server-side query without using a postback. Is this possible?

Any suggestions is appreciated :)

Thanks!
0
Rosi
Telerik team
answered on 18 Sep 2008, 12:28 PM
Hi Kith,

I suggest you place the RadComboBox inside RadAjaxPanel.

Regards,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
kith
Top achievements
Rank 1
answered on 19 Sep 2008, 02:29 AM
Hi Rosi,

Thanks for the reply. I did use RadAjaxPanel, but I'm afraid it's not working on IE (especially IE6). Maybe it has some errors on javascript. I also tried the sample on the link the you gave me on IE: http://demos.telerik.com/aspnet/prometheus/Ajax/Examples/Panel/FirstLook/DefaultCS.aspx
and it pops up an error as well.

Do you know why is this so?

--
Kith

0
Rosi
Telerik team
answered on 19 Sep 2008, 07:42 AM
Hello Kith,

It works as expected at our side. Could you please provide more details about the error and steps to reproduce it? Also, could you please send us the complete version of the browser that you use?


Kind regards,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
kith
Top achievements
Rank 1
answered on 20 Sep 2008, 01:43 AM
Hi,

I'm getting "The download of the specified resource has failed" error. I'm using Multiple IEs and not the real IE6. Could it be the reason?

By the way, it works fine on IE7 now.

--
Kith
Tags
ComboBox
Asked by
Sarah
Top achievements
Rank 1
Answers by
Rosi
Telerik team
kith
Top achievements
Rank 1
Share this question
or