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
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