Click here to Skip to main content
15,918,596 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRSS feed Pin
rajanandal17-Dec-07 19:08
rajanandal17-Dec-07 19:08 
GeneralRe: RSS feed Pin
Michael Sync17-Dec-07 19:11
Michael Sync17-Dec-07 19:11 
GeneralRe: RSS feed Pin
rajanandal17-Dec-07 19:19
rajanandal17-Dec-07 19:19 
Questionhow i can make a lable visible =false when i press any key in the textbox Pin
jagan12317-Dec-07 18:40
jagan12317-Dec-07 18:40 
AnswerRe: how i can make a lable visible =false when i press any key in the textbox Pin
Christian Graus17-Dec-07 18:57
protectorChristian Graus17-Dec-07 18:57 
GeneralRe: how i can make a lable visible =false when i press any key in the textbox Pin
jagan12317-Dec-07 19:01
jagan12317-Dec-07 19:01 
GeneralRe: how i can make a lable visible =false when i press any key in the textbox Pin
_AK_17-Dec-07 19:18
_AK_17-Dec-07 19:18 
AnswerRe: how i can make a lable visible =false when i press any key in the textbox Pin
Gandalf_TheWhite17-Dec-07 19:17
professionalGandalf_TheWhite17-Dec-07 19:17 
Hi,
Do u want something like this?
When u type something in ur Textbox at that time that label shold be Invisible???

This can be done with J.Script 'onkeypress' Event of textbox.
Put THis all in ur Page HTML

<html><br />
  <head><br />
		<script language="javascript" type="text/javascript"><br />
			function Hello()<br />
			{			<br />
				document.getElementById('Label1').innerHTML = '';<br />
			}	<br />
		</script><br />
</head><br />
	<body><br />
		<form id="Form1" runat="server"><br />
			<asp:label id="Label1" runat="server" visible="True">My Label</asp:label>			<br />
			<input id="MyTextBox" onkeypress="javascript:return Hello();" type="text" runat="server"><br />
		</input></form><br />
	</body><br />
</html>

Believe Yourself™ :->™

GeneralRe: how i can make a lable visible =false when i press any key in the textbox Pin
Sherin Iranimose17-Dec-07 19:39
Sherin Iranimose17-Dec-07 19:39 
GeneralRe: how i can make a lable visible =false when i press any key in the textbox Pin
_AK_17-Dec-07 19:50
_AK_17-Dec-07 19:50 
GeneralRe: how i can make a lable visible =false when i press any key in the textbox Pin
N a v a n e e t h17-Dec-07 21:30
N a v a n e e t h17-Dec-07 21:30 
Generalcode to remember password in login form Pin
chithra.r17-Dec-07 18:33
chithra.r17-Dec-07 18:33 
GeneralRe: code to remember password in login form Pin
_AK_17-Dec-07 18:51
_AK_17-Dec-07 18:51 
GeneralRe: code to remember password in login form Pin
chithra.r17-Dec-07 22:57
chithra.r17-Dec-07 22:57 
GeneralRe: code to remember password in login form Pin
Paul Conrad23-Dec-07 8:10
professionalPaul Conrad23-Dec-07 8:10 
QuestionHow can i? Pin
Member 464849117-Dec-07 17:43
Member 464849117-Dec-07 17:43 
AnswerRe: How can i? Pin
Christian Graus17-Dec-07 18:00
protectorChristian Graus17-Dec-07 18:00 
GeneralRe: How can i? Pin
Member 464849117-Dec-07 18:57
Member 464849117-Dec-07 18:57 
GeneralRe: How can i? Pin
Christian Graus17-Dec-07 19:34
protectorChristian Graus17-Dec-07 19:34 
AnswerRe: How can i? Pin
That's Aragon17-Dec-07 18:05
That's Aragon17-Dec-07 18:05 
GeneralRe: How can i? Pin
Member 464849117-Dec-07 18:38
Member 464849117-Dec-07 18:38 
AnswerRe: How can i? Pin
Gandalf_TheWhite17-Dec-07 18:33
professionalGandalf_TheWhite17-Dec-07 18:33 
GeneralSql Server Problem Pin
Member 464849117-Dec-07 17:36
Member 464849117-Dec-07 17:36 
GeneralRe: Sql Server Problem Pin
_AK_17-Dec-07 18:20
_AK_17-Dec-07 18:20 
Generalhighlighting text Pin
rajanandal17-Dec-07 17:29
rajanandal17-Dec-07 17:29 

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.