<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="250px" Height="150px"
EmptyMessage="Select a Company" EnableLoadOnDemand="True" ShowMoreResultsBox="true"
EnableVirtualScrolling="true" OnItemsRequested="RadComboBox1_ItemsRequested">
</telerik:RadComboBox>
protected void RadComboBox1_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
{
DataTable data = GetData(e.Text);
int itemOffset = e.NumberOfItems;
int endOffset = Math.Min(itemOffset + ItemsPerRequest, data.Rows.Count);
e.EndOfItems = endOffset == data.Rows.Count;
for (int i = itemOffset; i < endOffset; i++)
{
RadComboBox1.Items.Add(
new RadComboBoxItem(data.Rows[i]["CompanyName"].ToString(), data.Rows[i]["CompanyName"].ToString()));
}
e.Message = GetStatusMessage(endOffset, data.Rows.Count);
}
| Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender |
| Dim l As Label = RadGrid1.MasterTableView.GetItems(GridItemType.CommandItem)(0).FindControl("lblSomeLabel") |
| l.Text = "some text" |
| End Sub |
I have a strange situation. I run 2009 Q1, on XP-pro dev box with VS2008. I tried to run designer DLL from bin and from GAC and have the same result. The runtime is perfect but the designers crashed if I use not auto-generated columns. If I have my custom columns then change of any grid property via designer replaces the tag:
<telerik:GridBoundColumn> ( works fine)
With tag:
<Telerik.Web.UI.GridBoundColumn> ( dose not work)
With designer error message that the GridColumnsCollection can't find the items of type Telerik.Web.UI.GridBoundColumn.
Would you please advise where this comes from?
The problem began when I converted my trail version into the fully licensed version. I did follow all instruction how to do it, in fact I did it multiple times, including a complete uninstall all Telerik components and install the new licensed package.
Thank you.