Ask a Question related to ASP.NET General, Design and Development.
-
Mark #1
Re: writing HTML directly
Try the Literal Control or the PlaceHolder server controls. HTH.
Mark
[url]www.dovetaildatabases.com[/url]
"Steve" <steve@mintonweb.com> wrote in message
news:099601c34560$5617c080$a001280a@phx.gbl...> What is the best method if I want to write HTML directly
> for part of my page? I couldn't find a server control
> where the HTML stream could be specified directly by
> code. Is it still OK to use <% %> directives as one
> would in ASP? The ASP.NET documentation doesn't mention
> that as a possibility, therefore I was worried it is
> depracated somehow.
Mark Guest
-
Writing HTML data to XML
I've been playing around with Phil's tutorial (http://www.macromedia.com/devnet/mx/flash/articles/flashpro_asp.html) and am trying to make a... -
Repost from DW forum - writing HTML on the fly in VBScript?
Folks: I am generating an HTML page on the fly, and was wondering if there is any way to simplify the process? I already have the page built,... -
Writing HTML with PHP, executing external scripts
I currently have a layout that is part written in SHTML - in other words, it gets processed by the web server to execute any calls for PHP or Perl... -
Writing HTML Page
Hi, just create an empty ASPX page with no codebehind file. Then place your code inside the page (inside <% ... %> of course) and use... -
Writing a listbox value to an html link concatination
Ok, I know this sounds weird, but it's really bugging me. I have a few list boxes on my form (basic pick a month, year, state stuff) and you can... -
IbrahimMalluf #2
Re: writing HTML directly
Hello Steve
Yes...you can use the <% %> in asp net.
You can also use Response.Write, or you can create a HTML div tag, set its
Runat property to Server and then modify its InnerHTML property just to
name a couple of possibilities
Ibrahim Malluf
"Steve" <steve@mintonweb.com> wrote in message
news:099601c34560$5617c080$a001280a@phx.gbl...> What is the best method if I want to write HTML directly
> for part of my page? I couldn't find a server control
> where the HTML stream could be specified directly by
> code. Is it still OK to use <% %> directives as one
> would in ASP? The ASP.NET documentation doesn't mention
> that as a possibility, therefore I was worried it is
> depracated somehow.
IbrahimMalluf Guest
-
Kenn Ghannon #3
Re: writing HTML directly
You can still use the <% %> method as well. I occasionally use this method
to write out the contents of JavaScript variables that I need dynamically
generated...
"Steve" <steve@mintonweb.com> wrote in message
news:099601c34560$5617c080$a001280a@phx.gbl...> What is the best method if I want to write HTML directly
> for part of my page? I couldn't find a server control
> where the HTML stream could be specified directly by
> code. Is it still OK to use <% %> directives as one
> would in ASP? The ASP.NET documentation doesn't mention
> that as a possibility, therefore I was worried it is
> depracated somehow.
Kenn Ghannon Guest



Reply With Quote

