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

From RadGrid to normal Detail View help needed

2 Answers 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
grand lorie
Top achievements
Rank 1
grand lorie asked on 18 Mar 2010, 11:40 AM
Hi
I guess i was working too much that is why i feel blank inside my head and need some help.

I have a page (Catalogue) With a RADGRID where the user will use it to look through all the items, then by clicking on the Select Item he will go to Order Page, in this order page he will see the details for the item selected (at the top of the page) and a form to fill to submit the order.

- The Grid is using a table (Items).
- The Detail View is using the same table (Items) to display the info about the selected item (through a SqlDataSource on the Order Page page).
- There is another SqlDataSource (from the Orders table) on the Order Page.
- The form on the Order Page right now is suppose to insert the Data into the Orders Table.
- Order table and Items Table are related with the Column ItemID.

Now
- Everything is working fine between the Grid view(catalogue page) and the Detail View (on the order page), but what i need is:

+ When the user click Save the Data inserted into the Order Table with the ItemID (for the selected Item) and direct the user to another page (OrderListPage).

+ When the user Click Save and More the data inserted into the Order table(database) and direct the user back to the Catalogue Page.

+ When the user Click Cancel it direct the user back to the Catalogue page.

# 2 Screen Shots attached to clarify the Idea.
(i tried that but nothing goes to database so i am sure i am missing something plus i do not know how to redirect to page after insertion)
Thanks in Advance for any help

2 Answers, 1 is accepted

Sort by
0
grand lorie
Top achievements
Rank 1
answered on 19 Mar 2010, 11:40 AM
Any Hope !!!!!???
0
Yavor
Telerik team
answered on 23 Mar 2010, 01:25 PM
Hi grand,

Basically, when you click the save button, you can persist the data into the database, and navigate to another page. Since the controls are using different datasources, the data will be refreshed as expected.
Are you having difficulties persisting the data into the database, or perhaps there are some other issues?
Any additional information will help us better address the question at hand.

Best wishes,
Yavor
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
grand lorie
Top achievements
Rank 1
Answers by
grand lorie
Top achievements
Rank 1
Yavor
Telerik team
Share this question
or