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

[Solved] A few questions about your RadGrid popup demo

2 Answers 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 16 Apr 2013, 03:18 PM
I'm looking at your popup example at http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

I would like to implement a simple popup in this fashion.  As usual I'm not sure I completely understand it.

First of all, is this up to date?  (The link to the knowledge base article is dead and I was wondering about your use of a conventional asp.net DetailsView.)

Second, I'm not sure I understand the code in EditFormcs.aspx.cs.  I'm going to be using LinqToSQL, not a SQL Data Source.  Would putting the update call in the ItemCommand work as well?


2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 19 Apr 2013, 08:09 AM
Hello Boris,

Find the help article below which elaborates on this scenario.
http://www.telerik.com/help/aspnet-ajax/grid-window-editing.html

Using LinqToSql should not make any difference and the updating logic will work the same way. Test the approach on your end and let us know if you are facing any issues to implement it per your requirements.

Greetings,
Maria Ilieva
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Boris
Top achievements
Rank 1
answered on 29 Apr 2013, 06:46 PM
I should also mention that it's been a long time since I've used the DetailsView control and I'm not sure it's suitable for this application.  I have an extremely complex form template that I'm trying to convert.

Correct me if I'm wrong but what I'm tempted to do is remove the DetailsView from the popup, put in my usual controls, and wire up a button to my update command.  (Or is this a dead end?)
Tags
Grid
Asked by
Boris
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Boris
Top achievements
Rank 1
Share this question
or