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

RadGrid: Opening RadWindow from CommandItemTemplate LinkButton

1 Answer 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Xavi
Top achievements
Rank 1
Xavi asked on 04 Feb 2014, 04:21 PM
Hello, 

I would like a button "Create ..." RadWindow as a CommandItemTemplate on top. When the user clicks the button, I'd like to open a RadWindow as a dialog to ask the user what kind of "Create" wants to perform (Create1, Create2, Create3, ...). Is it possible to generate different CommandNames based on the response of RadWindow. How can this be achieved? Of course, you could create N different as CommandItemTemplate buttons, each with a different CommandName, but I prefer to show the dialog. I would appreciate any suggestions. 

thank you very much



1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 07 Feb 2014, 08:41 AM
Hello Xavi,

You can use the client side events of the window and use the following method to fire custom commands and handle them on the server during the ItemCommand event handler:
http://www.telerik.com/help/aspnet-ajax/grid-gridtableview-firecommand.html

Hope this helps. Please give it a try and let me know if it works for you.

Regards,
Eyup
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Xavi
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or