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

problem with commanditem template

1 Answer 26 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ambuj
Top achievements
Rank 1
Ambuj asked on 04 Aug 2010, 01:08 PM
Hi,

Please answer the question against the below link(First grid)
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/commanditem/defaultcs.aspx
Please suggest way to approach the problem.

I have a similar grid which shows the resources informations,when I select the resource
and click on the delete selected button,It should show the pop up,Pop up will contain one
calender control and a submit button.

once we select some date and click on Submit in pop up,the grid should delete the resource and refresh.

Please suggest how can i do that.

-Ambuj

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 09 Aug 2010, 08:41 AM
Hi Ambuj,

When the user press the delete button you could open a window with loaded aspx page into it. This page could contains the calendar control and submit button. Please check out the following online demo which demonstrates the described approach:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window
When the user presses the Submit button you could fire command from javascript and delete row on the server.
Also please check out the following online example which demonstrates how to return values from window:
http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx

Please give it try and let me know if you experience any problems.

All the best,
Radoslav
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
Grid
Asked by
Ambuj
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or