Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Response.Write inside Editable Area

Reply
Thread Tools

Response.Write inside Editable Area

 
 
MumHa
Guest
Posts: n/a
 
      12-08-2005
Hi,

I created RoundeBox control (CompositeControl) with an editable area
(EditableDesignerRegion).
The content of Editable Area is persisted on aspx.
On Design Time, I put others controls inside the editable area and
others html content.
When I use Response.Write inside the content, the result is printed out
of the control.

Example:
<body>
<p>Before Control</p>
<cc1:MyControl id='001'>
<Content>
<div>Test of Response.Write</div>
<div><%Response.Write("Writed with Response.Write"); %> </div>
<div>End of Test</div>
</Content>
</cc1:MyControl>
<p>After Control</p>
</body>

But the result is:

BeforeControl
Writed with Response.Write
Test of Response.Write
End of Test
After Control

So, the text "Writed with Response.Write" was printed out of control.
I need to process the content inside my control?

Regards,

Rafael L.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MVC2: linking from one area view to another area view Andy B. ASP .Net 0 04-30-2010 07:46 AM
do structure definitions go in data area or in code area... hotadvice C Programming 14 10-02-2007 04:10 AM
prevent an sub area in a draggable area to detect dragging event Jim Javascript 0 11-21-2006 09:02 AM
asp:Image inside editable DetailsView Christian Schlemmer ASP .Net 0 11-15-2006 12:05 AM
Add point to graphics area without having to paint the whole area? Mark Java 1 06-27-2005 03:09 AM



Advertisments