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

Show DocNo to Delete confirm window

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
lakmal
Top achievements
Rank 2
lakmal asked on 18 Sep 2009, 04:35 PM
Hi,

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

lakmal




1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Sep 2009, 11:44 AM
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.

-Shinu.
Tags
Grid
Asked by
lakmal
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or