Object Expected

  1. #1

    Object Expected


    I am trying to add a new tab in tab Panel. I am using same code which is provided in example.
    <ext:Window runat="server" Width="700" Height="500" Icon="Link" Title="Adding tab">
    <ext:BorderLayout runat="server">
    <ext:MenuPanel ID="MenuPanel1" runat="server" Width="200">
    <ext:MenuItem ID="idClt_item" runat="server" Text="Ext.NET">
    <Click Handler="addTab(#{TabPanel1}, 'idClt', 'http://www.ext.net');" />
    <ext:MenuSeparator />
    <ext:MenuItem ID="idGgl_item" runat="server" Text="Google">
    <Click Handler="addTab(#{TabPanel1}, 'idGgl', 'http://www.google.com');" />
    <ext:MenuSeparator />
    <ext:MenuItem ID="idExt_item" runat="server" Text="ExtJS">
    <Click Handler="addTab(#{TabPanel1}, 'idExt', 'http://www.extjs.com');" />
    <ext:TabPanel ID="TabPanel1" runat="server"> 
    I have attahced the screen shot of the error.
    Please guide.

    Thanks and Regards,
    Vivek Rane
    Last edited by geoffrey.mcgill; Feb 22, 2011 at 5:20 AM.

Similar Threads

  1. Microsoft JScript runtime error: Object expected
    By shrenuj_dev in forum 1.x Help
    Replies: 0
    Last Post: May 11, 2011, 5:02 AM
  2. [CLOSED] Object expected
    By ilanga in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Sep 22, 2010, 8:27 PM
  3. Replies: 1
    Last Post: Jun 27, 2010, 4:18 PM
  4. [CLOSED] Grid AddRecord "Object Expected" Error
    By CMA in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 27, 2010, 8:32 AM
  5. ext:Store shows error message "Object expected"
    By stephan1985 in forum 1.x Help
    Replies: 0
    Last Post: Jan 09, 2010, 8:38 AM

Posting Permissions