Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2715
masked cell value
posted

Hi !

I have a problem : i use a mask for a fiscal year column :

            UltraGridColumn column = ulgPricesContract.DisplayLayout.Bands[0].Columns["FY"];

            column.MaskInput = "20##";

            column.MaskDataMode = MaskMode.Raw;

            column.MaskDisplayMode = MaskMode.IncludeBoth;

The problem is that when I use the datareader.update method, to update my database based on the modifications in the grid, it save only 2 numbers (if 2012, it saves just 12), and looses the mask. What/how can i set the mask so that the cell value will also contain the mask ?

Thank you!