This is a migrated thread and some comments may be shown as answers.

AjaxRequest for UserControl in ajaxManager

1 Answer 84 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
DaveL
Top achievements
Rank 1
DaveL asked on 22 Oct 2008, 08:22 PM
Hello,

I have an AjaxManager I have added a user control that contains a grid in it's settings.

Everything works as expected when I want to refresh the grid.  But Now I have a problem.  The grid and it's buttons are now ajaxified that's not really a bad thing but I would need a way to know when the AjaxRequest starts and ends for it's buttons.  It does not use the one from the AjaxManager.

Is there a way to do that?

(more specificaly in that case it's the delete button in a grid)
<telerik:GridButtonColumn CommandName="Delete" Text="~Delete" UniqueName="DeleteColumn" ItemStyle-Width="10px" ConfirmText="" ButtonType="ImageButton" HeaderButtonType="PushButton" meta:resourcekey="GridButtonColumn">
            </telerik:GridButtonColumn>

Thank you.

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 23 Oct 2008, 10:59 AM
Hello DaveL,

You can handle the RadAjaxManager events (server or client) as shown in the following help topics:
http://www.telerik.com/help/aspnet-ajax/ajxajaxmanager.html
http://www.telerik.com/help/aspnet-ajax/ajax-manager-proxy.html

However, if you need to perform additional actions when the delete button is clicked, I suggest that you handle the DeleteCommand event the grid:
http://www.telerik.com/help/aspnet-ajax/grdhowtodeletearecord.html

Sincerely yours,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
DaveL
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or