Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
179 views
I have a listbox that I set up to simply reload the data from the code behind based on a selection change to a radio button. It is performing the reload properly, but I'm seeing the page actually "reload" or "flicker" when it executes instead of doing it seemlessly.

I have used the AjaxManager fine with other projects in the past and works as expected. However, I have used it in aspx pages that didn't have a masterpage attached to it with no problem. I am using it now inside a user control within an aspx page. That aspx page has a master page associated with it that already contains the RadScriptManager, so I obvioulsy can't put it inside my user control; otherwise I'd get the msg that I can only have 1 script manager tag.

Could you please let me know what I'm doing incorrectly in this scenario? See the boldfacing for clarity...

Here is my html which is in a user control:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="lstPatientEDLogs">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="lstPatientEDLogs" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<table cellpadding="1" cellspacing="1" width="100%">
    <tr>
        <td>
            <asp:Panel ID="pnlData" runat="server" GroupingText="Data Type" Width="1100px">
                <asp:RadioButtonList ID="rblDataType" RepeatDirection="Horizontal" TextAlign="Right"
                    runat="server" Width="100%" AutoPostBack="true" OnSelectedIndexChanged="rblDataType_SelectedIndexChanged">
                    <asp:ListItem Text="Chart ==> Demographics" Selected="True"></asp:ListItem>
                    <asp:ListItem Text="Patient ==> Coding"></asp:ListItem>
                </asp:RadioButtonList>
            </asp:Panel>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Panel ID="pnlDate" runat="server" ScrollBars="Horizontal" GroupingText="Date Filter">
                <table>
                    <tr>
                        <td>
                            Date Of Service:
                        </td>
                        <td>
                            <asp:ListBox ID="lstPatientEDLogs" runat="server" Rows="1"></asp:ListBox>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </td>
    </tr>

Here is my code behind:

private void LoadDatesofSvc()
        {
            lstPatientEDLogs.Items.Clear();

            if (rblDataType.SelectedItem.Text == "Patient ==> Coding")
            {
                var query = DbContext.SelectPatientEDLogs();

                string strDate = "";
                foreach (var q in query)
                {
                    DateTime dt = q.DateOfService ?? DateTime.Now;
                    strDate = dt.ToString("MM/dd/yyyy");

                    lstPatientEDLogs.Items.Add(new ListItem(strDate, strDate));
                }
                lstPatientEDLogs.Items.Insert(0, "");
            }
            else if (rblDataType.SelectedItem.Text == "Chart ==> Demographics")
            {
                var query = DbContext.SelectEDLogs();

                string strDate = "";
                foreach (var q in query)
                {
                    DateTime dt = q.DateOfService ?? DateTime.Now;
                    strDate = dt.ToString("MM/dd/yyyy");

                    lstPatientEDLogs.Items.Add(new ListItem(strDate, strDate));
                }
                lstPatientEDLogs.Items.Insert(0, "");
            }
        }

       
        protected void rblDataType_SelectedIndexChanged(Object sender, EventArgs e)
        {
            LoadDatesofSvc();
        }

Bill
Top achievements
Rank 2
 answered on 20 Jan 2011
8 answers
221 views
All,
I have two RadDateTimepickers within a MasterTableViewEditForm view in a radgrid. Everything works fine, but after interacting with the page or hitting the cancel button a few times, then I get the following error:

'this.get_timeview()' is null or not an object.

