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

Equivalent of RadGrid.OnNeedDataSource for RadComboBox?

4 Answers 150 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 23 Nov 2010, 09:31 PM
Hi all,

I think the answer to this is no, but, I just wanted to double check, since it's a useful feature that RadGrid has. With RadGrid you can handle the OnNeedDataSource event to do a query to get the list of items for the grid. However, RadComboBox doesn't have this event. I'm wondering if there is an equivalent event, or, why RadComboBox doesn't have that event? Right now, I'm just setting the DataSource in the page's Page_Load event (with !IsPostBack).

I'm using Entity Framework and have been using a mix of EntityDataSources using ESQL as well as some LINQ to Entities code in the code behind files. It would be nice to do the queries in a consistent fasion. Using an EntityDataSource has some benefits, but, so does LINQ, for example, everything is strongly typed and compiler checked.

Jon

4 Answers, 1 is accepted

Sort by
0
Jon
Top achievements
Rank 1
answered on 23 Nov 2010, 09:53 PM
Actually, it looks like the DataBinding event is what I was looking for. It seems to work. I think what confused me was the fact that the tree view in the documentation on the web site doesn't list all the events when you look at the documentation for the RadComboBox class. It would be great if there was a .chm file for the documentation like there is for the Extensions for ASP.NET MVC. The documentation on the web site is difficult to use because the page is very long and you have to scroll a lot and it's slow.
0
Yana
Telerik team
answered on 29 Nov 2010, 11:21 AM
Hi Jon,

The documentation is installed together with the controls, also you can download the chm files from your account.

All the best,
Yana
the Telerik team
Browse the vast support resources we have to jumpstart 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.
0
Jon
Top achievements
Rank 1
answered on 29 Nov 2010, 04:23 PM
Thanks. I just checked my RadControls installation directory and found that there is no .chm file installed. There are however .hxs files in the Documentation directory. However, I'm guessing those would be for use with Visual Studio 2008. Microsoft seemed to get rid of their help file viewer and move to HTML based help files in 2010. So, you're saying there is a separate download link to get the help files in .chm format? Can you tell me what the link is to the download?
0
Yana
Telerik team
answered on 29 Nov 2010, 04:58 PM
Hi Jon,

You can open the help from your Start Menu -> Programs -> Telerik -> RadControls for ASP.NET AJAX [version] ->  RadControls for ASP.NET AJAX [version] Documentation.

If this doesn't help, the chm files can be downloaded from here - Documentation link.

Kind regards,
Yana
the Telerik team
Browse the vast support resources we have to jumpstart 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
ComboBox
Asked by
Jon
Top achievements
Rank 1
Answers by
Jon
Top achievements
Rank 1
Yana
Telerik team
Share this question
or