5 Answers, 1 is accepted

You can clear the RadComboBox on OnRowClick event.Try setting the following markup and Javascript.
aspx:
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
>
<
ClientSettings
>
<
ClientEvents
OnRowClick
=
"OnRowClick"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
<script type=
"text/javascript"
>
function
OnRowClick(sender, args)
{
var
combo = args.get_gridDataItem().findControl(
"RadComboBox1"
);
combo.clearSelection();
}
</script>
Thanks,
Shinu.

I've made the code change to use the radcombobox's OnClientFocus event....although I'm getting Microsoft JScript runtime error: Object doesn't support this property or method
My objective is to clear the Radcombobox's selection......upon focus - so that the itemrequest will run on the server side and return a full drop down list.
<
script language="javascript" type="text/javascript">
function Area_OnClientFocus(sender, args)
{var combo = args.get_gridDataItem().findControl("RadComboBoxArea");
combo.clearSelect();
}
</
script>
<telerik:GridTemplateColumn UniqueName="AreaName" HeaderText="Area"
SortExpression="AreaName" ItemStyle-Width="150px" DataField="_AreaName"
AndCurrentFilterFunction="Contains">
<FooterTemplate>
Template footer
</FooterTemplate>
<FooterStyle VerticalAlign="Middle" HorizontalAlign="Center" />
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem, "_AreaName")%>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox runat="server" ID="RadComboBoxArea"
EnableLoadOnDemand="True" DataTextField="AreaName"
OnItemsRequested="RadComboBoxArea_ItemsRequested" DataValueField="ID" AutoPostBack="true"
HighlightTemplatedItems="true" Height="140px" Width="100px" DropDownWidth="200px"
OnSelectedIndexChanged="ComboBox1_OnSelectedIndexChangedHandler"
onclientfocus="Area_OnClientFocus">
<ItemTemplate>
<%# DataBinder.Eval(Container, "Text")%>
</ItemTemplate>
</telerik:RadComboBox>
</EditItemTemplate>
<HeaderStyle Width="150px" />
<ItemStyle Width="150px"></ItemStyle>
</telerik:GridTemplateColumn>
You should use the:
combo.clearSelection();
instead of:
combo.clearSelect();
If it doesn't help, could you please open a support ticket and send is a sample project which demonstrates the issue to examine it locally?
Regards,
Helen
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

I was having some problem locating the subject as well. I received the following error
Microsoft JScript runtime error: Object doesn't support this property or method...on the line
var combo = eventArgs.get_gridDataItem().findControl("RadComboBoxArea");
<script type="text/javascript">
function OnClientDropDownOpening(sender, eventArgs)
{
alert(
"test");
var combo = eventArgs.get_gridDataItem().findControl("RadComboBoxArea");
combo.clearSelection();
}
</script>
The OnClientDropDownOpening eventArgs object does not have reference to gridDataItem object.
Please try to get the RadComboBox object and clear the selection with this code:
<script type=
"text/javascript"
>
function
OnClientDropDownOpening(sender, eventArgs) {
sender.clearSelection();
}
</script>
Greetings,
Kalina
the Telerik team