Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Literal control


Message #1 by miss ruby <unix_box@y...> on Sun, 21 Apr 2002 03:02:43 -0700 (PDT)

hi folks..


i would to know what literal control can do for me???


thanks...

=====
miss ruby
interatif frontier
damansara intan
petaling jaya
selangor
malaysia

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
Message #2 by mathew2002it@y... on Sun, 21 Apr 2002 16:27:29
Hi

I too new to asp.net and i hope this information i found in microsoft 
website can give you some idea on this literal control.

The Literal control renders static text into a Web page without adding any 
HTML elements. You can manipulate the text programmatically with server 
code.

Note: If you want to display static text, you can present it using HTML; 
you do not need a Literal control. Use a Literal control only if you need 
to change the contents in server code.

I think the following websites will give some idea on how literal control 
are going to be implement

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/vbcon/html/vbtskaddingliteralwebservercontrolstowebformspage.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/vbcon/html/vbconIntroductionToLiteralWebServerControl.asp 

Mathew



hi folks..


i would to know what literal control can do for me???


thanks...

=====
miss ruby
interatif frontier
damansara intan
petaling jaya
selangor
malaysia

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
Message #3 by "Minh T. Nguyen" <nguyentriminh@y...> on Sun, 21 Apr 2002 15:19:43 -0700
Hi folks,

	I use the Literal control a lot under two circumstances:
	A) I don't want to produce any HTML code (the title of the page
is a prime example)
	or
	B) I want to have full control over the exact HTML that is being
produced, by specifally setting the text value of the literal control to
my HTML tags as in:

	MyLiteral.Text = "<script language=\""javascript\"">
alert('Hello World');</script>";

	I don't think any other control gives me this coding technique.

Minh.

-----Original Message-----
From: mathew2002it@y... [mailto:mathew2002it@y...] 
Sent: Sunday, April 21, 2002 4:27 PM
To: aspx_beginners
Subject: [aspx_beginners] Re: Literal control


Hi

I too new to asp.net and i hope this information i found in microsoft 
website can give you some idea on this literal control.

The Literal control renders static text into a Web page without adding
any 
HTML elements. You can manipulate the text programmatically with server 
code.

Note: If you want to display static text, you can present it using HTML;

you do not need a Literal control. Use a Literal control only if you
need 
to change the contents in server code.

I think the following websites will give some idea on how literal
control 
are going to be implement

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/vbcon/html/vbtskaddingliteralwebservercontrolstowebformspage.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/vbcon/html/vbconIntroductionToLiteralWebServerControl.asp 

Mathew



hi folks..


i would to know what literal control can do for me???


thanks...

=====
miss ruby
interatif frontier
damansara intan
petaling jaya
selangor
malaysia

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/


  Return to Index