| | | | Browse by category |
Article ID: 750
Last updated: 05 Jan, 2012
Problem
Cause
Action
User needs to set the Max and Min date values for DateTime control type in Grid for .Net
Cause
Action
One can accomplish this using User attributes as follows:
Style style = new Style();
style.Control = Stingray.Grid.ControlType.DateTime;
style.set_UserAttribute(UserAttributeID.DATEMIN,"
style.set_UserAttribute(UserAttributeID.DATEMAX,"
style.set_UserAttribute(UserAttributeID.DATEVALIDMODE,"2");
gridControl1.SetStyleRange(Range.Cell(1,1),style);
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 750
Last updated: 05 Jan, 2012
Revision: 1
Views: 1857
Posted: 29 Dec, 2005 by
Meltreger B.
Updated: 05 Jan, 2012 by
Meltreger B.
Others in this category
Powered by KBPublisher (Knowledge base software)