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

Best Way to View/Edit Huge Queries

3 Answers 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 27 Jan 2009, 03:47 PM
I probably should have entered a subject of "How to use same User Control in NestedView AND Edit Form"....

I see this sample here of how to use a User Control for editing: UserControls As Edit Form

But I want the record to be viewed in a non-edit mode using the grids NestedView, is this possible?  Do I jsut have to put two different DataSources on the page one for edit and one for nested view?

I have a UserControl which has a datasource that contains multiple joins containing over 100 columns.  I want to use this as a "viewer" for the grid record that is clicked, as well as the grids edit and insert template.

Any ideas?

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 30 Jan 2009, 09:34 AM
Hi Shawn,

Is using a separate column in the grid which displays the WebUserControl custom edit form in read-only mode a feasible solution for your case? If so, review the implementation from the following topic in the RadGrid documentation for more details:

http://www.telerik.com/help/aspnet-ajax/grdpreviewoptionforwebusercontroleditform.html

Additionally, you may need to optimize your SQL query at database level in order to reduce the time consumed to execute it and display the returned data in the grid.  Moreover, in case you display many column editors that allow filtered input, consider utilizing our RadInputManager control as illustrated here:

http://demos.telerik.com/aspnet-ajax/input/examples/radinputmanager/dynamicinputfiltersettings/defaultcs.aspx

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Shawn
Top achievements
Rank 1
answered on 30 Jan 2009, 05:55 PM
The RadInputManager is EXACTLY what i was looking for but I don't have that control - I imported the Telerik.Web.UI namespace and it doesn't work.  It is telling me that it is an unknown element - is this something new?
0
Accepted
Sebastian
Telerik team
answered on 02 Feb 2009, 09:42 AM

Hi Shawn,

RadInputManager has been included in our RadInput bundle since version 2008.3.1105 (Q3 2008) of RadControls for ASP.NET AJAX. Please verify that you are using at least this release of the suite (or the latest SP2 2008.3.1314) and the input manager should be recognized in Visual Studio as expected.

Kind regards,

Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Shawn
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Shawn
Top achievements
Rank 1
Share this question
or