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
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