Solved

Dynamicaly change the source of a the a register webcontrol

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
API v SOA 8 63
Form Data Disappears Using Back Button 4 68
c#, case, if 4 37
Need to Interpret Json in Vb.net ( .net 3.5  framework) 11 51
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…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 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