I have two RadComboBoxes on my page that I can not reset. Below is their definition and the code behind I am using to reset them. I have two other RadComboboxes on that same page that I CAN reset. The main difference is that the two I can not reset are "LoadOnDemand". I've searched the forums and found a few people with the same problems, but I don't see an answer that works yet.
See attached image for example...
Help?
Thanks
Mark
HTML:
Code Behind(on a Button Click):
See attached image for example...
Help?
Thanks
Mark
HTML:
<
telerik:RadComboBox
ID
=
"cboAgencies"
runat
=
"server"
EmptyMessage="Type to
Search..."<BR>
EnableAutomaticLoadOnDemand="true" EnableVirtualScrolling="true"
ItemsPerRequest="100"<
BR
>
AutoPostBack="true" MarkFirstMatch="True" Skin="WebBlue" Width="205px"
OnSelectedIndexChanged="cboAgencies_SelectedIndexChanged"><
BR
>
<
WebServiceSettings
Method
=
"GetAgencies"
Path
=
"Talent.aspx"
/><
BR
>
</
telerik:RadComboBox
><
BR
><
BR
> <
telerik:RadComboBox
ID
=
"cboAgents"
runat
=
"server"
EmptyMessage="Type to
Search..."<BR>
EnableAutomaticLoadOnDemand="true" EnableVirtualScrolling="true"
ItemsPerRequest="100"<
BR
>
MarkFirstMatch="True" Skin="WebBlue" Width="205px" AutoPostBack="true"
OnSelectedIndexChanged="cboAgents_SelectedIndexChanged"><
BR
>
<
WebServiceSettings
Method
=
"GetAgents"
Path
=
"Talent.aspx"
/><
BR
>
</
telerik:RadComboBox
><
BR
>
Code Behind(on a Button Click):
<P>cboAgencies.Text =
null
;
//Also tried
""
<BR>cboAgencies.SelectedValue =
null
;<BR>cboAgencies.ClearSelection();</P>
<P><BR>cboAgents.Text =
null
;<BR>cboAgents.SelectedValue =
null
;<BR>cboAgents.ClearSelection();</P>