Solved

Dynamicaly change the source of a the a register webcontrol

Posted on 2008-10-30
1
253 Views
Last Modified: 2013-11-07
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
Comment
Question by:maxleb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
maxleb earned 0 total points
ID: 22850132
I solved my issue,

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


0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question