I try to use the GridMaskcolumn, RadNumericTextBox1 and RadMaskedTextBox
Why are the controls not the same:
- I was hoping the GridMaskedColumn en the RadMaskedTextBox are the same with the parameters. e.g. DisplayMask
- Is it possible that when I use then Mask that when I press , (comma) or . (point) the cursor is moving to behind the decimal?
I have to move the cursor by mouse or cursorkeys.
- Why make different controls with the same purpose.
Can you make one control say: RadTextBox and make it with Mask, Numeric, Date what ever you want.
I don't know where to put the suggestions so i placed them in the forum.
<telerik:GridTemplateColumn HeaderText="Korting" SortExpression="oplgl_korting" UniqueName="oplgl_kortingTemp"> <ItemStyle HorizontalAlign="Left"></ItemStyle> <ItemTemplate> <%#Format(Eval("oplgl_korting"), "##0.00")%> </ItemTemplate> <EditItemTemplate> <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" DataType="System.Decimal"MaxLength="6" Font-Size="10px" MaxValue="999.99" MinValue="0" Type="Number" NumberFormat-DecimalDigits="2"DbValue='<%# Bind("oplgl_korting") %>' /> <telerik:RadMaskedTextBox ID="RadMaskedTextBox1" runat="server"DisplayMask="###,##"Mask="###,##"NumericRangeAlign="Left"DisplayFormatPosition="Right"DisplayPromptChar="_" Text='<%# Bind("oplgl_korting") %>' > </telerik:RadMaskedTextBox> </EditItemTemplate> </telerik:GridTemplateColumn>