Click here to Skip to main content
15,881,812 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to embedd webcam control in webpage ? Pin
Manas Bhardwaj28-Aug-09 8:10
professionalManas Bhardwaj28-Aug-09 8:10 
GeneralRe: How to embedd webcam control in webpage ? Pin
Bhaumik DV28-Aug-09 23:36
Bhaumik DV28-Aug-09 23:36 
AnswerRe: How to embedd webcam control in webpage ? Pin
Blue_Boy28-Aug-09 9:40
Blue_Boy28-Aug-09 9:40 
QuestionImage loupe Pin
BoySetsFire28-Aug-09 4:41
BoySetsFire28-Aug-09 4:41 
AnswerRe: Image loupe Pin
Manas Bhardwaj28-Aug-09 5:18
professionalManas Bhardwaj28-Aug-09 5:18 
QuestionDynamically change color of xml sitemap titles Pin
compninja2528-Aug-09 3:59
compninja2528-Aug-09 3:59 
AnswerRe: Dynamically change color of xml sitemap titles Pin
compninja251-Sep-09 3:23
compninja251-Sep-09 3:23 
QuestionCustom validator Pin
diacoboss28-Aug-09 3:50
diacoboss28-Aug-09 3:50 
Hi guys,
I have a small problem, hope u could help me !
I'm tryin to use a custom validator on a Textbox !
Look :

<asp:textbox id="TextBox2" runat="server" visible="True" validationgroup="Test_Custom">
<asp:customvalidator id="first_CV" runat="server" onservervalidate="first_CV_ServerValidate" controltovalidate="TextBox2" errormessage="Complete this field" validationgroup="Test_Custom">*

The code behind now

protected void first_CV_ServerValidate(object source, ServerValidateEventArgs args)
{
if (TextBox2.Text == "")
{
args.IsValid = false;
}
else
{
args.IsValid = true;
}
}

Nothing changes if I set the ValidateEmptyText property of the CustomValidatorCustomValidator to true.

Basically, I hoped to see a message when the Textbox is empty!
But nothin happen when Click on my submit button

Please help me
AnswerRe: Custom validator Pin
Manas Bhardwaj28-Aug-09 3:59
professionalManas Bhardwaj28-Aug-09 3:59 
GeneralRe: Custom validator Pin
diacoboss28-Aug-09 4:33
diacoboss28-Aug-09 4:33 
GeneralRe: Custom validator Pin
Coding C#28-Aug-09 4:54
Coding C#28-Aug-09 4:54 
AnswerRe: Custom validator Pin
compninja2528-Aug-09 8:26
compninja2528-Aug-09 8:26 
GeneralRe: Custom validator Pin
diacoboss31-Aug-09 0:28
diacoboss31-Aug-09 0:28 
GeneralRe: Custom validator Pin
compninja2531-Aug-09 2:00
compninja2531-Aug-09 2:00 
QuestionFormatting of textbox within listview in webform [modified] (Problem solved) Pin
Patrick Garrity28-Aug-09 3:47
Patrick Garrity28-Aug-09 3:47 
Questionedit property of data gridview control Pin
myinstincts28-Aug-09 2:33
myinstincts28-Aug-09 2:33 
AnswerRe: edit property of data gridview control Pin
janani1328-Aug-09 2:46
janani1328-Aug-09 2:46 
GeneralRe: edit property of data gridview control Pin
myinstincts28-Aug-09 2:52
myinstincts28-Aug-09 2:52 
GeneralRe: edit property of data gridview control Pin
sashidhar30-Aug-09 21:07
sashidhar30-Aug-09 21:07 
QuestionLinking ASP.NET web controls with CSS styles [modified] Pin
Chesnokov Yuriy28-Aug-09 2:21
professionalChesnokov Yuriy28-Aug-09 2:21 
AnswerRe: Linking ASP.NET web controls with CSS styles Pin
janani1328-Aug-09 2:53
janani1328-Aug-09 2:53 
AnswerRe: Linking ASP.NET web controls with CSS styles Pin
Chesnokov Yuriy28-Aug-09 3:12
professionalChesnokov Yuriy28-Aug-09 3:12 
GeneralRe: Linking ASP.NET web controls with CSS styles Pin
DoctorMick28-Aug-09 5:24
DoctorMick28-Aug-09 5:24 
QuestionRe: Linking ASP.NET web controls with CSS styles Pin
Chesnokov Yuriy28-Aug-09 7:50
professionalChesnokov Yuriy28-Aug-09 7:50 
QuestionAdd Hashtable into the arraylist in javascript Pin
zeeShan anSari28-Aug-09 2:09
zeeShan anSari28-Aug-09 2:09 

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.