This only happens after going to edit a record and then hitting the cancel button after three times.
Below is the code for my RadGrid:
<telerik:RadGrid ID="RadGrid2" runat="server" AllowAutomaticDeletes="True"   
                                                             
    AllowAutomaticInserts="True" AllowAutomaticUpdates="True"   
                                                           AutoGenerateEditColumn="True"   
                                       DataSourceID="SqlDataSource2" GridLines="None"   
                                                             
    ShowGroupPanel="True" Skin="Web20" Width="95%" AllowPaging="True" ShowFooter="True"   
                        PageSize="5">  
                        <mastertableview autogeneratecolumns="False"   
                                                           datasourceid="SqlDataSource2"   
                            CommandItemDisplay="Top">  
                            <EditItemTemplate> 
                                  
                            </EditItemTemplate> 
                            <nestedviewtemplate> 
                                 
                            </nestedviewtemplate> 
                            <CommandItemSettings AddNewRecordText="Add New Day" /> 
                            <expandcollapsecolumn visible="True">  
                            </expandcollapsecolumn> 
                            <Columns> 
                                <telerik:GridTemplateColumn HeaderText="Delete?" UniqueName="TemplateColumn">  
                                    <ItemTemplate> 
                                        <asp:ImageButton ID="btndeleteday" runat="server" CommandName="DeleteDay"   
                                            Height="25px" ImageUrl="~/images/recyclebin.png"    
                                            Width="25px" onclick="btndeleteday_Click" /> 
                                        <cc1:ConfirmButtonExtender ID="btndeleteday_ConfirmButtonExtender"   
                                            runat="server" ConfirmOnFormSubmit="True"   
                                            ConfirmText="Are you sure you want to delete this day?" Enabled="True"   
                                            TargetControlID="btndeleteday">  
                                        </cc1:ConfirmButtonExtender> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" HeaderText="ID"   
                                                                   ReadOnly="True" SortExpression="ID"   
                                    UniqueName="ID">  
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="LeaveType" HeaderText="Type"   
                                                                   SortExpression="LeaveType"   
                                    UniqueName="LeaveType">  
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="LeaveRequestDate" HeaderText="Request Date"   
                                                                   SortExpression="LeaveRequestDate"   
                                    UniqueName="LeaveRequestDate">  
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="LeaveHours" HeaderText="Hours"   
                                                                   SortExpression="LeaveHours"   
                                    UniqueName="LeaveHours">  
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="StartTime" DataType="System.DateTime"   
                                                                   HeaderText="Start Time"   
                                    SortExpression="StartTime" UniqueName="StartTime">  
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="EndTime" DataType="System.DateTime"   
                                                                   HeaderText="End Time"   
                                    SortExpression="EndTime" UniqueName="EndTime">  
                                </telerik:GridBoundColumn> 
                            </Columns> 
                            <editformsettings editformtype="Template">  
                                <editcolumn uniquename="EditCommandColumn1">  
                                </editcolumn> 
                                <formtemplate> 
                                <fieldset style="padding:10px;">  
                                <legend style="padding:5px;"><b>Edit Action: </b> 
                               <b> - </b> 
                           <asp:Label ID="lblstatus" Font-Bold="True" Font-Italic="True"   
                               Text='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "Insert", "Update") %>'  runat="server" /> 
                       </legend> 
                                    <asp:SqlDataSource ID="LeaveTypes" runat="server"   
                                                           ConnectionString="<%$ ConnectionStrings:TimetrexLeaveTestingConnectionString %>"   
                                                             
                                        SelectCommand="SELECT [ID], [LeaveType] FROM [LeaveTypes]">  
                                    </asp:SqlDataSource> 
                                    <table class="TableNonImportantText" style="table-layout: auto; text-align: left; white-space: nowrap; width: 100%">  
                                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText="The following errors need to be corrected before you can Edit/Insert a day!" /> 
                                        <tr> 
                                            <td class="style63" nowrap="nowrap">  
                                                Leave Type:</td> 
                                            <td class="style54">  
                                                <telerik:RadComboBox ID="drptypeleave" Runat="server" DataSourceID="LeaveTypes"   
                                                    DataTextField="LeaveType" DataValueField="ID" Skin="Web20"   
                                                    SelectedValue='<%# Bind("LeaveType_Fkey") %>'>  
                                                </telerik:RadComboBox> 
                                            </td> 
                                            <td class="style61">  
                                                </td> 
                                            <td class="style61">  
                                                &nbsp;</td> 
                                            <td class="style60">  
                                                </td> 
                                            <td class="style54">  
                                                <asp:Label ID="lblid" runat="server" Text='<%# eval("LeaveRequest_Fkey") %>'   
                                                    Visible="False"></asp:Label> 
                                                <asp:Label ID="lblLeaveDateID" runat="server" Text='<%# eval("ID") %>'   
                                                    Visible="False"></asp:Label> 
                                            </td> 
                                            <td class="style56">  
                                                </td> 
                                            <td class="style54">  
                                                </td> 
                                            <td class="style54">  
                                                </td> 
                                        </tr> 
                                        <tr> 
                                            <td class="style63" nowrap="nowrap">  
                                                Start Time:</td> 
                                            <td class="style58" nowrap="nowrap">  
                                                <telerik:RadDateTimePicker ID="RadDateTimePickerStart" Runat="server"   
                                                                                   Culture="English (United States)"    
                                                                                   Skin="Web20"   
                                                    DbSelectedDate='<%# Bind("StartTime") %>'>  
                                                    <calendar skin="Web20" usecolumnheadersasselectors="False"   
                                                                                   userowheadersasselectors="False"   
                                                        viewselectortext="x">  
                                                    </calendar> 
                                                    <timeview cellspacing="-1">  
                                                    </timeview> 
                                                    <timepopupbutton hoverimageurl="" imageurl="" /> 
                                                    <datepopupbutton hoverimageurl="" imageurl="" /> 
                                                </telerik:RadDateTimePicker> 
                                            </td> 
                                            <td class="style62" nowrap="nowrap">  
                                                <asp:RequiredFieldValidator ID="BeginValidator" runat="server"   
                                                    ControlToValidate="RadDateTimePickerStart"   
                                                    ErrorMessage="An begin date is required to submit a leave request!"   
                                                    Text="*"></asp:RequiredFieldValidator> 
                                            </td> 
                                            <td class="style62" nowrap="nowrap">  
                                                &nbsp;</td> 
                                            <td class="style60" nowrap="nowrap">  
                                                End Time:</td> 
                                            <td class="style58" nowrap="nowrap">  
                                                <telerik:RadDateTimePicker ID="RadDateTimePickerEnd" Runat="server"   
                                                                                   Culture="English (United States)" 
                                                                                   Skin="Web20"   
                                                    DbSelectedDate='<%# Bind("EndTime") %>'>  
                                                    <calendar skin="Web20" usecolumnheadersasselectors="False"   
                                                                                   userowheadersasselectors="False"   
                                                        viewselectortext="x">  
                                                    </calendar> 
                                                    <timeview cellspacing="-1">  
                                                    </timeview> 
                                                    <timepopupbutton hoverimageurl="" imageurl="" /> 
                                                    <datepopupbutton hoverimageurl="" imageurl="" /> 
                                                </telerik:RadDateTimePicker> 
                                            </td> 
                                            <td class="style45" nowrap="nowrap">  
                                                <asp:RequiredFieldValidator ID="EndValidator" runat="server"   
                                                    ControlToValidate="RadDateTimePickerEnd"   
                                                    ErrorMessage="An end time is required to submit a leave request! "   
                                                    Text="*"></asp:RequiredFieldValidator> 
                                            </td> 
                                            <td class="style41">  
                                                &nbsp;</td> 
                                            <td class="style41">  
                                            </td> 
                                        </tr> 
                                        <tr> 
                                            <td class="style63" nowrap="nowrap">  
                                                <asp:Button ID="btnUpdate" runat="server"   
                                                                                   CommandName='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "PerformInsert", "Update")%>'   
                                                                                   Text='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "Insert", "Update") %>'   
                                                                                   Width="79px" /> 
                                            </td> 
                                            <td class="style58" nowrap="nowrap">  
                                                <asp:Button ID="btncancel" runat="server" CausesValidation="False"   
                                                                                   CommandName="Cancel" Text="Cancel"   
                                                    Width="79px"  /> 
                                            </td> 
                                            <td class="style62" nowrap="nowrap">  
                                                &nbsp;</td> 
                                            <td class="style62" nowrap="nowrap">  
                                                &nbsp;</td> 
                                            <td class="style60" nowrap="nowrap">  
                                                &nbsp;</td> 
                                            <td class="style58" nowrap="nowrap">  
                                                &nbsp;</td> 
                                            <td class="style45" nowrap="nowrap">  
                                                &nbsp;</td> 
                                            <td class="style41">  
                                                &nbsp;</td> 
                                            <td class="style41">  
                                                &nbsp;</td> 
                                        </tr> 
                                        <tr> 
                                            <td class="style54" colspan="9">  
                                                <div id="validation" runat="server" visible="true" > 
                                                    <asp:CustomValidator ID="HoursPositive" runat="server"   
                                                        ControlToValidate="RadDateTimePickerStart" ErrorMessage=""   
                                                        OnServerValidate="ServerValidate"></asp:CustomValidator> 
                                                    <asp:CustomValidator ID="HoursCheck" runat="server"   
                                                        ControlToValidate="RadDateTimePickerStart" ErrorMessage=""   
                                                        OnServerValidate="ServerValidate"></asp:CustomValidator> 
                                                    <asp:CustomValidator ID="NoDays" runat="server"   
                                                        ControlToValidate="RadDateTimePickerStart" ErrorMessage=""   
                                                        OnServerValidate="ServerValidate"></asp:CustomValidator> 
                                                    <asp:CustomValidator ID="HoursUsable" runat="server"   
                                                        ControlToValidate="RadDateTimePickerStart" ErrorMessage=""   
                                                        OnServerValidate="ServerValidate"></asp:CustomValidator> 
                                                </div> 
                                            </td> 
                                        </tr> 
                                    </table> 
                                    <telerik:RadAjaxManager ID="RadAjaxManager3" runat="server">  
                                        <ajaxsettings> 
                                            <telerik:AjaxSetting AjaxControlID="grddays">  
                                                <updatedcontrols> 
                                                    <telerik:AjaxUpdatedControl ControlID="grddays"   
                                                                                       LoadingPanelID="radajaxloadingpanel1" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="btnsubmit" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="lblhoursannual" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="lblhourssick" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="lblhoursjury" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="lblhoursbereavement" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="lblhoursmilitary" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="lblhourscomp" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="lblhourswithoutpay" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="lblholidaypay" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="txtcomments" /> 
                                                    <telerik:AjaxUpdatedControl ControlID="validationsummary1" /> 
                                                </updatedcontrols> 
                                            </telerik:AjaxSetting> 
                                            <telerik:AjaxSetting AjaxControlID="grddays">  
                                                <updatedcontrols> 
                                                    <telerik:AjaxUpdatedControl controlid="grddays" /> 
                                                </updatedcontrols> 
                                            </telerik:AjaxSetting> 
                                        </ajaxsettings> 
                                    </telerik:RadAjaxManager> 
                                    <br /> 
                                    </fieldset></formtemplate>  
                            </editformsettings> 
                            <CommandItemTemplate> 
                                <table class="style11">  
                                    <tr> 
                                        <td class="style54">  
                                            <asp:Image ID="Image6" runat="server" Height="25px"   
                                                                               ImageUrl="~/images/folder_green.png"   
                                                Width="25px" /> 
                                        </td> 
                                        <td> 
                                            <asp:LinkButton ID="LinkButton4" runat="server" CommandName="InitInsert">Add New   
                                            Day</asp:LinkButton> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </CommandItemTemplate> 
                        </mastertableview> 
                        <clientsettings allowdragtogroup="True">  
                        </clientsettings> 
                    </telerik:RadGrid> 
