Hi,
I do have one RadCombobox and one Radgrid in my page separately. Depends upon the combo box selection the radgrid record will change. It is working fine now. But if I click the Insert option in radgrid, it show the input text fields and all other control, in that time I changed the combo box, the event is not get firing. May I know why? But the selection changed event firing, when I am in the editable mode in the radgrid.
Thanks
I do have one RadCombobox and one Radgrid in my page separately. Depends upon the combo box selection the radgrid record will change. It is working fine now. But if I click the Insert option in radgrid, it show the input text fields and all other control, in that time I changed the combo box, the event is not get firing. May I know why? But the selection changed event firing, when I am in the editable mode in the radgrid.
Thanks
5 Answers, 1 is accepted
0
Accepted
Jayesh Goyani
Top achievements
Rank 2
answered on 14 Aug 2012, 08:14 AM
Hello,
Please try with below code snippet.
If above code is not working for you then please provide error detail or code.
Thanks,
Jayesh Goyani
Please try with below code snippet.
<
telerik:RadComboBox
CausesValidation
=
"false"
></
telerik:RadComboBox
>
If above code is not working for you then please provide error detail or code.
Thanks,
Jayesh Goyani
0
Ananth
Top achievements
Rank 1
answered on 14 Aug 2012, 09:05 AM
Hi,
Thanks it's working
Thanks it's working
0
Rohan
Top achievements
Rank 1
answered on 21 Nov 2012, 01:59 PM
Hi all ,
I have following scenario - i have one user control with radwndow and radgrid. i want to get the selected value of rad grid on selected index changed event of rad grid and close the rad window , and selected value updated form user control to page control using the event delegate .... this scenario working with me but problem is after the firing the selected index event other operation of rad grid is not working such as grouping .....
this is my event
protected void grdDataListView_SelectedIndexChanged(object sender, EventArgs e)
{
try
{
ResultSet = new ArrayList();
GridDataItem item = (GridDataItem)_grdDataListView.SelectedItems[0];
SearchedValueField = item.GetDataKeyValue(SearchDataValue).ToString();
string name = item[SearchDataText].Text;
ResultSet.Add(name);
SearchedDataTextField = name;
ScriptManager.RegisterStartupScript(this.Page, typeof(Page), "key", "CloseWindow('" + radwindow.ClientID + "');", true);
GrdDataListResultSet();// this is my delegate ..
}
catch (Exception _error)
{
Exceptions.ProcessModuleLoadException(this, _error);
}
}
after removing the delegate it works... then how can i retrieve user control values to page ......
I have following scenario - i have one user control with radwndow and radgrid. i want to get the selected value of rad grid on selected index changed event of rad grid and close the rad window , and selected value updated form user control to page control using the event delegate .... this scenario working with me but problem is after the firing the selected index event other operation of rad grid is not working such as grouping .....
this is my event
protected void grdDataListView_SelectedIndexChanged(object sender, EventArgs e)
{
try
{
ResultSet = new ArrayList();
GridDataItem item = (GridDataItem)_grdDataListView.SelectedItems[0];
SearchedValueField = item.GetDataKeyValue(SearchDataValue).ToString();
string name = item[SearchDataText].Text;
ResultSet.Add(name);
SearchedDataTextField = name;
ScriptManager.RegisterStartupScript(this.Page, typeof(Page), "key", "CloseWindow('" + radwindow.ClientID + "');", true);
GrdDataListResultSet();// this is my delegate ..
}
catch (Exception _error)
{
Exceptions.ProcessModuleLoadException(this, _error);
}
}
after removing the delegate it works... then how can i retrieve user control values to page ......
0
Hello Rohan,
Is the problem happens without closing the window? Is there any difference in the grid's events if you remove the following line:
In case there is JavaScript error on your page, the grid's grouping buttons will not work. Handling the SelectedIndexChanged event itself could not cause such issue, and I do not see any problematic part of your code, so check your custom JavaScript for any potential error.
Also make sure the script debugging in your browser is enabled and that you see if any error appears.
All the best,
Vasil
the Telerik team
Is the problem happens without closing the window? Is there any difference in the grid's events if you remove the following line:
ScriptManager.RegisterStartupScript(
this
.Page,
typeof
(Page),
"key"
,
"CloseWindow('"
+ radwindow.ClientID +
"');"
,
true
);
In case there is JavaScript error on your page, the grid's grouping buttons will not work. Handling the SelectedIndexChanged event itself could not cause such issue, and I do not see any problematic part of your code, so check your custom JavaScript for any potential error.
Also make sure the script debugging in your browser is enabled and that you see if any error appears.
All the best,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Madhu
Top achievements
Rank 1
answered on 17 Aug 2016, 06:37 PM
Thanks. Helped me too even after 6 years of your answer!