or
| <MasterTableView |
| HierarchyDefaultExpanded="True" HierarchyLoadMode="Client" |
| Width="100%" |
| EditMode="inline" DataKeyNames="Id,ParentId,Name" > |
| <SelfHierarchySettings ParentKeyName="ParentId" KeyName="Id" /> |
| <Columns> |
| <telerik:GridBoundColumn DataField="Name" HeaderText="Name" UniqueName="Name" ReadOnly="true"> |
| <HeaderStyle Width="150px" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn UniqueName="Value" HeaderText="Value" DataField="Value"> |
| <HeaderStyle Width="100px" /> |
| <ItemTemplate> |
| <asp:TextBox ID="stringValue" runat="Server" Visible="false" /> |
| <telerik:RadNumericTextBox ID="intValue" runat="Server" Skin="RxLink" EnableEmbeddedSkins="false" Visible="false" SelectionOnFocus="SelectAll"> <NumberFormat DecimalDigits="0" AllowRounding="false" KeepNotRoundedValue="true" DecimalSeparator="." />
|
| </telerik:RadNumericTextBox> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| </Columns> |
| </MasterTableView> |
| NumberFormat.Round=function(_1,_2){ |
| if(!_2.NumberFormat.AllowRounding){ |
| return _1; |
| } |
| foreach (GridBoundColumn col in rGridNotes.MasterTableView.AutoGeneratedColumns) |
| { |
| if (col.UniqueName == "Type") |
| { |
| col.HeaderStyle.Width = 20; |
| } |
| } |
I'm trying to add RadUpload control into Usercontrol edit form in RadGrid. When I do that I dont' see Select button and text box. I only see Add & Delete buttons. Secondly, I'm trying to do FormDecoration in Usercontrol edit form for RadGrid and for some reason it is not working. Meaning, checkbox'es would not appear. But, If I remove Decoration then they would appear. Any help is greatly appreciated.
| style="width: 100%;" |