There are few myths about Sql Data Source and there are talks about its limitations. You can easily bind it with a database table and later bind it to a Grid View control.Perform a Simple CRUD Operation using a Paging Enabled Grid View Control in Asp.
MVC 3 introduced what is called Unobtrusive Client Validation.
This feature relies on j Query and HTML5 custom data attributes. with the right tutorial to follow 🙂Let’s start the tutorial with a bit of theory (if you’re not interested, you can skip it and go straight to the paragraph “The tutorial” and download the source code from https://github.com/vgheri/Date Custom Validation Example)“As per HTML 5 draft specification a custom data attribute is an attribute in no namespace whose name starts with the string “data-“, has at least one character after the hyphen, is XML-compatible, and contains no characters in the range U 0041 to U 005A (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z).
Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
Hi all, In my web app, I have gridview contain dropdownlist with customer names.
i want to validate dropdown list to force the user to not repeat the customer name.
Net where Drop Down is either bind with Sql Data Source or list Items.