Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
75 views
Hi

I'm looking for the latest RadEditor for MOSS Download for SharePoint 2007, but i can't find anything.
we are currently using RadEditor 5.6 but we are experiencing some issues with IE9  (http://www.telerik.com/community/forums/aspnet-ajax/editor/ie9-and-radeditor-adding-additional-lt-br-gt-lt-br-gt-tags-with-each-postback.aspx

Where can i find the latest (last) version? and is the Issue with IE9 fixed?

Thanks in advance
patrick
Patrick Maeschli
Top achievements
Rank 1
 answered on 28 Oct 2013
1 answer
62 views
<telerik:GridTemplateColumn HeaderText="Code" SortExpression="Code" UniqueName="Code" AllowFiltering="True">
     <ItemTemplate>
         <asp:LinkButton ID="lbCCode" runat="server" Text='<%# Eval("Code") %>' />
     </ItemTemplate>
</telerik:GridTemplateColumn>
So how can I allow RadGrid to filter the results based on the text value of LinkButton? Is there a way to do that? Thanks.
Gary
Top achievements
Rank 1
 answered on 28 Oct 2013
1 answer
147 views
Hi Guys,

I am developing some reports using RadHTMLChart and have few issues with layout.  While using a Donut series the chart renders and clips some labels. I have attached screenshot of the chart , In that the top and the right side labels are clipped.

I tried increasing the chart height to fix top label but that changed the whole div height and the Donut series height as well which screwed up the total layout. Is there any way we can make the chart to render without clipping the labels.

I have also attached a screenshot of what happens when chart height is increased.

Following are the codes I am using to do this.

<telerik:RadHtmlChart ID="chartDonut" runat="server" Width="450" Height="220" Transitions="true" OnClientSeriesClicked="OnSeriesClicked" Legend-Appearance-Visible ="false"   >
<PlotArea> 
<Series>
<telerik:DonutSeries  DataFieldY="ValueField" ColorField="ColorField" ExplodeField ="Exploded"
StartAngle="10" HoleSize ="50" NameField="Name" >
<LabelsAppearance Visible="true" Position="Column" ClientTemplate="#=dataItem.Name# #=dataItem.ValueField#%">
</LabelsAppearance>
<TooltipsAppearance DataFormatString="{0}%" BackgroundColor="White" Visible="false"></TooltipsAppearance>
</telerik:DonutSeries>
</Series>
</PlotArea>
</telerik:RadHtmlChart>

It will be great if someone can help me to solve this.

Thanks,
Rahul
Stamo Gochev
Telerik team
 answered on 28 Oct 2013
2 answers
70 views
HI

I have a grid with:

Width="98%" and etc information.

the MasterTableView TableLayout="Fixed"

I have a table with 40 columns, so the user can select many columns to show in the grid.

 

the grid had 40 telerik:GridTemplateColumn, and in the code behind in the event of _ItemCreated set the property visible (true/false).

and the <HeaderStyle   without Width

And the propertys of grid Scrolling-AllowScroll ="true" Scrolling-UseStaticHeaders="true"

But dont work!

pls help!

Venelin
Telerik team
 answered on 28 Oct 2013
1 answer
70 views
Hi,
I have a Issue DropDown selected index change.

Below is my Scenario :

I have two user Controls , one Contains Radgrid and the Other one Contain Dropdown Select Ajax(Based on the Dropdown values all the text  fields will change).

Im calling the Dropdown User Control in the Radgrid Edit Form.   Below is my example Code Snippets
<radajaxManager>
     Control Id= Radgrid and Updatedcontrol is= Radgrid
</radajaManager>
<radgrid>
<mastertable>
</mastertable>
<Edit form>
      <div normal asp.net controls>
      <div Dropdown User Controls>
</Edit Form>
</rdgrid>

Whenever i change the Dropdown value, the other text fields in the dropdown user controls has to be filled. But it is not happening.
Every time the values changes to default.

I should not post code. I hope i hve explained above scenario.

Kindly give me solution or workround for this

Best Regards,satz

 
Satz
Top achievements
Rank 1
 answered on 28 Oct 2013
3 answers
118 views
Hi,

I have a rad grid with the width set to 1800px but when it renders it doesn't recognize the width.  It makes the grid the size of all the columns.
Does anyone know why this would happen.   I have a lot of other grids and this doesn't happen.

Thanks for you help.
Tracy
<div ID="divGrid" runat="server"  style="width:1900; background-color:Red;">
 
            <telerik:RadGrid ID="rgvMainGrid"       runat="server"                  DataSourceID="SQLDS_Receivables"  
                 EnableEmbeddedSkins="true"         Skin="Office2010Silver"         EnableAjaxSkinRendering="true"        Height="600px"  Width="1800px"
                 EnableViewState="true"             AutoGenerateColumns="false"     AllowMultiRowSelection="false"     
                 AllowFilteringByColumn="false"     EnableHeaderContextMenu="false" EnableHeaderContextFilterMenu="false"  ShowGroupPanel="false"  
                 AllowAutomaticDeletes="false"      AllowAutomaticInserts="false"   AllowAutomaticUpdates="false"                                 
                 AllowSorting="true"                EnableLinqExpressions="false"   AllowPaging="false"  PageSize="100"     >                                 
                <ItemStyle              Wrap="true"  />
                <AlternatingItemStyle   Wrap="true" />
                <ActiveItemStyle        BackColor="CornflowerBlue"/>
                <HeaderStyle            HorizontalAlign="Center"/>
                <EditItemStyle      BackColor="CornflowerBlue"/>     
                <ClientSettings     AllowColumnsReorder="true"      ReorderColumnsOnClient="true"     ColumnsReorderMethod="Reorder"   AllowDragToGroup="false"  EnablePostBackOnRowClick="false"    EnableRowHoverStyle="false"  
                     
                    <Resizing       AllowColumnResize="false"        EnableRealTimeResize="true"         ResizeGridOnColumnResize="false"  AllowRowResize="false" />
                    <Selecting      AllowRowSelect="true"/>
                    <Scrolling      AllowScroll="true"              UseStaticHeaders="true" />                       
                </ClientSettings>
                <GroupHeaderItemStyle Font-Size="11px"              Font-Names="calibri"                Font-Bold="true"  Height="12px"/>
                <MasterTableView    Name="Invoices"                 DataSourceID="SQLDS_Receivables"    DataKeyNames="RecordId"         ClientDataKeyNames="RecordId"
                                    EnableViewState="true"          EditMode="EditForms"                CommandItemDisplay="None"       TableLayout="Fixed" Width="1800px"
                                    EnableNoRecordsTemplate="true"  ShowHeadersWhenNoRecords="true" >                                                                                                             
                    <NoRecordsTemplate> <div>There are no records to display. </div></NoRecordsTemplate>
 
                    <Columns>  
                        <telerik:GridBoundColumn  UniqueName="Job"                      DataField="Job"                     HeaderText="Job"                    HeaderStyle-Width="87px"    ReadOnly="true"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="JobDescription"           DataField="JobDescription"          HeaderText="Job Name"               HeaderStyle-Width="200px"   ReadOnly="true"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="Extra"                    DataField="Extra"                   HeaderText="Extra"                  HeaderStyle-Width="87px"    ReadOnly="true"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="CustomerName"             DataField="CustomerName"            HeaderText="Customer Name"          HeaderStyle-Width="200px"   ReadOnly="true"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="ContractNumber"           DataField="ContractNumber"          HeaderText="Contract"               HeaderStyle-Width="100px"   ReadOnly="true"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="DocumentId"               DataField="DocumentId"              HeaderText="Document Id"            HeaderStyle-Width="100px"   ReadOnly="true"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="Draw"                     DataField="Draw"                    HeaderText="Draw"                   HeaderStyle-Width="125px"   ReadOnly="true"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="InvoiceDate"              DataField="InvoiceDate"             HeaderText="Inv Date"               HeaderStyle-Width="80px"    ReadOnly="true"  DataType="System.DateTime"   DataFormatString="{0:MM/dd/yy}"      ItemStyle-HorizontalAlign="Center" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="DaysOld"                  DataField="DaysOld"                 HeaderText="Days Old"               HeaderStyle-Width="40px"    ReadOnly="true"  DataType="System.Int16"      DataFormatString="{0:#,###,###}"     ItemStyle-HorizontalAlign="Right"  FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="AccountingDate"           DataField="AccountingDate"          HeaderText="Acct Date"              HeaderStyle-Width="80px"    ReadOnly="true"  DataType="System.DateTime"   DataFormatString="{0:MM/dd/yy}"      ItemStyle-HorizontalAlign="Center" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="BilledLessRetainage"      DataField="BilledLessRetainage"     HeaderText="Billed Less Ret"        HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="UnbilledRetainage"        DataField="UnbilledRetainage"       HeaderText="Unbilled Retainage"     HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridTemplateColumn UniqueName="gtcUpdateAll"                                               HeaderText="Update All Transactions"  AllowFiltering="false" >
                            <ItemTemplate></ItemTemplate>
                            <EditItemTemplate><asp:CheckBox ID = "chkUpdateAll"         runat="server"  Checked="true" /></EditItemTemplate>
                        </telerik:GridTemplateColumn>
                                                                                                                                                               
                        <telerik:GridTemplateColumn UniqueName="gtcExpectedPaymentDate" DataField="ExpectedPaymentDate"     HeaderText="Exp Pay Date"           HeaderStyle-Width="80px"    ItemStyle-HorizontalAlign="Center" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" >
                            <ItemTemplate><asp:Label ID="lblExpectedPaymentDate"        runat="server"  Text='<%# Eval("ExpectedPaymentDate", "{0:MM-dd-yy}" ) %>'   /></ItemTemplate>
                            <EditItemTemplate><telerik:RadDatePicker ID = "rdpExpectedPaymentDate"         runat="server" Width="85px" DbSelectedDate='<%# Bind("ExpectedPaymentDate") %>'   SkinID="skn_RadDatePicker" /></EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn    UniqueName="DaysToPay"              DataField="DaysToPay"               HeaderText="Days To Pay"            HeaderStyle-Width="55px"   ReadOnly="true"  DataType="System.Int16"      DataFormatString="{0:#,###,###}"     ItemStyle-HorizontalAlign="Right"  FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridDropDownColumn UniqueName="ActionCode"             DataField="ActionCode"              HeaderText="Action"                 HeaderStyle-Width="100px"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>"       ListTextField="LevelCode"  ListValueField="IdentifierCode"  DataSourceID="SQLDS_ActionCode"       DropDownControlType="RadComboBox" DefaultInsertValue="NA" />
                        <telerik:GridDropDownColumn UniqueName="StatusCode"             DataField="StatusCode"              HeaderText="Status"                 HeaderStyle-Width="120px"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>"       ListTextField="LevelCode"  ListValueField ="IdentifierCode" DataSourceID="SQLDS_StatusCode"       DropDownControlType="RadComboBox" DefaultInsertValue="NA"/>
                        <telerik:GridDropDownColumn UniqueName="ResponsibleParty"       DataField="ResponsibleParty"        HeaderText="Responsible Party"      HeaderStyle-Width="150px"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>"       ListTextField="LevelCode"  ListValueField ="IdentifierCode" DataSourceID="SQLDS_ResponsibleParty" DropDownControlType="RadComboBox" DefaultInsertValue="NA"/>
                        <telerik:GridTemplateColumn UniqueName="Comments"               DataField="Comments"                HeaderText="Comments"               HeaderStyle-Width="120px"   FilterImageUrl="<%$ Resources:Images,FilterGray16%>" >
                            <ItemTemplate>
                                <asp:Label ID="lblComments"                   runat="server"  Text='<%# Bind("Comments") %>'  />
                                <asp:ImageButton ID="ibtHistory"              runat="server"  ImageUrl='<%# Eval("HistoryImage") %>' ToolTip="Click To Show Status History" />
                            </ItemTemplate>
                            <EditItemTemplate><telerik:RadTextBox  ID="txtComments"     runat="server"  Text='<%# Bind("Comments") %>'  TextMode="MultiLine"  InputType="Text"  Width="500px" Rows="5" Height="50px" Resize="Both" ButtonsPosition="Right"/></EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn  UniqueName="CurrentlyDue"             DataField="CurrentlyDue"            HeaderText="Currently Due"          HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="Days31"                   DataField="Days31"                  HeaderText="Age 31-60 Days"         HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="Days61"                   DataField="Days61"                  HeaderText="Age 61-90 Days"         HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="Days91"                   DataField="Days91"                  HeaderText="Age > 90 Days"          HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="PastDue"                  DataField="PastDue"                 HeaderText="Payment Past Due"       HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="Pay30"                    DataField="Pay30"                   HeaderText="Due 0-30 Days"          HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="Pay60"                    DataField="Pay60"                   HeaderText="Due 31-60 Days"         HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="Pay90"                    DataField="Pay90"                   HeaderText="Due 61-90 Days"         HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="Pay91"                    DataField="Pay91"                   HeaderText="Due >90 Days"           HeaderStyle-Width="100px"   ReadOnly="true"  DataType="System.Decimal"    DataFormatString="{0:#,###,###.#0}"  ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                        <telerik:GridBoundColumn  UniqueName="RecordId"                 DataField="RecordId"                HeaderText="Record Id"              HeaderStyle-Width="50px"    ReadOnly="true"  DataType="System.Int32"      DataFormatString="{0:###}"           ItemStyle-HorizontalAlign="Right" FilterImageUrl="<%$ Resources:Images,FilterGray16%>" />
                    </Columns>
                 
                </MasterTableView>
            </telerik:RadGrid>
</div>
Jayesh Goyani
Top achievements
Rank 2
 answered on 28 Oct 2013
5 answers
411 views
i'm binding a radgrid with custom dataset that i cal on need datasourece event

but then i need to fetch the username of select row on grid , but it gices always null:

string username = (string)RadGrid1.SelectedValues["UserName"];


i think its because i'm databing on code behind because with sql datasource directly associated with grid works fine
Troika
Top achievements
Rank 1
 answered on 27 Oct 2013
1 answer
32 views
Hello,

In my project i am using a RadGrid control, when the EditFormType in EditFormSettings is set to "AutoGenerated" and once i click the Edit button, the Edit Form is shown perfectly and working.

Now, i am trying to build a template since i don't need all the data to be edited, i tried to use

<EditColumn UniqueName="EditCommanColumn1"></EditColumn>
                        <FormTemplate>
                            Test
                        </FormTemplate>
                    </EditFormSettings>

And once i click the edit image, the form is not showing

Here's my code

<telerik:RadGrid ID="RadGrid1"  runat="server" ShowStatusBar="True"
       AutoGenerateColumns="False" PageSize="3" AllowSorting="True" AllowMultiRowSelection="False"
       AllowPaging="True" OnItemCreated="RadGrid1_ItemCreated"
       AllowAutomaticUpdates="True" OnItemUpdated="RadGrid1_ItemUpdated" Width="843px"
               onupdatecommand="RadGrid1_UpdateCommand" OnItemCommand="RadGrid1_ItemCommand"
                   GridLines="None" Height="248px">
        
          <MasterTableView DataSourceID="SqlDataSourceGrades" DataKeyNames="StudentID" AllowMultiColumnSorting="True"
           Width="100%" CommandItemDisplay="Top" Name="StudentID">
           <Columns>
                            
           <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                    
                    
               <HeaderStyle Width="20px"></HeaderStyle>
               <ItemStyle CssClass="MyImageButton"></ItemStyle>
               </telerik:GridEditCommandColumn>
               <telerik:GridBoundColumn SortExpression="StudentID" HeaderText="ID" HeaderButtonType="TextButton"
                   DataField="StudentID" UniqueName="StudentID" MaxLength="7">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="AC1" HeaderText="AC1" HeaderButtonType="TextButton"
                   DataField="AC1" UniqueName="AC1">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="GR1" HeaderText="GR1" HeaderButtonType="TextButton"
                   DataField="GR1" UniqueName="GR1">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="T1" HeaderText="T1" HeaderButtonType="TextButton"
                   DataField="T1" UniqueName="T1">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="AC2" HeaderText="AC2" HeaderButtonType="TextButton"
                   DataField="AC2" UniqueName="AC2">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="GR2" HeaderText="GR2" HeaderButtonType="TextButton"
                   DataField="GR2" UniqueName="GR2">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="T2" HeaderText="T2" HeaderButtonType="TextButton"
                   DataField="T2" UniqueName="T2">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="AC3" HeaderText="AC3" HeaderButtonType="TextButton"
                   DataField="AC3" UniqueName="AC3">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="GR3" HeaderText="GR3" HeaderButtonType="TextButton"
                   DataField="GR3" UniqueName="GR3">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="T3" HeaderText="T3" HeaderButtonType="TextButton"
                   DataField="T3" UniqueName="T3">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="AC4" HeaderText="AC4" HeaderButtonType="TextButton"
                   DataField="AC4" UniqueName="AC4">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="GR4" HeaderText="GR4" HeaderButtonType="TextButton"
                   DataField="GR4" UniqueName="GR4">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="T4" HeaderText="T4" HeaderButtonType="TextButton"
                   DataField="T4" UniqueName="T4">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="Sem1" HeaderText="Sem1" HeaderButtonType="TextButton"
                   DataField="Sem1" UniqueName="Sem1">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="Sem2" HeaderText="Sem2" HeaderButtonType="TextButton"
                   DataField="Sem2" UniqueName="Sem2">
               </telerik:GridBoundColumn><telerik:GridBoundColumn SortExpression="G" HeaderText="G" HeaderButtonType="TextButton"
                   DataField="G" UniqueName="G">
               </telerik:GridBoundColumn>
               <telerik:GridTemplateColumn>
                    
               <ItemTemplate>
                       
                   <asp:Label ID="lblEvaluate" runat="server"></asp:Label>
                   </ItemTemplate>
                   </telerik:GridTemplateColumn>
                   </Columns>
                   <EditFormSettings EditFormType="Template">
                   <EditColumn UniqueName="EditCommanColumn1"></EditColumn>
                       <FormTemplate>
                           Test
                       </FormTemplate>
                   </EditFormSettings>
                    
                   <SortExpressions>
                
           <telerik:GridSortExpression FieldName="StudentID"></telerik:GridSortExpression>
           </SortExpressions>
            
           </MasterTableView>
           </telerik:RadGrid>

What i am missing?


Many thanks in advance
Zeyad
Top achievements
Rank 1
 answered on 27 Oct 2013
0 answers
77 views
I have an issue with silk skin with radmenu. I click on an item in ajax mode it postback and load fine. But when i click on browser window on any empty place why it lost highlighted item?

watch following video.

http://screencast.com/t/L5Y4jdvxmNwo
Muhammad Imran
Top achievements
Rank 1
 asked on 26 Oct 2013
2 answers
111 views
I have a vertical RadMenu on my page who's button clicks bring up popup windows.

We have a little formula that determines the placement of each window (just to the right of the button clicked), but on IE9, the offsetTop value for the menu item element is off by 60, which pushes down our window lower than we want.  Other browsers display it fine.

Any ideas why?  Here's the menu:
<telerik:RadMenu ID="RadMenu1" runat="server" flow="Vertical" Width="100%" OnClientItemClicked="MenuOpenWindow('RadWindow1')">
    <Items>
        <telerik:RadMenuItem ImageUrl="../Images/button.png" Value="RadWindow1"  />
    </Items>
</telerik:RadMenu>

And Javascript:
function MenuOpenWindow(windowTitle) {
    var oWindow;
    var offsetElementBounds;
    var menu = $find("<%=RadMenu1.ClientID%>");
    var menuItem = menu.findItemByValue(windowTitle).get_element();
 
    if (windowTitle == "RadWindow1") {
        if (lastWindowTitle != "RadWindow1") {
            oWindow = $find("<%=winRadWindow1.ClientID%>");
            oWindow.show();
            if (oWindow.get_offsetElementID()) {
                offsetElementBounds = $telerik.getBounds($get(oWindow.get_offsetElementID()));
                var x = parseInt(offsetElementBounds.x + (menuItem.offsetWidth / 3));
                var y = parseInt(menuItem.offsetTop + offsetElementBounds.y - (menuItem.offsetHeight / 3));
                alert(menuItem.offsetTop);
                alert(offsetElementBounds.y);
                alert(menuItem.offsetHeight);
                alert(x);
                alert(y);
                oWindow.moveTo(x, y);
            }
            return false;
        }
    }
}
Amanda
Top achievements
Rank 1
Iron
 answered on 25 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?