Hi,
What I'm trying to do is programatically create anywhere from 5-15 comboboxes on a page (number will vary based on user information). While this part is easy enough, I also have need to make them related. If I were dropping the control on the page, I'd be using the OnItemsRequested method, but since I'm doing this programmatically and the method is Protected, I'm stuck.
What I'm trying to do is programatically create anywhere from 5-15 comboboxes on a page (number will vary based on user information). While this part is easy enough, I also have need to make them related. If I were dropping the control on the page, I'd be using the OnItemsRequested method, but since I'm doing this programmatically and the method is Protected, I'm stuck.
Here's what I've attempted:
| Dim cmbo As New RadComboBox |
| cmbo.ID = "cmboTest" |
| cmbo.OnClientItemsRequested = "" 'Telerik.Web.UI.RadComboBox.Protected Overrideable Sub OnItemsRequested(...) is not accessible in this context because it is Protected. |
| cmbo.EnableLoadOnDemand = True |
| cmbo.DataSource = GetValues("Test") |
| cmbo.DataBind() |