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

[Solved] Best way to resolve following server editing scenario?

0 Answers 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gaurav
Top achievements
Rank 1
Gaurav asked on 11 May 2012, 01:53 AM

I have a class Order with Order details Collection.

Adding and Editing of Order is done by bringing up a separate page, however adding and editing of Order-lines has to be done via grid.

Here is the work flow

Orders Collection Grid -> Click Edit-> Order Page Appear (URL: http://localhost/WebSite/Orders/Edit/1?mode=edit)

please refer to the attached png for furthere clarification....

 

My Order Page consists of Order header and Order-Line collection which is show using grid. Since the url parameter (Mode =edit), it messes up the order lines grid display, no controls appears in there respected columns.

Following are the ways I can think of resolving the issue

1>     Instead of using in build select command use custom command to avoid (Mode=edit) parameter. Don’t know the pros and Cons?

2>     Somehow empty the parameter list but How?

How does (Mode=edit) parameter modifies the look and feel of grid (orderlines grid in my case)?

Tags
Grid
Asked by
Gaurav
Top achievements
Rank 1
Share this question
or