Need Help Passing SelectedIndex (Int32) to IE Tabstrip Control

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Need Help Passing SelectedIndex (Int32) to IE Tabstrip Control

    I have a user control built using the Microsoft IE Control.

    I declared a public variable as int32 (DefaultTab) in the user control.

    I can't seem to provide the correct syntax to the tabstrip property other
    than SelectedIndex = 1 which works but if I try SelectedIndex = DefaultTab,
    it fails stating that DefaultTab is not a valid value for Int32.

    Thanks in advance for any help!!

    Bob Hanson


    Robert V. Hanson Guest

  2. Similar Questions and Discussions

    1. List control selectedIndex returns NaN
      I've 3 dependent list controls that I need to populate with an external XML file. The first list box populates correctly, but when I try to get the...
    2. Create a web tabstrip control
      Hi. I need to do a tabstrip custom control for my web apps get the values of the title os the tabs from a xml file. I can render one table os...
    3. Fill Tabstrip Control dynamically with multiple treeview controls
      I am trying to dyanmically add tabs to my tabstrip control and then build a different treecontrol for each tab on my tab control. Basically the...
    4. TabStrip controls
      Hello, Could anyone recommend a good ASP.NET TabStrip server control? The IE webcontrol requires IE 5.5 and higher but I have to support as...
    5. IE Webcontrols - Tabstrip
      So has anyone worked with the IE webcontrols much? I've found that they've come in very handy for Internet Explorer clients ... ON A WINDOWS...
  3. #2

    Default RE: Need Help Passing SelectedIndex (Int32) to IE Tabstrip Control

    Hello Robert,
    I am not sure if the problem is clear. What is DefaultTab?
    Can you post more of your code so I can better help you?
    Why SelectedIndex=1 is not good enough?

    Thanks,
    Bassel Tabbara
    Microsoft, ASP.NET

    This posting is provided "AS IS", with no warranties, and confers no rights.


    --------------------
    | From: "Robert V. Hanson" <roberth@cpuandsimplepdm.com>
    | Newsgroups: microsoft.public.dotnet.framework.aspnet
    | Subject: Need Help Passing SelectedIndex (Int32) to IE Tabstrip Control
    | Date: Mon, 30 Jun 2003 15:07:36 -0500
    | Organization: Posted via Supernews, [url]http://www.supernews.com[/url]
    | Message-ID: <vg16b7oc2i4031@corp.supernews.com>
    | X-Priority: 3
    | X-MSMail-Priority: Normal
    | X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    | X-Complaints-To: [email]abuse@supernews.com[/email]
    | Lines: 13
    | Path:
    cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
    e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-
    post-01!supernews.com!corp.supernews.com!not-for-mail
    | Xref: cpmsftngxa09.phx.gbl microsoft.public.dotnet.framework.aspnet:31191
    | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    |
    | I have a user control built using the Microsoft IE Control.
    |
    | I declared a public variable as int32 (DefaultTab) in the user control.
    |
    | I can't seem to provide the correct syntax to the tabstrip property other
    | than SelectedIndex = 1 which works but if I try SelectedIndex =
    DefaultTab,
    | it fails stating that DefaultTab is not a valid value for Int32.
    |
    | Thanks in advance for any help!!
    |
    | Bob Hanson
    |
    |
    |


    Bassel Tabbara [MSFT] Guest

  4. #3

    Default RE: Need Help Passing SelectedIndex (Int32) to IE Tabstrip Control


    I had been following an example in my Professional VB.Net book that is
    outdated. I followed the walkthrough for creating custom controls in
    MSDN and it works great.

    Thanks for your reply!!

    Bob Hanson


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Robert Hanson Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139