Error on IE9: Unable to set value of the property 'height': object is null or undefined

Answered (Not Verified) This post has 0 verified answers | 5 Replies | 2 Followers Thread's RSS feed.

morreale
Points 100
Replied On: Fri, May 4 2012 12:31 PM Reply

Hello,

I'm getting the following error with IE9:

"Unable to set value of the property 'height': object is null or undefined"

Many users are complaining for this problem.

Please can you hekp me to fix it?

Thanks in advance 

Marco Morreale

  • Post Points: 20

All Replies

AgentD5
Points 33,549
Infragistics Employee
Answered (Not Verified) Replied On: Fri, May 4 2012 12:33 PM Reply
Suggested by AgentD5

Hi, 
Assuming you are using IE 9, based on your other post, you would need to upgrade to a SR of 10.1 to get support for IE 9.

regards,
David Young 

  • Post Points: 20
morreale
Points 100
Replied On: Tue, Jun 5 2012 3:55 AM Reply

Hi,

 as you suggested I uprgraded to NetAdvantage for ASP.NET 2010 Vol. 3 - ASP.NET Service Release.

Now the wegrid works on IE9 but the grid is not displayed on iPad devices.

I notice the problem disappear if I remove height="100%"  attribute but I need it because otherwise I am not able to scroll lines. Is there a fix or workaorund?

Here is my code:

    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>   
        <asp:Panel ID="pnlHeader" runat="server" CssClass="pnlHeader">              
        <asp:TextBox ID="txtSelectedValue" runat="server" Text="nozzing" CssClass="invisible"></asp:TextBox>
         <ig:WebDataGrid ID="WebDataGrid1" runat="server" AutoGenerateColumns="False" Visible="true" Height="100%"
         BorderStyle="None" CellSpacing="1" DataSourceID="SqlDataSource1"
        DataKeyFields="Codice" StyleSetPath="~/ig_res/"
                onrowselectionchanged="WebDataGrid1_RowSelectionChanged" EnableAjax="false">       
    <Behaviors>
            <ig:Activation />
            <ig:Selection  RowSelectType="Single" CellClickAction="Row" SelectedCellCssClass="selectedRow" SelectedRowSelectorCssClass="selectedRow"  >
               <AutoPostBackFlags CellSelectionChanged="true" RowSelectionChanged="true" ColumnSelectionChanged="false" />
            </ig:Selection>
    </Behaviors>
    <Columns>
        <ig:BoundDataField DataFieldName="Codice" Key="Codice" Width="70px"  >
            <Header Text="Codice"  />
        </ig:BoundDataField>
        <ig:BoundDataField DataFieldName="Descrizione" Key="Descrizione" >
            <Header Text="Descrizione Promozione" />
        </ig:BoundDataField>
        <ig:BoundDataField DataFieldName="Data_Inizio" Key="Data_Inizio" CssClass="ar"
            Width="90px" DataType="System.DateTime">
            <Header Text="Inizio" />
        </ig:BoundDataField>
        <ig:BoundDataField DataFieldName="Data_fine" Key="Data_fine" CssClass="ar"
            Width="90px" DataType="System.DateTime">
            <Header Text="Fine" />
        </ig:BoundDataField>       
        <ig:BoundDataField DataFieldName="Minimo_Promozione" Key="Minimo_Promozione" CssClass="ar" DataFormatString="{0:N0}"
            Width="90px" DataType="System.Decimal">
            <Header Text="Q.tà Min" />
        </ig:BoundDataField>
    </Columns>
    <EmptyRowsTemplate><table style="width:100%;height:100px"><tr><td align="center">nessuna promozione trovata</td></tr></table></EmptyRowsTemplate>
    </ig:WebDataGrid>                            
    </asp:Panel>

 

Thank you

 

 

  • Post Points: 20
AgentD5
Points 33,549
Infragistics Employee
Replied On: Tue, Jun 5 2012 9:16 AM Reply

Hi morreale,

The Asp.NET product got iPad support starting in 11.2.  Prior to that version, some things may work and others may not.  You would need to upgrade to ensure full support.

regards,

David Young

  • Post Points: 20
morreale
Points 100
Replied On: Tue, Jun 5 2012 9:53 AM Reply

Thank you for your quick answer.

 

How can I upgade to version 11.2 ?

My downloads reach up to 2010 Vol. 3.

Should I buy 2012 version? I just need to get webgrid work on iPad.

Marco Morreale

 

  • Post Points: 5
morreale
Points 100
Replied On: Fri, Jun 15 2012 9:33 AM Reply

HI,

please, can you provide any information on 11.2 upgrade?

Does a link for download exist?

Marco Morreale

  • Post Points: 5
Page 1 of 1 (6 items) | RSS