Tagged Questions
0
votes
1answer
36 views
Display image in validation
I am working in ASP.Net MVC. I have to submit a form, which i can validate, only by showing error messages. But i don't want to show text in case of error, rather want to show image. Please tell me ...
0
votes
0answers
29 views
Display of dynamically added ASP.NET is not updated on validation
I creating a dynamic compare validated as in the tutorial found on here.
Unfortunely, the article leaves off adding the element to the page (which I have). However, I have validated the validation ...
1
vote
5answers
39 views
asp:RequiredFieldValidator validation based on conditions
I have validation as below but only like to triggered if the checkbox is ticked.
<!-- TextBox and its validator -->
Name: <asp:TextBox ID="TextBox1" runat="server" />
...
0
votes
2answers
70 views
ASP.net Validation no fire
I have no idea why my validation doesn't work as when I click on the Create button the page just refresh even my field doesn't enter any value. But when I key in value at username field the ...
1
vote
1answer
44 views
Validation using Lambda Expressions
I wanted to make a nice validation system in VB.NET and ASP.NET, where developers only need to specify a single line to validate their controls. I came up with a system, using lambda expressions. So ...
0
votes
2answers
46 views
Clear Textbox with Regular Expression Validator
I Got a text box with a Regular Expression validator, to validate if my textbox is numeric.
here's the code :
<asp:TextBox ID="txtAmount" runat="server" ...
0
votes
1answer
106 views
compare to sum of 2 text box values
I am learning c#. I am building a web app that calculates slugging stats. To make sure that the at bats is greater than or equal to all the hits, I needed to compare the value of at bats to the sum ...
0
votes
1answer
33 views
Doing clientside validation based on the value of a hidden variable
I have an asp.net web application where if the user selected option "A", I display a popup window where the user enters Date, First Name, Last Name etc and there are validation controls to do ...
0
votes
0answers
29 views
Validation fails but postback happens for Master content page buttons
I have been facing this problem for a long.
I have a save button in the master page and there are 10 content pages, when the save button clicked, the corresponding content page (which is opened up) ...
0
votes
1answer
54 views
disable default validation in Asp.Net WebAPI
I want to completely disable model validation for WebAPI controllers. I tried a few ways to do it for MVC, but seems WebAPI doesn't get that methods.
In my case:
custom formatter creates and ...
0
votes
2answers
30 views
Required Field conditional on button pressed
I may be having a blonde moment here.
I have a data entry form with the usual "Save" and "Cancel" buttons. In addition to these two I have another button "Approve". If the user clicks the "Approve" ...
0
votes
1answer
28 views
Validation Summary not picking up Error Message in group
I have several required fields and regex's on my form. The validation is fired on a button click. When the button is clicked, the error messages are showing where the asp:RequiredField are declared ...
0
votes
0answers
29 views
ASP.NET validation missing something?
I usually don't resort to posting questions that seem simple, but this one has me stumped.
I have a text box that is a required field, and when I click submit I want to validate the text box.
Here ...
1
vote
1answer
84 views
c# Asp.net Validation Methods for textbox?
I'm new to using c# in asp.net
I was just wondering what the best methods of validation are for when it comes to checking a textbox that has to be number's (and 1 decimal point) only, I've read about ...
2
votes
2answers
60 views
Clear jQuery validation on button click
I have a simple form. When I click 'submit' I validate the controls using the jQuery validation methods. I'm having trouble clearing the validation when clicking a 'cancel'.
Here's my code:
...