or
| <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");}}
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Field Leading not found in the source table. Please check the expression syntax.<telerik:RadAjaxPanel ID="rap" runat="server" Width="90%"> <telerik:RadGrid ID="rg" runat="server" AllowAutomaticInserts="false" Skin="Office2007" AllowFilteringByColumn="True" GroupingEnabled="true" EnableViewState="true" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="True" GridLines="None" ShowStatusBar="True" OnNeedDataSource="rg_NeedDataSource" EnableLinqExpressions="true" PageSize="20" Width="97%" ShowGroupPanel="true" OnColumnCreated="rg_ColCreated"> <MasterTableView EnableNoRecordsTemplate="true" CellSpacing="-1" CommandItemDisplay="None" AllowMultiColumnSorting="true" PagerStyle-Position="Bottom" PagerStyle-Mode="NextPrevAndNumeric" ClientDataKeyNames="oid" DataKeyNames="oid"> <NoRecordsTemplate> <div> Geen items gevonden.</div> </NoRecordsTemplate> <Columns> </Columns> </MasterTableView> <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True" ReorderColumnsOnClient="True"> <Selecting AllowRowSelect="True" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" /> </ClientSettings> </telerik:RadGrid></telerik:RadAjaxPanel><table style="width: 100%;"> <tr> <td> <table cellpadding="0" cellspacing="0"> <tr> <td> <asp:RadioButton ID="rbtnq9_2_Y" GroupName="Group9_2" runat="server" Text="Y" /> </td> <td> <asp:RadioButton ID="rbtnq9_2_N" GroupName="Group9_2" runat="server" Text="N" /> </td> </tr> </table> </td> <td> </td> </tr> </table>protected void btnqfollowup_Click(object sender, EventArgs e) { UDFCheckFollowUp(rbtnq9_1_Y, rbtnq9_1_N); } public void UDFCheckFollowUp(RadioButton rbtnq9_1_Y, RadioButton rbtnq9_1_N) { if (rbtnq9_1_Y.Checked == true) { rbtnq9_2_Y.Enabled = true; rbtnq9_2_N.Enabled = true; rbtnq9_3_Y.Enabled = true; rbtnq9_3_N.Enabled = true; DropDownListRating9_3.Enabled = true; } else if (rbtnq9_1_N.Checked == true) { rbtnq9_2_Y.Enabled = false; rbtnq9_2_N.Enabled = false; rbtnq9_3_Y.Enabled = false; rbtnq9_3_N.Enabled = false; DropDownListRating9_3.Enabled = false; } else { rbtnq9_2_Y.Enabled = false; rbtnq9_2_N.Enabled = false; rbtnq9_3_Y.Enabled = false; rbtnq9_3_N.Enabled = false; DropDownListRating9_3.Enabled = false; } }function RadioClickFollowUp(radioButton) { document.getElementById('btnqfollowup').click(); }