Users Pricing

forum

Home Forums How to redirect a user control to the view its called from? – MindStick

How to redirect a user control to the view its called from?

Pravesh Singh 2071 22 Aug 2014

I have a user control that creates a new record in a database. After it creates the new record, I would like to redirect it back to the view its from. The purpose of this is to refresh the view so that it can show the newly created record. The problem is that user control can exists in more than one view, so how can i know which view is the user control from? so that I can achieve the above scenario? Thanks


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md