Solved

Dynamicaly change the source of a the a register webcontrol

Posted on 2008-10-30
1
246 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now