When I turn off scrolling ".rgDataDiv" no longer gets emitted, and I lose the ability to set a minimum height. If I have no records I'm OK because I can use the NoRecords template to set an empty table. If I have over a page of rows, I'm good because I turned off scrollbars. BUT, if I only have a few rows, the grid stops after the last row, leaving most of the page blank. Without ".rgDataDiv" I can't set a min height. Any Ideas?
<telerik:RadGrid runat="server" ID="RadGridIncomeOfficeRetailRentRoll" CellSpacing="0" GridLines="None" DataSourceID="ObjectDataSourceRetailIndusOfficeRentRoll" OnItemCommand="RadGridRentRollROI_ItemCommand" AllowSorting="True" AutoGenerateColumns="False" PageSize="20" AllowPaging="true" AllowFilteringByColumn="false"AllowMultiRowSelection="false" HeaderStyle-Font-Bold="true" CssClass="GridHeightSet"> <ClientSettings EnableRowHoverStyle="True"> <Scrolling AllowScroll="False" UseStaticHeaders="True" SaveScrollPosition="True" /> <Selecting AllowRowSelect="true" /> </ClientSettings> <MasterTableView DataSourceID="ObjectDataSourceRetailIndusOfficeRentRoll" OverrideDataSourceControlSorting="true" DataKeyNames="TRRD_ID" CommandItemDisplay="None" EnableNoRecordsTemplate="True"> <NoRecordsTemplate> <table width="100%" border="0" cellpadding="20" cellspacing="20" style="height: 250px;"> <tr> <td></td> </tr> </table> </NoRecordsTemplate>
When editing numbers in a TreeListNumericColumn, some fractions are rounded down if the SQL data type is real. E.g. 1.4 shows up in read mode, but in edit mode it is 1.39. This does not happen with the RadGrid box. See the picture attached. It's a tree list and a rad grid - both using the same SQL data source.
Source code:
<telerik:RadTreeList runat="server" DataSourceID="sql" ParentDataKeyNames="parent_id" DataKeyNames="id" Caption="TreeList" EditMode="InPlace"> <Columns> <telerik:TreeListEditCommandColumn ShowAddButton="false" /> </Columns></telerik:RadTreeList><br /><br /><telerik:RadGrid runat="server" DataSourceID="sql" AllowAutomaticUpdates="true" MasterTableView-Caption="Grid" > <MasterTableView EditMode="InPlace"> <Columns> <telerik:GridEditCommandColumn /> </Columns> </MasterTableView></telerik:RadGrid><asp:SqlDataSource runat="server" ID="sql" ConnectionString="<%$ ConnectionStrings:SqlDB%>" CancelSelectOnNullParameter="false" SelectCommand="select 0 id, convert(real, 1.4000) real_value, convert(decimal(10,4), 1.4) decimal_value, null parent_id " />Hi,
How to i load all the jpg and png files from specific folder into RadImageGallery from server side?
Thank You
Hi there,
I want to align the items to the left (see attachment).
Any idea?
Regards,
Marcel

<form id="form1" runat="server"> <telerik:RadScriptManager runat="server" /> <div> <telerik:RadScriptBlock> <script type="text/javascript"> function testButtonClicking(sender, args) { var confirmed = confirm("Are you sure you want to postback?"); if (confirmed) sender.click(); // I wouldn't think this would be neccesary? else args.set_cancel(true); } </script> </telerik:RadScriptBlock> <telerik:RadButton runat="server" ID="TestButton" Text="Test Confirm" ButtonType="StandardButton" OnClientClicking="testButtonClicking" OnClick="TestButton_Click" AutoPostBack="true" /> </div></form>protected void TestButton_Click(object sender, EventArgs e){ Page.Response.Write("posted back");}