No announcements
Found 3064129 threads
-
0 Votes
How to check validation for numbersonly in data annotations
User1577371250 posted Hi, Use this [Range(0, int.MaxValue, ErrorMessage = "Please enter valid Number")] public int Total ...Answered | 2 Replies | 28 Views | Created by Anonymous - Friday, May 15, 2015 1:15 AM | Last reply by Anonymous - Friday, May 15, 2015 2:38 AM -
0 Votes
How do I properly use .NET Data Annotations for data validation in WPF with a WCF backend?
Hello, currently there's no built-in solution to pass data annotations between client and service.Answered | 1 Replies | 3720 Views | Created by TheMuffinMan1 - Friday, April 6, 2012 4:15 AM | Last reply by Yi-Lun Luo - Sunday, April 8, 2012 12:33 PM -
0 Votes
How to apply data annotation validation for HttpPostedFileBase[] for valid file type for C# MVC 5?
How to apply data annotation validation for HttpPostedFileBase[] property to valid file type in c# MVC 5?Answered | 2 Replies | 1825 Views | Created by Neha_Soni - Thursday, August 27, 2015 12:14 PM | Last reply by Just Karl - Friday, August 28, 2015 4:51 PM -
0 Votes
Annotating Data Flow Tasks
you can add annotations to data flow as below by right clicking inside and choosing Add Annotation ...Answered | 2 Replies | 1011 Views | Created by Adam Quark - Monday, February 3, 2014 4:33 PM | Last reply by Adam Quark - Monday, February 3, 2014 8:18 PM -
1 Votes
How do I setup my TableEntity class to use Data Annotations model validation with PK & RK
I have run into some kind of model validation exception on the delete of DetailsView and GridView rows that are hooked up to DeleteMethod with data annotations model ...Answered | 9 Replies | 6844 Views | Created by Luke Latham - Monday, September 22, 2014 3:10 PM | Last reply by Luke Latham - Sunday, October 5, 2014 9:04 PM -
0 Votes
Data Annotations on string array for email addresses
You can build custom validation attribute to do that.Answered | 1 Replies | 5959 Views | Created by spark29er - Friday, September 18, 2015 5:07 PM | Last reply by MasaSam - Sunday, September 20, 2015 7:26 AM -
1 Votes
MVC - Custom Data Annotations in Partial Views
I added the usual data annotation decoration in my class members for example [Required, Error Message="This field is required.Answered | 4 Replies | 11020 Views | Created by Alberto Montellano - Wednesday, January 19, 2011 9:58 PM | Last reply by Just Karl - Tuesday, January 14, 2014 11:44 PM -
0 Votes
Annotation help
Annotations may use different coordinate systems.Answered | 3 Replies | 4745 Views | Created by JoeWilcox - Monday, December 15, 2008 8:40 PM | Last reply by Alex Gorev - Tuesday, December 16, 2008 12:45 AM -
0 Votes
Annotation Placement
I have same problem but some of my annotations are anchored on the same point.Answered | 2 Replies | 4822 Views | Created by ScottyDoesKnow - Friday, February 6, 2009 7:03 PM | Last reply by hsachdevah - Saturday, July 25, 2009 2:32 PM -
1 Votes
Annotation
You can also associate your annotation with the axis coordinate system and use axis values to position your axis.Answered | 7 Replies | 8485 Views | Created by C-Charp - Thursday, November 6, 2008 4:08 PM | Last reply by DaSparz - Tuesday, May 4, 2010 6:21 PM -
0 Votes
How to define Validation in DB First
For the data annotations not to disappear when you are updating your model from the database and the entity classes are regenerated you should place your ...Answered | 1 Replies | 1146 Views | Created by O. Kaufmann - Friday, May 31, 2013 6:31 AM | Last reply by Magnus (MM8) - Friday, May 31, 2013 1:28 PM -
1 Votes
How to check if a model is valid or not?
Hi I have validation on my domain objects.Answered | 2 Replies | 4778 Views | Created by Rashid Mousavy Khoshrou - Monday, January 16, 2012 6:08 PM | Last reply by Thomas Ziegler - Monday, February 27, 2012 12:59 PM -
0 Votes
Code First Data Annotations Generation bug report
I believe what cole wu means is like public class Blog { [Key] public int PrimaryTrackingKey { get; set; } public string Title { get; set; } ...Answered | 2 Replies | 404 Views | Created by jzrobot - Tuesday, April 12, 2016 3:56 PM | Last reply by chanmm - Tuesday, April 19, 2016 8:41 AM -
0 Votes
Code-First Data Annotations [Attributes] ... what assembly are they in?
The blog post here: http://blogs.msdn.com/b/efdesign/archive/2010/03/30/data-annotations-in-the-entity-framework-and-code-first.aspx Contains ...Answered | 2 Replies | 6790 Views | Created by Phil Cockfield - Sunday, July 18, 2010 9:37 PM | Last reply by Phil Cockfield - Monday, July 19, 2010 5:49 PM -
2 Votes
TFS annotate help
I changed the check in policy to include comments but not getting it appended to the file ..how to achieve it?Answered | 6 Replies | 5141 Views | Created by cooolgirl - Wednesday, May 13, 2009 9:31 PM | Last reply by Subodh Sohoni - Friday, May 15, 2009 12:46 PM -
4 Votes
How to check DATE is valid or not
Besides using better functions like GOMONTH, you also get a direct feedback about the validity of a date from DATE() by putting in the year, month, day of a date you want to test.Answered | 4 Replies | 2504 Views | Created by ShahidSQL - Monday, February 27, 2017 10:42 AM | Last reply by Zhanglong Wu - Friday, March 3, 2017 9:01 AM -
0 Votes
Annotations and WriteXml
We cannot simplely to use the WriteXml and ReadXml operate the annotations.Answered | 5 Replies | 4794 Views | Created by LauraVT2001 - Thursday, September 1, 2011 5:14 PM | Last reply by Jie Bao - Tuesday, September 13, 2011 11:23 AM -
0 Votes
Annotation not staying anchored to DataPoint
I had to set the annotation Tag property to the data series point number before I add the annotation since I couldn't find where to get it from the annotation ...Answered | 3 Replies | 337 Views | Created by ejanuska - Tuesday, March 22, 2016 12:54 PM | Last reply by ejanuska - Tuesday, March 22, 2016 9:26 PM -
0 Votes
Annotate columns of a table in Azure Data Catalog using Excel
An (unsupported) example of how to do that is provided here.Answered | 1 Replies | 510 Views | Created by Annotate Columns using Excel - Wednesday, May 16, 2018 11:50 AM | Last reply by VairavanS (Azure) - Thursday, May 24, 2018 7:34 PM -
0 Votes
Annotation Question
Can someone point me to an example that shows how to reserve the space and setup the annotation to show the Total.Answered | 1 Replies | 3843 Views | Created by EJLindsay - Monday, April 27, 2009 9:16 AM | Last reply by DelianT - Monday, April 27, 2009 4:58 PM - Items 1 to 20 of 3064129 Next ›
No announcements