Hi Telerik team,
I could need some help on this. I have a RadGrid with detail tables. When an item in the mastertable is clicked, some controls are updated via the Ajaxmanager. But if an item in the detail table is clicked (and also when the detail table is expanding) the controls are updated too. But I don't want that, I only want the controls to be updated when a mastertable item is selected on a row click. How can I do this?
I read and tried several things in your documentation but so far I'm getting nowhere.
Thanks!
Geert
I could need some help on this. I have a RadGrid with detail tables. When an item in the mastertable is clicked, some controls are updated via the Ajaxmanager. But if an item in the detail table is clicked (and also when the detail table is expanding) the controls are updated too. But I don't want that, I only want the controls to be updated when a mastertable item is selected on a row click. How can I do this?
I read and tried several things in your documentation but so far I'm getting nowhere.
Thanks!
Geert
4 Answers, 1 is accepted
0
Hello Geejay,
Please find the attached website and let me know whether this approach suits your needs.
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Please find the attached website and let me know whether this approach suits your needs.
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Geejay
Top achievements
Rank 1
answered on 19 Dec 2008, 09:37 AM
Hello Daniel,
thank you very much for the example! It's what I want and I never imagined it could be that simple.
However, I have another question, which maybe can be answered just as simple? When I click on a row a loadingpanel appears on the grid AND on the panel which is being updated. Hoewever, this also occurs when I expand the detailstable and when I click on the edit/delete buttons in the detailstable. Can I prevent showing the loadingpanel above the Controlspanel when expanding and clicking on the edit/delete buttons in the detailstabel?
Best wishes,
Geert
thank you very much for the example! It's what I want and I never imagined it could be that simple.
However, I have another question, which maybe can be answered just as simple? When I click on a row a loadingpanel appears on the grid AND on the panel which is being updated. Hoewever, this also occurs when I expand the detailstable and when I click on the edit/delete buttons in the detailstable. Can I prevent showing the loadingpanel above the Controlspanel when expanding and clicking on the edit/delete buttons in the detailstabel?
Best wishes,
Geert
0

Geejay
Top achievements
Rank 1
answered on 19 Dec 2008, 10:08 AM
Hello Daniel,
ignore my question, I already found it. Only clicking in the MasterTable shows the loadingpanel:
ignore my question, I already found it. Only clicking in the MasterTable shows the loadingpanel:
var
index = args.get_itemIndexHierarchical();
if (index.indexOf('_') == -1)
var loadingPanel = $find('<%=RadAjaxLoadingPanel1.ClientID %>');
loadingPanel.show(
'<%=RadMultiPage2.ClientID %>');
$find(
'<%=RadAjaxManager1.ClientID %>').ajaxRequestWithTarget('<%=grdGroepsplannen.UniqueID %>', "RowClick;" + index);
}
And via the OnResponseEnd event of the Ajaxmanager it hides the loadingPanel:
function RequestEnd()
{
var loadingPanel = $find('<%=RadAjaxLoadingPanel1.ClientID %>');
loadingPanel.hide(
'<%=RadMultiPage2.ClientID %>');
}
Best Wishes,
Geert
0
Accepted
Hello Geejay,
Thank you for sharing your code with us. I believe it will be helpful for our community.
Keep up the good work.
Kind regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for sharing your code with us. I believe it will be helpful for our community.
Keep up the good work.
Kind regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.