Hi,
First i'm sorry for my bad english, I'm not really good. But I will try to explain my problem for you can understand.
In the project, we have a RadComboBox who get data by a ItemRequest. This comboBox serve for select a Person who are view in DataList
<
telerik:RadComboBox
ID
=
"radPersonCombo"
runat
=
"server"
Width
=
"400"
DropDownWidth
=
"700"
Height
=
"300"
AccessibilityMode
=
"true"
AutoPostBack
=
"false"
EnableScreenBoundaryDetection
=
"true"
EnableVirtualScrolling
=
"true"
ItemsPerRequest
=
"10"
ShowMoreResultsBox
=
"true"
EnableLoadOnDemand
=
"true"
OnItemsRequested
=
"radPersonCombo_ItemsRequested"
CheckBoxes
=
"true"
CheckedItemsTexts
=
"FitInInput"
>
<
HeaderTemplate
>
<
table
style
=
"width: 682px"
cellspacing
=
"0"
>
<
tr
>
<
th
style
=
"width: 32px"
></
th
>
<
th
style
=
"width: 125px"
><
asp:label
ID
=
"radTitleLN"
runat
=
"server"
><%= LocalizationTools.RM.GetString("lblName") %></
asp:label
></
th
>
{...}
</
tr
>
</
table
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
table
style
=
"width: 682px"
cellspacing
=
"0"
>
<
tr
>
<
td
style
=
"width: 32px"
></
td
>
<
td
style
=
"width: 125px"
><%# DataBinder.Eval(Container, "Attributes['LastName']")%></
td
>
{...}
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:RadComboBox
>
<asp:datalist id="dtlPerson" runat="server"> {...} </asp:datalist>
That comboBox can have more 1000 DataItem. For this reason we use EnableLoadOnDemand, but the EnabledLoadOnDemand don't preserve item server-side.
When I check the elements and I close the ComboBox. If AutoPostBack option is True.
I get the error:
Index was out of range. It must not be negative and must be less than the size of the collection.
Parameter name: index
I tried using the following example. However, this example remains the client side. And when I try to spent AjaxRequest to call the Fill methods that data DataList. Nothing displays.
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/templates/defaultvb.aspx
Otherwise these is possible to align the check box in the center of the element? Since it is not included in my Template. (See Image CheckBoxMiddleAlign)
The desired final result should be like the image finalResult attached.