Click here to Skip to main content
15,919,358 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Custom Validator Pin
Dayekh20-Dec-06 2:21
Dayekh20-Dec-06 2:21 
GeneralRe: Custom Validator Pin
szukuro20-Dec-06 5:00
szukuro20-Dec-06 5:00 
GeneralRe: Custom Validator Pin
Dayekh20-Dec-06 5:08
Dayekh20-Dec-06 5:08 
Questionarray in asp Pin
diya_dev19-Dec-06 22:38
diya_dev19-Dec-06 22:38 
AnswerRe: array in asp Pin
Guffa19-Dec-06 23:42
Guffa19-Dec-06 23:42 
Questionerror asp.net and crystal reports Pin
MissionSuccess19-Dec-06 22:36
MissionSuccess19-Dec-06 22:36 
QuestionPHP echo equivalent??? Pin
chathu03j19-Dec-06 21:41
chathu03j19-Dec-06 21:41 
AnswerRe: PHP echo equivalent??? Pin
Guffa19-Dec-06 23:55
Guffa19-Dec-06 23:55 
You can do like this:

<%=someVariable%>

However, if you use that your code quickly gets a mess of page level variables that you assign a vaule in one place and use in another place.

You don't have to use a label or textfield to display values in the page, you can use any server control you like.

A Literal control is useful if you want a control that does not add any html to what you put in it:

<asp:Literal id="objInfo" />

objInfo.Text = "Hello world!";

This will put the text "Hello world!" in the page where the literal control was. There is no span tag added around the text.

A PlaceHolder is useful for adding controls to the page:

<asp:PlaceHolder id="objContainer" />

objContainer.Controls.Add(new LiteralControl("Hello world!"));


---
It's amazing to see how much work some people will go through just to avoid a little bit of work.

Questioncurrency validator Pin
abdelhameed8119-Dec-06 21:32
abdelhameed8119-Dec-06 21:32 
AnswerRe: currency validator Pin
Dayekh19-Dec-06 23:06
Dayekh19-Dec-06 23:06 
GeneralRe: currency validator Pin
abdelhameed8120-Dec-06 20:26
abdelhameed8120-Dec-06 20:26 
GeneralRe: currency validator Pin
siddu78628-Dec-06 1:19
siddu78628-Dec-06 1:19 
Questionuse of webservice problem Pin
Ballita19-Dec-06 18:57
Ballita19-Dec-06 18:57 
AnswerRe: use of webservice problem Pin
jdkulkarni19-Dec-06 19:26
jdkulkarni19-Dec-06 19:26 
QuestionTake some action when message is received by client in webform Pin
tprakash19-Dec-06 17:45
tprakash19-Dec-06 17:45 
AnswerRe: Take some action when message is received by client in webform Pin
minhpc_bk19-Dec-06 19:18
minhpc_bk19-Dec-06 19:18 
QuestionHow to install IE Web Control in VS.NET 2003 Pin
prakash_21019-Dec-06 17:31
prakash_21019-Dec-06 17:31 
AnswerRe: How to install IE Web Control in VS.NET 2003 Pin
minhpc_bk19-Dec-06 19:06
minhpc_bk19-Dec-06 19:06 
QuestionRe: How to install IE Web Control in VS.NET 2003 Pin
prakash_21019-Dec-06 21:49
prakash_21019-Dec-06 21:49 
AnswerRe: How to install IE Web Control in VS.NET 2003 Pin
minhpc_bk20-Dec-06 14:16
minhpc_bk20-Dec-06 14:16 
QuestionRe: How to install IE Web Control in VS.NET 2003 Pin
prakash_21020-Dec-06 17:50
prakash_21020-Dec-06 17:50 
Questionpagination Pin
pavanik19-Dec-06 16:51
pavanik19-Dec-06 16:51 
AnswerRe: pagination Pin
_AK_19-Dec-06 17:07
_AK_19-Dec-06 17:07 
QuestionUser Controls, Master Pages, CSS and putting it all together Pin
RX Maverick19-Dec-06 16:40
RX Maverick19-Dec-06 16:40 
AnswerRe: User Controls, Master Pages, CSS and putting it all together Pin
Anbuselvan19-Dec-06 18:05
Anbuselvan19-Dec-06 18:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.