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

RadListBox not showing items when used with RadGrid

1 Answer 137 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Bogdan
Top achievements
Rank 1
Bogdan asked on 10 Jan 2011, 02:19 AM
Hi, I have a simple page with RadGrid above two RadListBox controls that are supposed to be populated with different items based on which item is selected in the grid.

No matter what techniques I try, RadListBox controls appear to be empty on the page.  I am currently trying to use simple method shown here:

http://www.telerik.com/help/aspnet-ajax/listbox-working-with-items-server-side.html

Basically manually adding an object of type RadListBoxItem directly to the RadListBox in question, but the box remains empty on the page, any tips?  Maybe grid is throwing it off in some way?  How do I refresh it?

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 10 Jan 2011, 01:19 PM
Hi Bogdan,

Is there a postback when you select a row in the Grid? If so, please wrap the Grid and two ListBoxes inside an UpdatePanel/RadAjaxPanel or add the following setting to RadAjaxManager - "Grid updates ListBox1 and ListBox2".

Greetings,
Simon
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
ListBox
Asked by
Bogdan
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or