• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • Last Modified:

Dynamicaly change the source of a the a register webcontrol

Hi everyone,

I have to section in my page. Menu and Contnent.

I register two webcontrols in my page.

<%@ Register TagPrefix="ctrl" TagName="repToolsMenu" Src="~/ctrl/repToolsMenu.ascx" %>
<%@ Register TagPrefix="ctrl" TagName="contnent" Src="~/ctrl/rpInvReel.ascx" %>

How do I dynamicaly change the source of the contnent tag by clicking on a menu item

ex
string Path = "~/ctrl/anotherCtrl.ascx"
<%@ Register TagPrefix="ctrl" TagName="contnent" Src=Path %>


0
maxleb
Asked:
maxleb
1 Solution
 
maxlebAuthor Commented:
I solved my issue,

i have used nested Master Page instead, wich works great for my needs.


0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now