Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Dynamicaly change the source of a the a register webcontrol

Posted on 2008-10-30
1
Medium Priority
?
255 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

670 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