Redirect to another ascx file in an Umbraco section?
I created a new section in Umbraco. It is a User Control (ProductList.ascx)
displaying a list of Products.
What I need to do is, when I click on a product, it should show me the Edit
Product screen (EditProduct.ascx) in the same tab (ie. Products tab in the
screenshot above).
I'd merge the two controls into one, as you can't redirect to a user control, as it must be in a page. You can use the click event of the row (or add a button/link) to fire a server side event to hide the grid and show the form, and populate it with the values of the selected items. On save of the form, just hide the form, show the list, and update the list to show any changes.
Redirect to another ascx file in an Umbraco section?
I created a new section in Umbraco. It is a User Control (ProductList.ascx) displaying a list of Products.
What I need to do is, when I click on a product, it should show me the Edit Product screen (EditProduct.ascx) in the same tab (ie. Products tab in the screenshot above).
How can I achieve this? Thank you.
I'd merge the two controls into one, as you can't redirect to a user control, as it must be in a page. You can use the click event of the row (or add a button/link) to fire a server side event to hide the grid and show the form, and populate it with the values of the selected items. On save of the form, just hide the form, show the list, and update the list to show any changes.
Hope that helps!
:)
is working on a reply...