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

return javascript functions in Ajaxmanager

1 Answer 60 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Tiju
Top achievements
Rank 1
Tiju asked on 24 Sep 2010, 01:51 PM

Hi

I am using Ajaxmanage manger in my page .Below is the code
 

<telerik:RadAjaxManager runat="server">
 <ajaxsettings>
<telerik:AjaxSetting AjaxControlID="btnContact">
 <updatedcontrols>
 <telerik:AjaxUpdatedControl ControlID="pnlContact" UpdatePanelHeight="" />
</updatedcontrols>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnDelete">
<updatedcontrols>
 <telerik:AjaxUpdatedControl ControlID="btnDelete" UpdatePanelHeight="" />
<telerik:AjaxUpdatedControl ControlID="dgvContactList" UpdatePanelHeight="" />
</updatedcontrols>
</telerik:AjaxSetting>
</ajaxsettings>
</telerik:RadAjaxManager>

btnDelete has an OnClientClik function .it does not firing. btnDelete  is inside the pnlContact panel.

<asp:Button ID="btnDelete" runat="server" CausesValidation="False" CssClass="sbttn"
TabIndex="19" Text="Delete" OnClientClick="return JF_ConfirmDelete('dgvContactList','hidContactRowCount');"
OnClick="btnDelete_Click" />

How can i call   JF_ConfirmDelete function in OnClientClick. Please provide a solution as soon as possible

Thanks

.

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 27 Sep 2010, 04:12 PM
Hello Tiju,

Please refer to the following help topic which elaborates on executing JavaScript after Ajax request. I hope this helps

Kind regards,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
Tiju
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or