Click here to Skip to main content
16,004,991 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Image Pin
Sandeep Akhare29-Nov-06 0:57
Sandeep Akhare29-Nov-06 0:57 
GeneralRe: Image Pin
Guffa29-Nov-06 1:18
Guffa29-Nov-06 1:18 
GeneralRe: Image Pin
AnhTin29-Nov-06 15:13
AnhTin29-Nov-06 15:13 
QuestionHow can i validate a checkbox control? Pin
just3ala228-Nov-06 20:58
just3ala228-Nov-06 20:58 
AnswerRe: How can i validate a checkbox control? Pin
thomas_joyee28-Nov-06 21:32
thomas_joyee28-Nov-06 21:32 
QuestionRe: How can i validate a checkbox control? Pin
just3ala228-Nov-06 21:43
just3ala228-Nov-06 21:43 
AnswerRe: How can i validate a checkbox control? Pin
needhelpinnet28-Nov-06 21:50
needhelpinnet28-Nov-06 21:50 
AnswerRe: How can i validate a checkbox control? Pin
just3ala228-Nov-06 22:04
just3ala228-Nov-06 22:04 
I did it...



var ucName = "UcPayToAccountant1_";

function jsValidate()
{

if ( checkAmount() && checkDone() )
{
Page_ClientValidate();
return true;
}
else
{
return false;
}
} // End Function


function checkAmount()
{
var amount = document.getElementById(ucName + "txtAmount").value;
if ( isNaN(amount) )
{
return false;
}
else
{
return true;
}
} // End Function


function checkDone()
{

var done = document.getElementById(ucName + "chkDone");
if (done.checked)
{
return true;
}
else
{
return false;
}
} // End Function



added the onclick attribute the button
so using Page_ClientValidate(); function which the validator generates solved the probelm



Best Regards
3ala2 Smile | :)

QuestionWeb service authentication Pin
Poovarasan Dharmalingam28-Nov-06 20:56
Poovarasan Dharmalingam28-Nov-06 20:56 
QuestionDropDownList Pin
aaraaayen28-Nov-06 20:54
aaraaayen28-Nov-06 20:54 
AnswerRe: DropDownList Pin
albCode28-Nov-06 21:47
albCode28-Nov-06 21:47 
GeneralRe: DropDownList Pin
aaraaayen28-Nov-06 22:42
aaraaayen28-Nov-06 22:42 
AnswerRe: DropDownList Pin
Imran Khan Pathan29-Nov-06 0:46
Imran Khan Pathan29-Nov-06 0:46 
QuestionWhy __VIEWSTATE comes in querystring? Pin
RSArockiam28-Nov-06 19:58
RSArockiam28-Nov-06 19:58 
AnswerRe: Why __VIEWSTATE comes in querystring? Pin
Eduard Keilholz28-Nov-06 20:34
Eduard Keilholz28-Nov-06 20:34 
GeneralRe: Why __VIEWSTATE comes in querystring? Pin
RSArockiam28-Nov-06 22:49
RSArockiam28-Nov-06 22:49 
AnswerRe: Why __VIEWSTATE comes in querystring? Pin
Guffa28-Nov-06 21:10
Guffa28-Nov-06 21:10 
QuestionHow to delete a row from datagrid using check box Pin
ravindradonkada28-Nov-06 19:46
ravindradonkada28-Nov-06 19:46 
AnswerRe: How to delete a row from datagrid using check box Pin
needhelpinnet28-Nov-06 22:06
needhelpinnet28-Nov-06 22:06 
QuestionASP Problem Pin
Debi Prasad28-Nov-06 19:41
Debi Prasad28-Nov-06 19:41 
AnswerRe: ASP Problem Pin
Eduard Keilholz28-Nov-06 20:38
Eduard Keilholz28-Nov-06 20:38 
QuestionProblem with XMLHTTPRequest Pin
resmy.m@gmail.com28-Nov-06 19:32
resmy.m@gmail.com28-Nov-06 19:32 
QuestionDo Postback Pin
bmadhura28-Nov-06 19:14
bmadhura28-Nov-06 19:14 
QuestionHow do I get my custom web component look like a a textbox and image button instead of a [xxx "xxx"] in VS 2003 designer? Pin
howardjr28-Nov-06 19:13
howardjr28-Nov-06 19:13 
AnswerRe: How do I get my custom web component look like a a textbox and image button instead of a [xxx "xxx"] in VS 2003 designer? Pin
howardjr28-Nov-06 20:00
howardjr28-Nov-06 20:00 

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.