Click here to Skip to main content
15,905,566 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to create dll file in asp.net 2.0 Pin
Srinivasa Rao M25-Feb-07 21:47
Srinivasa Rao M25-Feb-07 21:47 
QuestionValidation in TextBox controls in asp.net Pin
aaraaayen25-Feb-07 20:40
aaraaayen25-Feb-07 20:40 
AnswerRe: Validation in TextBox controls in asp.net Pin
Christian Graus25-Feb-07 20:45
protectorChristian Graus25-Feb-07 20:45 
GeneralRe: Validation in TextBox controls in asp.net Pin
aaraaayen25-Feb-07 20:49
aaraaayen25-Feb-07 20:49 
GeneralRe: Validation in TextBox controls in asp.net Pin
Christian Graus25-Feb-07 20:59
protectorChristian Graus25-Feb-07 20:59 
AnswerRe: Validation in TextBox controls in asp.net Pin
Laxmikant Lad25-Feb-07 22:04
Laxmikant Lad25-Feb-07 22:04 
GeneralRe: Validation in TextBox controls in asp.net Pin
aaraaayen25-Feb-07 22:37
aaraaayen25-Feb-07 22:37 
GeneralRe: Validation in TextBox controls in asp.net Pin
Vsree25-Feb-07 23:35
Vsree25-Feb-07 23:35 
hello

Write as in Page_Load()
<br />
<br />
txt1.Attributes.Add("onblur","javascript:checkValid(this);");<br />
txt2.Attributes.Add("onblur","javascript:checkValid(this);");<br />
....(write for all textboxes)<br />
txt40.Attributes.Add("onblur","javascript:checkValid(this);");<br />
<br />

In javascript
<br />
<br />
function checkValid(txtSamp)<br />
{<br />
if(txtSamp.value =="")<br />
  alert('Please enter value');<br />
}<br />
<br />

Here the function you are calling for all the textboxes is the same,but the arguement differs...'this' keyword refers to the textbox object for which you are calling the function(no need for the name in this function).
Hope this helps you
~VSree
QuestionUser control Pin
saravanan0525-Feb-07 20:39
saravanan0525-Feb-07 20:39 
AnswerRe: User control Pin
Christian Graus25-Feb-07 20:57
protectorChristian Graus25-Feb-07 20:57 
Questionfire client alert script from submit button Pin
playout25-Feb-07 20:28
playout25-Feb-07 20:28 
AnswerRe: fire client alert script from submit button Pin
MIHAI_MTZ25-Feb-07 20:42
MIHAI_MTZ25-Feb-07 20:42 
AnswerRe: fire client alert script from submit button Pin
Tuwing.Sabado25-Feb-07 21:38
Tuwing.Sabado25-Feb-07 21:38 
AnswerRe: fire client alert script from submit button Pin
www.Developerof.NET26-Feb-07 2:37
www.Developerof.NET26-Feb-07 2:37 
AnswerRe: fire client alert script from submit button Pin
wilf5726-Feb-07 2:56
wilf5726-Feb-07 2:56 
Questionhow to use postback url in .net2005 Pin
praveenanand25-Feb-07 20:24
praveenanand25-Feb-07 20:24 
AnswerRe: how to use postback url in .net2005 Pin
kubben26-Feb-07 6:16
kubben26-Feb-07 6:16 
Questioncalling a method in a usercontrol from another user control? Pin
Tridip Bhattacharjee25-Feb-07 20:23
professionalTridip Bhattacharjee25-Feb-07 20:23 
AnswerRe: calling a method in a usercontrol from another user control? Pin
shirish7825-Feb-07 23:29
shirish7825-Feb-07 23:29 
QuestionEventHandler in InitializeComponent() is missing Pin
Vsree25-Feb-07 20:17
Vsree25-Feb-07 20:17 
AnswerRe: EventHandler in InitializeComponent() is missing Pin
Sylvester george25-Feb-07 20:19
Sylvester george25-Feb-07 20:19 
GeneralRe: EventHandler in InitializeComponent() is missing Pin
Vsree25-Feb-07 20:26
Vsree25-Feb-07 20:26 
QuestionAsp.net 2.0 + c# Pin
ritu432125-Feb-07 19:47
ritu432125-Feb-07 19:47 
AnswerRe: Asp.net 2.0 + c# Pin
Sylvester george25-Feb-07 19:54
Sylvester george25-Feb-07 19:54 
GeneralRe: Asp.net 2.0 + c# Pin
ritu432125-Feb-07 20:27
ritu432125-Feb-07 20:27 

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.