Any help would be greatly appreciated.
Rory
Top achievements
Rank 1
 answered on 20 Jan 2011
2 answers
63 views
Hello,
I've built a UserControl.ascx that consists of a RadGrid using an inline editor and a DateTimePicker column. This UserControl works fine on ordinary aspx pages but once I place this UserControl in a RadWindow the DateTimePicker breaks. I tried turning off the picker by setting "PickerType='None'" and the error went away. How can we get the DateTime Pickers to work. Please help.

The error:
"Line: 6517
Error: 'this.get_timeView()' is null or not an object"

The Telerik Code piece:
{var a=Telerik.Web.UI.RadDateTimePicker.TimePopupInstances[this.get_timeView().get_id()];

Thanks.
Rory
Top achievements
Rank 1
 answered on 20 Jan 2011
2 answers
59 views

I have a radgrid with lots columns, lot of dropdown filter columns(created by using the following example for dropdown filter column)

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx

Everything works fine except can not get rid of IE horizontal  scroll bar .  I tried Style="overflow: hidden; ", but doesn't work.

If I removed several dropdown filter column, the probelm can be solved but obviously I need to keep those dropdown filter column.

I only need the grid scroll bar, not the browser scroll bar.  How can I get rid of the broswer scroll bar?

Please help.

JJ
Top achievements
Rank 1
 answered on 20 Jan 2011
1 answer
65 views
Hello,

I have a problem in displaying the returned value from Database in the radcombobox. In other words if I put the following code in the RadGrid EditForm then I can't submit the changes (If I click update I recieve an error):
<telerik:RadComboBox ID="CstmrIDRadComboBox" OffsetX="-20" Skin="Vista" 
                            runat="server" Width="250px" Height="150px" AutoPostBack="false"
                            EnableLoadOnDemand="true" ShowMoreResultsBox="true" DataValueField="CstmrID" DataTextField="CstmrName"
                            EnableVirtualScrolling="true"  SelectedValue='<%# DataBinder.Eval( Container, "DataItem.CstmrID" ) %>' >
                            <WebServiceSettings Method="GetCstmrsNames" Path="AddBsns.aspx" />

and
private const int ItemsPerRequest = 10;
[WebMethod]
public static RadComboBoxData GetCstmrsNames(RadComboBoxContext context)
{
    DataTable data = GetData(context.Text);
    RadComboBoxData comboData = new RadComboBoxData();
    int itemOffset = context.NumberOfItems;
    int endOffset = Math.Min(itemOffset + ItemsPerRequest, data.Rows.Count);
    comboData.EndOfItems = endOffset == data.Rows.Count;
    List<RadComboBoxItemData> result = new List<RadComboBoxItemData>(endOffset - itemOffset);
    for (int i = itemOffset; i < endOffset; i++)
    {
        RadComboBoxItemData itemData = new RadComboBoxItemData();
        itemData.Text = data.Rows[i]["CstmrName"].ToString();
        itemData.Value = data.Rows[i]["CstmrID"].ToString();
        result.Add(itemData);
    }
    comboData.Message = GetStatusMessage(endOffset, data.Rows.Count);
    comboData.Items = result.ToArray();
    return comboData;
}
private static DataTable GetData(string text)
{
    SqlDataAdapter adapter = new SqlDataAdapter("SELECT * from Customers WHERE CstmrName LIKE @text + '%'",
        ConfigurationManager.ConnectionStrings["MapConnectionString"].ConnectionString);
    adapter.SelectCommand.Parameters.AddWithValue("@text", text);
    DataTable data = new DataTable();
    adapter.Fill(data);
    return data;
}
private static string GetStatusMessage(int offset, int total)
{
    if (total <= 0)
        return "No matches";
    return String.Format("{0} <b>1</b>-<b>{1}</b> {2} <b>{3}</b>", "Customers", offset, "Of", total);
}

Please, can you explain to me what is the problem and how can I fix it.
It is appreciated to send me the modified code.

Regards,
Bader
Kalina
Telerik team
 answered on 20 Jan 2011
1 answer
77 views
Hi, 

I'm using RadScheduler in a webpart and I the first time that load page, I get an Javascript error.

I try to register the scripts :

var scriptManager = ScriptManager.GetCurrent(Page);
            scriptManager.ScriptMode = ScriptMode.Debug;
            


            string telerikAssembly = typeof(RadScheduler).Assembly.FullName;
             ......
            scriptManager.Scripts.Add(new ScriptReference("Telerik.Web.UI.Scheduler.ContextMenu.RadScheduler.ContextMenu.js", telerikAssembly));
           
but The Telerik.Web.UI.Scheduler.ContextMenu.RadScheduler.ContextMenu.js was missing.

Any suggestion?

Thanks
Kalina
Telerik team
 answered on 20 Jan 2011
4 answers
291 views
Hi all.

My scenario is this:

I have a RadListBox inside of a RadSlidingPane inside of a RadSlidingZone inside of a RadPane inside of a RadSplitter. I dynamically populate the RadListBox with some RadListBoxItems on PageLoad. The RadPane has a default width, but is resizable. The items which are displayed in the RadListBox are shown to be wordwrapped when the RadSlidingPane slides open. The user would then like to be able to resize the drag the RadSlidingPane to a larger size and have the RadListBox's width expand in order to remove the word-wrapped words.

Using the example here: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandsplitterresizing/defaultcs.aspx?product=splitter#

I was able to capture the OnClientResize event, so I am in protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e), but I do not understand how to resize the listbox's width so that it is the width of the sliding pane. Any thoughts?

