15,867,686 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Jariwala Amin (Top 6 by date)
Jariwala Amin
8-Oct-22 2:46am
View
Did you find any solution? I am also facing this issue.
Jariwala Amin
4-Jul-15 13:34pm
View
This is my Full demo aspx code I tried in new aspx page but this is not working. This page doesn't contain any js or css only pure asp.net controls are there as you can see.
----------------------------------------------------------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="MyWebsite.Website.WebForm1" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="TextBox1" runat="server" ValidationGroup="ValidateForm">
<asp:Button ID="Button1" runat="server" Text="Button" ValidationGroup="ValidateForm" />
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="RequiredFieldValidator" SetFocusOnError="true"
ControlToValidate="TextBox1" ValidationGroup="ValidateForm">
</div>
</form>
</body>
</html>
Jariwala Amin
4-Jul-15 13:01pm
View
Deleted
This is my Full demo aspx code I tried in new aspx page but this is not working. This page doesn't contain any js or css only pure asp.net controls are there as you can see.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Room2Shop.Website.WebForm1" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="TextBox1" runat="server" ValidationGroup="ValidateForm">
<asp:Button ID="Button1" runat="server" Text="Button" ValidationGroup="ValidateForm" />
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="RequiredFieldValidator" SetFocusOnError="true"
ControlToValidate="TextBox1" ValidationGroup="ValidateForm">
</div>
</form>
</body>
</html>
Jariwala Amin
4-Jul-15 3:27am
View
I have added validation field as you can see. But this field is not validating my control. My code is fine and i did same validation method to my previous websites and all are working fine. But in this website I have added requiredfieldvalidator but it is not working or not validating aspx controls.
Jariwala Amin
4-Jul-15 2:33am
View
That's all what I have. My page contain only this form which i have submitted here.
Jariwala Amin
4-Jul-15 2:25am
View
ya its look fine but not working
Show More