redirecting the pages between rootproject and subproject
-
Hi, I had a usercontrol in masterpage of root project.I had a page in subproject which inherits this masterpage. how can i redirect to rootproject pages and subproject pages.For the rootproject pages i had given href in usercontrol which is present in rootproject.Then how can i call the pages that are present in subproject and from there how can i redirect to rootproject pages.Can anyone help me in this.
-
Hi, I had a usercontrol in masterpage of root project.I had a page in subproject which inherits this masterpage. how can i redirect to rootproject pages and subproject pages.For the rootproject pages i had given href in usercontrol which is present in rootproject.Then how can i call the pages that are present in subproject and from there how can i redirect to rootproject pages.Can anyone help me in this.
What I do is: Put the path in web.config file. To get the path for root you say "~" for example: if your project is Test.UI where the control is inside folder "Controls" Then in Web.Config goes the following: Now call this key to give the path of this control in your application. I am sorry if this does not make any sense :) If you are talking about two complete different project, this will not work.