.NETGURU
SV: How to declare Tab and Multipage in Code Behind
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebcontrols' list.


=?iso-8859-1?Q?Andr=E9_Colbi=F6rnsen?=
Don't know if this has anything to do with your problem, but after the
release of ver. 1.0 of the IE Webcontrols, they had to be referenced
with the full credentials in the page directive. Like so:

<%@ register TagPrefix="IE" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.116,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>

Maybe you will have to consider this in your code behind as well?

Regards/Hälsningar

André Colbiörnsen
===============================Sonnenburg Communications
Bergsgatan 3,
SE-211 54 Malmö
Sweden
Tel.: +46-(0)40-97 78 80
Fax.: +46-(0)40-97 78 80
Mob.: +46-(0)708-97 78 79
Mail: Click here to reveal e-mail address
Web.: www.sonnenburg.se
================================

-----Ursprungligt meddelande-----
Från: Charles M. Carroll [mailto:Click here to reveal e-mail address]
Skickat: den 9 maj 2002 05:16
Till: aspngwebcontrols
Ämne: [aspngwebcontrols] How to declare Tab and Multipage in Code Behind

Imports Microsoft.Web.UI.WebControls

dim mytab as New Microsoft.Web.UI.WebControls

are producing errors like:

Compiler Error Message: BC30002: Type
'Microsoft.Web.UI.WebControls.tabControl' is not defined.

I am trying to use the Inherits= and separate code and presentation
like:
http://www.learnasp.com/freebook/learn/visualinheritance.aspx
| [aspngwebcontrols] member Click here to reveal e-mail address = YOUR ID |
http://www.asplists.com/asplists/aspngwebcontrols.asp = JOIN/QUIT
Reply to this message...
 
    
Scott Sargent
MeddelandeI think i also had to copy the dll into the local bin directory.
Wasn't pleased about that but thats life. I as well referenced the
Webcontrols via full credentials. I found a post on google or MSDN that
mentioned adding the webcontrols to the VS.NET ide so you can drag & drop
them onto a page. It made reference to this being the prefered way of
adding them to the page. Kind of makes sense as this way you'll
automatically get the version, culture and publickeytoken right. I'm not
sure which actually made it work, moving the dll or adding the full
credentials. It was a trial by error thing.

Scott

-----Original Message-----
From: André Colbiörnsen [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 09, 2002 3:50 AM
To: aspngwebcontrols
Subject: [aspngwebcontrols] SV: How to declare Tab and Multipage in Code
Behind

Don't know if this has anything to do with your problem, but after the
release of ver. 1.0 of the IE Webcontrols, they had to be referenced with
the full credentials in the page directive. Like so:

<%@ register TagPrefix="IE" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.116, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" %>

Maybe you will have to consider this in your code behind as well?
Regards/Hälsningar

André Colbiörnsen
=============================== Sonnenburg Communications
Bergsgatan 3,
SE-211 54 Malmö
Sweden
Tel.: +46-(0)40-97 78 80
Fax.: +46-(0)40-97 78 80
Mob.: +46-(0)708-97 78 79
Mail: Click here to reveal e-mail address
Web.: www.sonnenburg.se
===============================
-----Ursprungligt meddelande-----
Från: Charles M. Carroll [mailto:Click here to reveal e-mail address]
Skickat: den 9 maj 2002 05:16
Till: aspngwebcontrols
Ämne: [aspngwebcontrols] How to declare Tab and Multipage in Code Behind

Imports Microsoft.Web.UI.WebControls

dim mytab as New Microsoft.Web.UI.WebControls

are producing errors like:

Compiler Error Message: BC30002: Type
'Microsoft.Web.UI.WebControls.tabControl' is not defined.

I am trying to use the Inherits= and separate code and presentation
like:
http://www.learnasp.com/freebook/learn/visualinheritance.aspx
| [aspngwebcontrols] member Click here to reveal e-mail address = YOUR ID |
http://www.asplists.com/asplists/aspngwebcontrols.asp = JOIN/QUIT
| [aspngwebcontrols] member Click here to reveal e-mail address = YOUR ID |
http://www.asplists.com/asplists/aspngwebcontrols.asp = JOIN/QUIT
Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification