Hello,
Is it possible to maintain radcombobox selectedvalue on postback if items are being added by calling requestitems on clientside? because i've seen the adding, removing items client side functionality and i was wondering if it is possible to track changes made on callback..
Is it possible to maintain radcombobox selectedvalue on postback if items are being added by calling requestitems on clientside? because i've seen the adding, removing items client side functionality and i was wondering if it is possible to track changes made on callback..
4 Answers, 1 is accepted
0

Princy
Top achievements
Rank 2
answered on 24 Apr 2008, 12:09 PM
Hi David,
Go through the following forum link which discusses a similar scenario.
Selected Value not available in postback when loaded from client side RequestItems
Thanks
Princy.
Go through the following forum link which discusses a similar scenario.
Selected Value not available in postback when loaded from client side RequestItems
Thanks
Princy.
0
Hi David ,
You can access SelectedValue of RadComboBox after postback like this:
RadComboBox1.SelectedValue
This will work even if the items are added on client side.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You can access SelectedValue of RadComboBox after postback like this:
RadComboBox1.SelectedValue
This will work even if the items are added on client side.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

David
Top achievements
Rank 1
answered on 27 Apr 2008, 05:59 PM
Alright thank you :)
Still, i am not being able to get the radcombobox ( it returns null on $find ) on clientside.. weird behavior.. since i am able to get it debugging with microsoft script debugger.. i am doing it this way:
Still, i am not being able to get the radcombobox ( it returns null on $find ) on clientside.. weird behavior.. since i am able to get it debugging with microsoft script debugger.. i am doing it this way:
<
telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<
script language="javascript" type="text/javascript">
var
municipalityCombo = $find("<%= fIDWebMunicipality.ClientID %>");
</
script>
</
telerik:RadCodeBlock>
0
Hello David,
Instantly find answers to your questions at the new Telerik Support Center
RadCodeBlock and RadScriptBlock are used to allow server and client script to work well together with AJAX updates. I suggest you put the following code afer RadComboBox definition.
<script type=text/javascript>
function pageLoad()
{
var combo = $find("<%= fIDWebMunicipality.ClientID %>");
}
</script>
If this does not help you, please open a support ticket and send us a simple running project.
Regards,
Rosi
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center