473,463 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

HELP! TabStrip with Multipage is not working!

Hi,

I have spent some time trying to get the tabstrip and multipage to work
(from the IE web controls).

I read the article from:
http://msdn.microsoft.com/library/de...w/tabstrip.asp

On the bottom of the above URL there is a button that says "show me"
where you can see the tabstip and multipage in action. On the "show me"
page there is a button to view the source:
http://www.gotdotnet.com/team/webcontrols/tab/tab2.aspx

I have the Microsoft.Web.UI.WebControls.dll referenced in my project
and when the pages renders all the info for all the tabs is on one page
and the tabs are just text!

I have tried many differnet examples (and saw similar posts with no
responses) and get the same results!

I would appreciate any help in getting this to work.

Please post!

Thank you,

Phin

Nov 19 '05 #1
9 8442
I have posted a similar solution here before..
Phin the problem here is that u have referenced the control but u
haven't installed the scripts correctly that RUN the tabstrip,treeview
etc..
Try this:-
To build the IE Web Controls:

1. Make sure you have installed the .NET Framework SDK v1.0 or v1.1
2. Run Build.bat, which will create a build folder in this directory.
The build folder contains Microsoft.Web.UI.WebControls.dll and a
Runtime directory of supporting files.

To run the IE Web Controls:

1. Copy the contents of the Runtime directory to the webctrl_client\1_0
directory under your top-level site directory. For example, if your
site root is c:\Inetpub\wwwroot, type this at the command prompt:

xcopy /s /i .\build\Runtime c:\Inetpub\wwwroot\webctrl_client\1_0 /y

This will create the following directory structure under the site:

/webctrl_client/1_0
MultiPage.htc
TabStrip.htc
toolbar.htc
treeview.htc
webservice.htc
webserviced.htc
[images]
[treeimages]

2. Create a new web application in IIS and copy the contents of the
samples directory to this application directory. For example:

xcopy /s /i .\samples c:\Inetpub\wwwroot\sampleapp /y

3. Create a /bin subdirectory for the application and copy the file
Microsoft.Web.UI.WebControls.dll to this directory.

The contents of the application will be as follows:

/sampleapp
multipage.aspx
state_city.xml
tabstrip.aspx
toolbar.aspx
treeview.aspx
treeview_bound.aspx
/bin
Microsoft.Web.UI.WebControls.dll

4. Request the sample pages from your Internet Explorer web browser, for
example: http://localhost/sampleapp/multipage.aspx

For additional documentation and samples visit:
http://msdn.microsoft.com/library/de...p/webcontrols/
webcontrols_entry.asp

Hope this helps
Patrick

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #2
Patrick,

I thought I followed those steps but let me try it again.

Thank you!

Phin

Patrick Olurotimi Ige wrote:
I have posted a similar solution here before..
Phin the problem here is that u have referenced the control but u
haven't installed the scripts correctly that RUN the tabstrip,treeview etc..
Try this:-
To build the IE Web Controls:

1. Make sure you have installed the .NET Framework SDK v1.0 or v1.1
2. Run Build.bat, which will create a build folder in this directory. The build folder contains Microsoft.Web.UI.WebControls.dll and a
Runtime directory of supporting files.

To run the IE Web Controls:

1. Copy the contents of the Runtime directory to the webctrl_client\1_0 directory under your top-level site directory. For example, if your
site root is c:\Inetpub\wwwroot, type this at the command prompt:

xcopy /s /i .\build\Runtime c:\Inetpub\wwwroot\webctrl_client\1_0 /y

This will create the following directory structure under the site:

/webctrl_client/1_0
MultiPage.htc
TabStrip.htc
toolbar.htc
treeview.htc
webservice.htc
webserviced.htc
[images]
[treeimages]

2. Create a new web application in IIS and copy the contents of the
samples directory to this application directory. For example:

xcopy /s /i .\samples c:\Inetpub\wwwroot\sampleapp /y

3. Create a /bin subdirectory for the application and copy the file
Microsoft.Web.UI.WebControls.dll to this directory.

The contents of the application will be as follows:

/sampleapp
multipage.aspx
state_city.xml
tabstrip.aspx
toolbar.aspx
treeview.aspx
treeview_bound.aspx
/bin
Microsoft.Web.UI.WebControls.dll

4. Request the sample pages from your Internet Explorer web browser, for example: http://localhost/sampleapp/multipage.aspx

For additional documentation and samples visit:
http://msdn.microsoft.com/library/de...p/webcontrols/ webcontrols_entry.asp

Hope this helps
Patrick

*** Sent via Developersdex http://www.developersdex.com ***


Nov 19 '05 #3
Have you assigned your MultiPage control ID to the TargetID of the tabstrip
control?

--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------
"Phin" <mr******@yahoo.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hi,

I have spent some time trying to get the tabstrip and multipage to work
(from the IE web controls).

I read the article from:
http://msdn.microsoft.com/library/de...w/tabstrip.asp
On the bottom of the above URL there is a button that says "show me"
where you can see the tabstip and multipage in action. On the "show me"
page there is a button to view the source:
http://www.gotdotnet.com/team/webcontrols/tab/tab2.aspx

I have the Microsoft.Web.UI.WebControls.dll referenced in my project
and when the pages renders all the info for all the tabs is on one page
and the tabs are just text!

I have tried many differnet examples (and saw similar posts with no
responses) and get the same results!