Here is a picture of my situation: http://i.imgur.com/uZ58f.png

Thanks!

Sean
Sean
Top achievements
Rank 2
 answered on 20 Jan 2011
1 answer
76 views
We used RadEditor in MOSS for one reason: format code block.

After installing it in 2010 and activating it, the only feature I can find that is not present is Format Code Block. Has anyone figured out how to enable it?
James Legan
Top achievements
Rank 1
 answered on 20 Jan 2011
3 answers
84 views
Hi

I have a usercontrol which is embedded in a Sitefinity 3.7 page.
This control is basically a Wizard which uses a RadMultipage.
I'm using RadAjaxManager to do a partial page update on the RadMultipage.

When the user gets to Step 3 of the wizard I want the following Google Conversion code to run.

    <!-- Google Code for enquiry Conversion Page -->
    <script type="text/javascript">
        /* <![CDATA[ */
        var google_conversion_id = 987110327;
        var google_conversion_language = "en";
        var google_conversion_format = "3";
        var google_conversion_color = "ffffff";
        var google_conversion_label = "_hkaCNm8sgIQt7fY1gM";
        var google_conversion_value = 0;
        /* ]]> */
    </script>
    <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/pagead/conversion/987110327/?label=_hkaCNm8sgIQt7fY1gM&amp;guid=ON&amp;script=0"/>
    </div>
    </noscript>

Can't find a way to get the Google Script to run at this point/partial page update.

Any ideas/input greatly appreciated.

Regards

Martin
Martin
Top achievements
Rank 1
 answered on 20 Jan 2011
2 answers
83 views
Hi there,

I have two RadDocks in two separate table cells, both with TitlebarTemplates; they are using Telerik's "out of the box" styling, with .png faded backgrounds.

I've encountered an issue whereupon resizing the browser window from high width (~1920px) down to about ~800px causes the three cells of the table row to "break" and the height of the table row increases, and the background fade is no longer applied neatly.

I have traced the problem to the em tag that encapsulates the title: it has a style set, in my case, width="850px". This means that when the browser is resized, the width is kept and the "break" occurs. If you refresh the page (at the smaller browser window width), the TitlebarTemplate is redrawn correctly (e.g. the background fade is displayed correctly), which leads me to believe that some JS is used (at least on load) to calculate the width. However, the same JS does not work on resizing the width to a smaller value.

I am unable (I think) to style this via CSS as the style is applied to the element itself, e.g. the deepest element in the HTML doc. I've tried the override keyword with no success.

Does a workaround exist for this?

Thank you,

Mike K.
Mike
Top achievements
Rank 1
 answered on 20 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?