Show DocNo to Delete confirm window

2 posts, 0 answers
  1. lakmal
    lakmal avatar
    76 posts
    Member since:
    Jun 2009

    Posted 18 Sep 2009 Link to this post


    I want show Docno filed to delete confirm text

      <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmDialogType="RadWindow" ConfirmText="Are you sure delete this Document?"
                Text="Delete" UniqueName="column">

    How can i pass DocNo filed in confirm text. I have use BIND and Eval method. but compiler doesnt allow me to do that


  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Sep 2009 Link to this post

    Hi Lakmal,

    One suggestion would be attaching OnCommand client event to RadGrid and cancel the event. Call the RadConfirm explicitly (you can set the confirm text here), if this returns true, then call the delete function using fireCommand method.

Back to Top