I would appreciate any help in getting this to work.

Please post!

Thank you,

Phin

Nov 19 '05 #4
Ken,

Thank you for your post. I am using the example from
http://www.gotdotnet.com/team/webcontrols/tab/tab2.aspx

I installed everything according to the IE web controls doc.
I repasted the example into place and I am getting the following error:

"The located assembly's manifest definition with name
'Microsoft.Web.UI.WebControls' does not match the assembly reference."
I noticed that if I removed the public token section on page it doesn't
error but all the content on the page is on the one page (it's flat
with not tabs) like in my original post.

So, I think it may be since I don't have the proper public token.

This is how the top of the page looks like (with the public token) just
like in the example:

<%@ Import Namespace="Microsoft.Web.UI.WebControls" %>
<%@ Register TagPrefix="mytab"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226,
Culture=neutral, PublicKeyToken= 31bf3856ad364e35" %>

How do I figure out what the public token is for the
Microsoft.Web.UI.WebControls dll? Or is there something else that I am
missing?

Can somebody send me a sample app that implements the sample from
http://www.gotdotnet.com/team/webcontrols/tab/tab2.aspx ?

I apprecaite your help!

Thanks,

Phin

Ken Varn wrote:
Have you assigned your MultiPage control ID to the TargetID of the tabstrip control?

--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------
"Phin" <mr******@yahoo.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Hi,

I have spent some time trying to get the tabstrip and multipage to work (from the IE web controls).

I read the article from:

http://msdn.microsoft.com/library/de...w/tabstrip.asp

On the bottom of the above URL there is a button that says "show me" where you can see the tabstip and multipage in action. On the "show me" page there is a button to view the source:
http://www.gotdotnet.com/team/webcontrols/tab/tab2.aspx

I have the Microsoft.Web.UI.WebControls.dll referenced in my project and when the pages renders all the info for all the tabs is on one page and the tabs are just text!

I have tried many differnet examples (and saw similar posts with no
responses) and get the same results!

I would appreciate any help in getting this to work.

Please post!

Thank you,

Phin


Nov 19 '05 #5
Another thing that I noticed is that in design view in VS.NET the page
looks like it should, with the tabs but when I run it without a public
token the page is flat (all of the content is on one page) with no
tabs. But if I use the PublicKeyToken like in the examples, I get the
"The located assembly's manifest definition with name
'Microsoft.Web.UI.WebControls' does not match the assembly reference"

I looked at many posts but I didn't find a solution that worked.

I appreciate your help!

Thanks,

Phin

Nov 19 '05 #6
OK. I figured it out. I am going to post everything that I did so the
next person can get up and running that much faster.

After I installed the IE web controls, according to a post I updated
the build.bat file to look like this (since the
Microsoft.Web.UI.WebControls.dll wasn't being created):

@if "%_echo%"=="" echo off

if not exist build mkdir build

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\csc.exe
/out:build\Microsoft.Web.UI.WebControls.dll @IEWebControls.rsp
xcopy src\Runtime build\Runtime /E /Y /I /Q

Then I followed the instructions exactly and tried to access the app
via a browser. But I received the following error: "File or assembly
name Microsoft.Web.UI.WebControls, or one of its dependencies, was not
found"

So, I went into VS.NET created a new asp.net project added my web forms
and add reference to the dll and it worked!

Thank you for all your help!

Phin

Nov 19 '05 #7
One more thing. If you want to move the location of your webctrl_client
folder add the following to the top of your web.config file under
<configuration> (and update the location of your webctrl_client:
<configSections>
<section name="MicrosoftWebControls"
type="System.Configuration.NameValueFileSectionHan dler, System,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>

</configSections>

<MicrosoftWebControls>
<add key="CommonFiles"
value="http://localhost/Your_APP/webctrl_client/1_0/" />
</MicrosoftWebControls>

Good luck!

Phin

Nov 19 '05 #8
You make the above even more flexible by replacing the
<MicrosoftWebControls> with:

<MicrosoftWebControls>
<add key="CommonFiles" value="webctrl_client/1_0/" />
</MicrosoftWebControls>

Phin

Nov 19 '05 #9
For the sake of posting a complete solution, remember to change the
webctrl_client location in any web page that refers to it.
Phin

Nov 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
9
by: Tom | last post by:
A question for gui application programmers. . . I 've got some GUI programs, written in Python/wxPython, and I've got a help button and a help menu item. Also, I've got a compiled file made with...
4
by: Sarir Khamsi | last post by:
Is there a way to get help the way you get it from the Python interpreter (eg, 'help(dir)' gives help on the 'dir' command) in the module cmd.Cmd? I know how to add commands and help text to...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
3
by: Colin J. Williams | last post by:
Python advertises some basic service: C:\Python24>python Python 2.4.1 (#65, Mar 30 2005, 09:13:57) on win32 Type "help", "copyright", "credits" or "license" for more information. >>> With...
7
by: Corepaul | last post by:
Missing Help Files When I enter "recordset" as the keyword and search the Visual Basic Help index, I get many topics of interest in the resulting list. But there isn't any information available...
5
by: Steve | last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp My expectation is that a developer using my DLL would be able to access this help file during his development time...
8
by: Mark | last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my home computer has an abbreviated help screen not 2% of the help on my laptop. All the settings look the same on both...
10
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that Microsoft's Office 2003 help system is horrible, probably...
1
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.