In the Old version of Telerik you had the .dll file of RadCombobox.Net2.dll. And there we had a possibility of seeing the property LoadOnDemandURL as seen in the example below:
<telerik:RadComboBox ID="Systems" runat="server" AllowCustomText="true" AutoPostBack
DataTextField="Name" DataValueField="Id" DropDownWidth="360px" EnableLoadOnDemand
HighlightTemplatedItems="true" IsCaseSensitive="false" ItemRequestTimeout
MarkFirstMatch="true" OnClientDropDownClosing="showContactType();" OnClientDropDownOpening
OnClientKeyPressing="showDropDown(this);" OnClientSelectedIndexChanged
OnItemsRequested="Systems_ItemsRequested" OnSelectedIndexChanged
ShowDropDownOnTextboxClick="true" Skin="ClassicLongWidth" ToolTip="" ShowMoreResultsBox
<HeaderTemplate>
Please see the Function Below:
function insertSelectedType(sender)
{
debugger ;
var
var
var
var
var tierString = "&ContactTypes=" + $F('<%= ContactTypes.ClientID %>' );
tierString +=
"&Customers="
if(sstes !=null )
{
tierString +=
"&SSTes="
}
if(products!=null )
tierString +=
"&Products="
if(platforms!=null )
tierString +=
"&Platforms="
if (sender.LoadOnDemandUrl.indexOf(tierString) != -1)
return ;
var indexOfTiers = sender.LoadOnDemandUrl.indexOf("&ContactTypes=" )
if (indexOfTiers != -1)
{
sender.LoadOnDemandUrl = sender.LoadOnDemandUrl.substring(0,indexOfTiers);
}
sender.LoadOnDemandUrl = sender.LoadOnDemandUrl + tierString;
if ((Sys.Browser.agent === Sys.Browser.InternetExplorer) && (Sys.Browser.version < 7))
{
$(
'<%= LogicalUnits.ClientID %>').style.visibility = 'hidden' ;
$(
'<%= Severities.ClientID %>').style.visibility = 'hidden' ;
$(
'<%= Urgencies.ClientID %>').style.visibility = 'hidden' ;
}
}
As you can see there was a possibility of setting a new LoadonDemandURL.
I tried to do the same in Telerik.Web.UI, Version 2010.2.817.40
But I don't have over there this property.
I wanted first of all to ask if you have any other function which can help me to make what is described below.
If I make LoadOndeMand = true for some combobox it won't be able to see the value of other combos which were loaded in the same way with AutoPostBack = false.
With LoadOnDemandURL I could set the new URL and receive the values by request.querystring.
Wait for your reply.
Thanks.