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

[Solved] Display RadWindow after ItemsRequested Event

3 Answers 110 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
samer
Top achievements
Rank 1
samer asked on 26 May 2008, 03:31 AM
Hi,
Im trying to display RadWindow after the ItemsRequested Event fires for a RadComboBox. If no items found to load, or an exception thrown while loading the data, a RadWindow will apear with an error message. However the RadWindow won't show. I tried to display the RadWindow after SelectedIndex_Changed event fires and it did display, so why its not working for the ItemsRequested Event.

Appreciate your help.
Samer Saleh

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 26 May 2008, 03:46 PM
Hello samer,

You can try by subscribing to the OnClientItemsRequested event and call radopen("MyPage.aspx") there. What is the approach you are currently using?

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
samer
Top achievements
Rank 1
answered on 26 May 2008, 05:27 PM
Thanks Albert,

My approach is simple. I have RadComboBox that is getting populated OnDemand from the database, so Im using the server side ItemsRequested Event for that. I'm not sure how I can incorperate the OnClientItemsRequested event besides that so I cand display RadWindow if the database loading process errored. Can you explain it more ?
Thanks Alot
Samer
0
Veselin Vasilev
Telerik team
answered on 28 May 2008, 12:38 PM
Hello samer,

I suggest that you subscribe to the OnClientItemsRequestFailed event.

I have attached a small test page demonstrating how it works. Please download it and give it a try.

I hope this helps.

All the best,
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
samer
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
samer
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or