return javascript functions in Ajaxmanager

2 posts, 0 answers
  1. Tiju
    Tiju avatar
    8 posts
    Member since:
    Sep 2010

    Posted 24 Sep 2010 Link to this post

    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

    .

     

     

     

     

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 27 Sep 2010 Link to this post

    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
Back to Top