or
<telerik:TreeListTemplateColumn HeaderText="Cur. Cumulative Claim " HeaderStyle-Width="100px" DataField="EntQnty" UniqueName="EnterQuantity"> <ItemTemplate> <telerik:RadNumericTextBox MaxLength="5" ID="EntQntyId" Width="80px" runat="server" Text='<%# Bind("EntQnty") %>' onkeydown="return (event.keyCode!=13);" AutoPostBack="true" FocusedStyle-BackColor="Yellow" AutoCompleteType="Disabled" OnTextChanged="EntQntyId_TextChanged"> </telerik:RadNumericTextBox> <asp:HiddenField ID="HdnEqnty" runat="server" Value='<%# Bind("PrevCert") %>' /> <asp:HiddenField ID="HdnQuantity" runat="server" Value='<%# Bind("Quantity") %>' /> </ItemTemplate> </telerik:TreeListTemplateColumn><telerik:GridDateTimeColumn DataField="cycle_date" DataFormatString="{0:d}" FilterControlAltText="Filter column13 column" HeaderText="CYCLE DATE" MinDate="1993-01-01" UniqueName="cycle_date" DataType="System.DateTime" EditDataFormatString="MM/YYYY"> <HeaderStyle HorizontalAlign="Center" /> <ItemStyle HorizontalAlign="Right" Width="125px" /></telerik:GridDateTimeColumn>e name MiddlePane - it's really the right pane (there used to be three).
Also, dv is a DiagramView (from MindFusion).
Nowhere in my code do I explicitly set the width of the left pane - only the right (middle) one.
Any ideas on what might be causing this?
Thanks in advance.
Jimvar splitter = $find("<%=RadSplitter1.ClientID %>"); if (splitter != null) { var leftpane = splitter.getPaneById('<%= LeftPane.ClientID %>'); var midpane = splitter.getPaneById('<%= MiddlePane.ClientID %>'); var leftWidth = leftpane.get_width(); } var dv = document.getElementById("<%= DiagramView1.ClientID %>"); var marginsPlusSpltibar = 35; if (leftpane != null) { //alert("In Resize Main"); // The more standards compliant browsers (mozilla/netscape/opera/chrome/IE7) use window.innerWidth and window.innerHeight if (typeof window.innerWidth != 'undefined') { //alert("One"); alert("leftWidth = " + leftWidth); var txtBannerHeight = document.getElementById('<%=txtBannerHeight.ClientID%>'); var bannerHeight = 0; if (txtBannerHeight != null) bannerHeight = parseInt(txtBannerHeight.value); var newHeight = window.innerHeight - 270 + bannerHeight; midpane.set_height(newHeight); leftpane.set_height(newHeight); var newWidth = (window.innerWidth - leftWidth - marginsPlusSpltibar); midpane.set_width(newWidth); splitter.set_height(newHeight); splitter.set_width(window.innerWidth); if (dv != null) { dv.style.height = (newHeight - 24) + "px"; dv.style.width = (newWidth - 5) + "px"; } }
<telerik:GridBoundColumn DataField="TAB" FilterControlAltText="Filter TAB column" HeaderText="Tab" SortExpression="TAB" UniqueName="TAB"> <ColumnValidationSettings EnableRequiredFieldValidation="True" RequiredFieldValidator-Text="Required - Tab" RequiredFieldValidator-ControlToValidate="TAB"> </ColumnValidationSettings> </telerik:GridBoundColumn>