radajaxmanager

Handle multiple delete events from grid with single events handlers asp.net

孤人 提交于 2019-12-29 09:21:20
问题 I have two grid which contains delete button and I am using RadAjaxManager which will fire ajax request from client side to server side OnajaxRequest which contain event handlers and that event handler will call my delete event like below: <telerik:RadAjaxManager ID="RadAjaxManager2" runat="server" meta:resourcekey="RadAjaxManager1Resource1" OnAjaxRequest="RadAjaxManager2_AjaxRequest"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadAjaxManager2"> <UpdatedControls> <telerik

Using telerik's RadAjaxManager with nested ASCX controls

孤人 提交于 2019-12-11 07:51:41
问题 I want to use telerik's RadAjaxManager with nested ASCX controls I have the following setup: Page ascx1 ascx2 ascx2 is nested in ascx1 which is in Page. I have a RadAjaxManager on 'Page'. From a control in ascx2, I invoke a javascript method which calls ajax.ajaxRequest(arguments); The problem is that it runs protected void AjaxManager_AjaxRequest(object sender, AjaxRequestEventArgs e) in ascx1 and not the one in ascx2 -- Am I missing something? 回答1: On you child controls you should use the:

How to properly configure delete functionality with radajaxmanager with confirmation box?

落爺英雄遲暮 提交于 2019-12-11 01:44:17
问题 I am using Telerik Grid control in which i am displaying list of records along with Update and Delete functionality. Now i want to show confirmation box when deleting records so that user doesnt accidentally delete the record. So here is my approach: 1)I have one master page i.e is MyMaster.Master which contains one common client side events for confirmation box which i would be using sweetalert for that: function DeleteData(Id) { var ajaxManager = null; var action = 'Remove'; ajaxManager =

Handle multiple delete events from grid with single events handlers asp.net

a 夏天 提交于 2019-11-29 17:08:09
I have two grid which contains delete button and I am using RadAjaxManager which will fire ajax request from client side to server side OnajaxRequest which contain event handlers and that event handler will call my delete event like below: <telerik:RadAjaxManager ID="RadAjaxManager2" runat="server" meta:resourcekey="RadAjaxManager1Resource1" OnAjaxRequest="RadAjaxManager2_AjaxRequest"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadAjaxManager2"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="Grid1" /> <telerik:AjaxUpdatedControl ControlID="Grid2" /> </UpdatedControls> <