RE: Possible: dynamically populated and placed user control in the middle of a string?
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Mon, 25 Dec 2006 08:17:20 GMT
Hi KF,
I have also found your another thread "Subject: impossible or not:
dynamically embedding a user control in the middle of a string?" describing
the issue in the microsoft.public.dotnet.framework.aspnet newsgroup and I
have posted my reply there.
As I also mentioned there, if you want to insert a usercontrol at a random
(not determined at design-time), I'm afraid the ASP.NET page/control model
doesn't quite support this. Even dynamic created control need a fixed
holder/container (placeholder) on the page. For your scenario, you may
consider dynamically embed some html element in the text string( such as
html <img> or <iframe> ) because such element does not require ASP.NET
runtime parsing and compilation and can link to other resources via a given
url.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- Prev by Date: Possible: dynamically populated and placed user control in the middle of a string?
- Next by Date: RE: Validator message disappeared after post back
- Previous by thread: Possible: dynamically populated and placed user control in the middle of a string?
- Index(es):
Relevant Pages
|
Loading