

Is there a dependable way to set a width attribute forDropDown Tools on Internet Explorer 7?
Sometimes the DropDowns render fine. [image 1]
Sometimes they don’t: [image 2] (this was over a callback cycle)
And then, sometimes, it appears to depend upon thepresence or absence of content in the ContentArea.
When this happens, you can see the Toolbar render fine,at first, but then, as the load finishes, it reorganizes, collapsing theDropDowns and rolling-up the controls to fill.
Anomaly does not present on FireFox3 or Chrome1. Does notpresent on IE6/Win2000, or Safari3/OSX, either.
Good Ol’ Explorer 7
Any magic bullet for this? Some way jam a width, or forcethe DropDown container to respond to the width of its content? Or maybe kickthe Toolbar to make it to re-render its component tools correctly?
Project:
Dev Specs:
Thanks in advance

| Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load | |
| If Not Page.IsPostBack Then | |
| box1.SelectedIndex = 0 | |
| If Not Request.QueryString("terr") Is Nothing Then | |
| Dim myterr As String | |
| myterr = Server.UrlDecode(Request.QueryString("terr")) | |
| For Each item As RadComboBoxItem In box1.Items | |
| myterr = myterr & " - " & item.Value | |
| If Trim(item.Value) = Trim(myterr) Then | |
| item.Selected = True | |
| End If | |
| Next | |
| Label2.Text = myterr | |
| ' box1.SelectedValue = Request.QueryString("terr") | |
| Else | |
| Label2.Text = " " | |
| End If | |
| End If |
| <%@ Page Language="VB" MasterPageFile="~/SalesTools.master" AutoEventWireup="false" CodeFile="prospects.aspx.vb" Inherits="prospects" title="Prospects" %> | |
| <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> | |
| <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> | |
| <telerik:RadComboBox ID="RadioButtonList1" runat="server" AutoPostBack="True" | |
| DataSourceID="SqlDataSource2" DataTextField="CODETERR" DataValueField="CODETERR" | |
| RepeatDirection="Horizontal" Skin="Hay" > | |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> | |
| </telerik:RadComboBox > | |
| <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label> | |
| | |
| <asp:GridView ID="gvProspects" runat="server" AutoGenerateColumns="False" DataKeyNames="CustomerID" | |
| DataSourceID="SqlDataSource1" BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" CellPadding="4" EnableTheming="True" GridLines="Horizontal" SkinID="prospectgrid"> | |
| <Columns> | |
| <asp:TemplateField InsertVisible="False" ShowHeader="False"> | |
| <EditItemTemplate> | |
| <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="True" CommandName="Update" | |
| Text="Update"></asp:LinkButton> | |
| <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandName="Cancel" | |
| Text="Cancel"></asp:LinkButton> | |
| </EditItemTemplate> | |
| <ItemTemplate> | |
| <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Edit" | |
| Text="Edit"></asp:LinkButton> | |
| </ItemTemplate> | |
| </asp:TemplateField> | |
| <asp:BoundField DataField="CustomerID" HeaderText="CustomerID" InsertVisible="False" | |
| ReadOnly="True" SortExpression="CustomerID" /> | |
| <asp:TemplateField HeaderText="NameCust" SortExpression="NameCust"> | |
| <EditItemTemplate> | |
| <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("NameCust") %>'></asp:TextBox> | |
| </EditItemTemplate> | |
| <ItemTemplate> | |
| <asp:Label ID="Label1" runat="server" Text='<%# Bind("NameCust") %>'></asp:Label> | |
| </ItemTemplate> | |
| </asp:TemplateField> | |
| </Columns> | |
| <FooterStyle BackColor="White" ForeColor="#333333" /> | |
| <RowStyle BackColor="White" ForeColor="#333333" /> | |
| <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" /> | |
| <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" /> | |
| <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" /> | |
| </asp:GridView> | |
| <asp:Panel ID="Panel1" runat="server" Height="50px" Width="548px"> | |
| <asp:Button ID="Button1" runat="server" Text="New Prospect" ValidationGroup="insertCust" /> | |
| <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox2" | |
| ErrorMessage="Prospect Name can not be blank" ValidationGroup="insertCust"></asp:RequiredFieldValidator> | |
| <asp:TextBox ID="TextBox2" runat="server" Width="330px" ValidationGroup="insertCust"></asp:TextBox></asp:Panel> | |
| <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:AccPac2ConnectionString %>" | |
| SelectCommand="Select ter.CODETERR from ((SELECT DISTINCT CODETERR FROM dbo.F_arcus() AS F_arcus_1 WHERE (DATELASTIV > dbo.Accpacdate(DATEADD(yyyy, - 1, GETDATE()))) AND (CODETERR <> '')) union (select 'IH')) ter"> | |
| </asp:SqlDataSource> | |
| <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server" Skin="Web20" /> | |
| <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:AccPac2ConnectionString %>" | |
| InsertCommand="INSERT INTO dbo.BudgetProspects(NameCust, CodeTerr) VALUES (@Namecust, @codeterr)" | |
| SelectCommand="SELECT CustomerID, NameCust FROM dbo.BudgetProspects WHERE (CodeTerr = @codeterr)" | |
| UpdateCommand="UPDATE dbo.BudgetProspects SET NameCust = @namecust where customerID = @customerid"> | |
| <UpdateParameters> | |
| <asp:Parameter Name="namecust" /> | |
| <asp:Parameter Name="customerid" /> | |
| </UpdateParameters> | |
| <SelectParameters> | |
| <asp:ControlParameter ControlID="RadioButtonList1" Name="codeterr" PropertyName="SelectedValue" /> | |
| </SelectParameters> | |
| <InsertParameters> | |
| <asp:ControlParameter ControlID="textbox2" Name="Namecust" PropertyName="text" /> | |
| <asp:ControlParameter ControlID="RadioButtonList1" Name="codeterr" PropertyName="SelectedValue" /> | |
| </InsertParameters> | |
| </asp:SqlDataSource> | |
| </asp:Content> |
<
telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
DefaultLoadingPanelID="RadAjaxLoadingPanel1"
OnAjaxRequest="RadAjaxManager1_AjaxRequest" EnableHistory="True">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadMenu1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadMenu1" />
<telerik:AjaxUpdatedControl ControlID="RadGrid1"
LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadMenu1" />
<telerik:AjaxUpdatedControl ControlID="RadGrid1"
LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
