I've got an interesting situation that I'm having a bit of trouble with and I was hoping someone could help me out.
I'm using a GridView to display a Key->Value pair, where the data type can vary between Integers, Strings, Currency, and DateTime.
I am catching the CellFormatting event in GridView and am able to properly draw the controls for each data type without much trouble, but I need a way to stop text from being typed into certain cells...
I know it can be done with a GridViewMaskBoxColumn, but as I've said - I have many different types of data, so that doesn't apply here.
My first intention was to use a RadSpinElement, which seemed to work at first, however when the data changes and it redraws itself, the text/number area of the element moves about 5 pixels to the left and is very annoying. I've tried setting several layout and sizing options for the element, but can't seem to get it to draw correctly..
My second choice was to use a Masked Text Box element, but apparently the Masking feature that I need is in the Control, and not the element, so that won't work either..
Does anyone have any suggestions?
Thanks.
I'm using a GridView to display a Key->Value pair, where the data type can vary between Integers, Strings, Currency, and DateTime.
I am catching the CellFormatting event in GridView and am able to properly draw the controls for each data type without much trouble, but I need a way to stop text from being typed into certain cells...
I know it can be done with a GridViewMaskBoxColumn, but as I've said - I have many different types of data, so that doesn't apply here.
My first intention was to use a RadSpinElement, which seemed to work at first, however when the data changes and it redraws itself, the text/number area of the element moves about 5 pixels to the left and is very annoying. I've tried setting several layout and sizing options for the element, but can't seem to get it to draw correctly..
My second choice was to use a Masked Text Box element, but apparently the Masking feature that I need is in the Control, and not the element, so that won't work either..
Does anyone have any suggestions?
Thanks.