or
SelectionMode="Multiple" in RadList to select multiple items.
Thansk
| <telerik:radformdecorator id="FormDecorator1" runat="server" decoratedcontrols="CheckBoxes, RadioButtons, Buttons" /> |
| <telerik:RadListBox |
| runat="server" ID="dlUsers" TransferToID="dlUsersAssign" |
| AllowTransfer="true" AllowDelete="false" AllowReorder="false" AllowTransferDuplicates="false" |
| ButtonSettings-ShowTransferAll = "true" |
| TransferMode="Copy" SelectionMode="Multiple" |
| Width = "250px" Height = "110px" Skin="WebBlue"> |
| <Items> |
| <telerik:RadListBoxItem Text="User1" Value="0" /> |
| <telerik:RadListBoxItem Text="User2" Value="1" /> |
| <telerik:RadListBoxItem Text="User3" Value="2" /> |
| <telerik:RadListBoxItem Text="User4" Value="3" /> |
| </Items> |
| </telerik:RadListBox> |
| <telerik:RadListBox |
| runat="server" ID="dlUsersAssign" |
| Width = "250px" Height = "110px" CheckBoxes="true" > |
| <Items> |
| <telerik:RadListBoxItem Text="User6" Value="6" /> |
| <telerik:RadListBoxItem Text="User7" Value="7" /> |
| </Items> |
| </telerik:RadListBox> |
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> functionOnClientItemExpand(sender, args) {varpanel = sender;varitem = args.get_item();if(item && panel) {panel.trackChanges();item.expand();panel.commitChanges();}else{alert("item or panel is null");}}