This is a migrated thread and some comments may be shown as answers.

Miniture grid on load

1 Answer 43 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Rich asked on 08 Oct 2012, 12:54 PM

So far I've not seen this problem anywhere else, and all of the other developers who have a lot more experience with this than I have never seen it either.

I have a grid on a .aspx page, that has data associated with it.  When the page loads there is a VERY small area for the data grid lines(turns out it is 10px).  When I right-click and "refresh" the page, the grid is correctly showing (170px).  The area for the grid appears to be rendering fine, and actually the grid area itself appears to be the correct size, just the data lines (and a miniture scrollbar) show on the initial load, the page refresh shows it just fine. When I debug the page, the correct data is in the grid.

Here is the radWindow definition for the page: 

<rad:RadWindow ID="ctlEmailSubmittals" runat="server" ClientCallBackFunction="RadWindowCallBack"  

Height="700px" Left="" Modal="true" SkinsPath="~/RadControls/Window/Skins"  

Title="Submittal Generated" Top="" VisibleStatusbar="False" Width="1200px"  

Behavior="Close" /> 

And the html:

<form i

d="form1" runat="server"


<rad:RadAjaxManager ID="ctlAjaxMgr" runat="server">   




<rad:AjaxSetting AjaxControlID="ctlAjaxMgr">  




<rad:AjaxUpdatedControl ControlID="rgEmailAddresses" />  






<rad:AjaxSetting AjaxControlID="rgEmailAddresses">  




<rad:AjaxUpdatedControl ControlID="rgEmailAddresses" />  






<rad:AjaxSetting AjaxControlID="ctlABLDirtyFlagLite" />  




<ClientEvents OnRequestStart="DoRequestStartEvents();" OnResponseEnd="DoResponseEndEvents();" />  



...some other html for other parts of the page:
then the grid definition: 







<rad:RadGrid ID="rgEmailAddresses" runat="server" AutoGenerateColumns="False" Skin="ABL_Std"  


DataSourceID="odsContacts" AllowMultiRowSelection="True" Height="170px">  

<MasterTableView CommandItemDisplay="Top" TableLayout="Fixed">  


<RowIndicatorColumn Visible="False">  






<rad:GridTemplateColumn UniqueName="SELECT">  


<HeaderStyle Width="22px" />  




<asp:CheckBox ID="chkHeaderSelect" runat="server" onclick="SelectAllCheckedChanged();" />  






<asp:CheckBox ID="chkSelect" runat="server" onclick="SingleCheckboxCheckedChanged();" /> 






<rad:GridBoundColumn DataField="COMPANY_TYPE" DataType="System.String" HeaderText="Company Type"  


ReadOnly="True" SortExpression="COMPANY_TYPE" UniqueName="company_type">  


<HeaderStyle Width="142px" />  




<rad:GridBoundColumn DataField="COMPANY" DataType="System.String" HeaderText="Company"  


ReadOnly="True" UniqueName="company">  


<HeaderStyle Width="170px" />  




<rad:GridBoundColumn DataField="COMPANY_CONTACT_DATA" DataType="System.String" HeaderText="Contact"  


ReadOnly="True" UniqueName="company_contact_data">  


<HeaderStyle Width="145px" />  




<rad:GridBoundColumn DataField="CONTACT_EMAIL_ADDRESS" DataType="System.String" HeaderText="Email Address"  


ReadOnly="True" UniqueName="contact_email_address"


<HeaderStyle Width="175px" />  










<a href="javascript:void(0);" onclick="AddSelectedEmails();">Add Emails</a>  








<asp:Label ID="label1" Text="No records to display." runat="server"></asp:Label>  








<Selecting AllowRowSelect="False" /> 


<Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="170px" />  








Anyone have any idea of what may be going on?  Been fighting this one for a couple of days now.


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 11 Oct 2012, 04:13 PM

Refer to the support ticket post you have opened on the same matter for additional information. To avoid duplicate posts, we can continue our communication there.

the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question