.NETGURU
treeview control in asp.net
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebcontrols' list.


Verinder Bindra
Hi ,
I am using treeview control in my .aspx control. I did it as given in
microsoft documentation. Initially it gives problem that
"Microsoft.Web.UI.Webcontrols" assembly couldn't be found. Then i downloaded
the installer from microsoft site and then verything starts working fine.

Then i toughtt of wrapping my customized treeview in user control.I copied
the code in user control and then tried to call the user control in aspx
page. It starts giving error that "Microsoft.Web.UI.Webcontrols, .exe
(something like this)or one of its dependicies are not found" . Then i
Looked in the registry that wheather Microsoft.Web.UI.Webcontrols is
registered or not. Everything was in place properly.

then i tried copying the same code back in the aspx page to see wheather it
is working or not . To my surprise same code stopped working. I got the same
error.
Then i removed the the assembly by uninstaller program and tried to
reinstall it.. Again i got the same error. I tried rebuilding my web project
and restarting my machine but nothing works.
Please help..

verinder
Reply to this message...
 
    
Oleg Boutorine
MS TreeView is many cases is not the best choice.
Check this http://www.ASPTreeView.com

----------
Hi ,
I am using treeview control in my .aspx control. I did it as given in
microsoft documentation. Initially it gives problem that
"Microsoft.Web.UI.Webcontrols" assembly couldn't be found. Then i downloaded
the installer from microsoft site and then verything starts working fine.

Then i toughtt of wrapping my customized treeview in user control.I copied
the code in user control and then tried to call the user control in aspx
page. It starts giving error that "Microsoft.Web.UI.Webcontrols, .exe
(something like this)or one of its dependicies are not found" . Then i
Looked in the registry that wheather Microsoft.Web.UI.Webcontrols is
registered or not. Everything was in place properly.

then i tried copying the same code back in the aspx page to see wheather it
is working or not . To my surprise same code stopped working. I got the same
error.
Then i removed the the assembly by uninstaller program and tried to
reinstall it.. Again i got the same error. I tried rebuilding my web project
and restarting my machine but nothing works.
Please help..

verinder

------_=_NextPart_001_01C1FAA5.44F92110
Content-Type: text/html;
    charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40"; xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">

<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 5.50.4208.1700" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml@01C1FA1F.03D2A070" rel=3DFile-List><!--[if gte =
mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<STYLE>@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt =
72.0pt 90.0pt; mso-header-margin: 35.4pt; mso-footer-margin: 35.4pt; =
mso-paper-source: 0; }
P.MsoNormal {
    FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
    FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
    FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
    COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
    COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
    COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
    COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
P {
    FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: =
"Times New Roman"; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"; mso-margin-top-alt: auto; =
mso-margin-bottom-alt: auto
}
SPAN.EmailStyle17 {
    COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: =
personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; =
mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; =
mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.SpellE {
    mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
    mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
    page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DEN-US style=3D"tab-interval: 36.0pt" vLink=3Dpurple =
link=3Dblue>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D375482817-13052002>Hi=20
,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D375482817-13052002>I am=20
using treeview control in my .aspx control. I did it as given in =
microsoft=20
documentation. Initially it gives problem that =
"Microsoft.Web.UI.Webcontrols"=20
assembly couldn't be found. Then i downloaded the installer from =
microsoft site=20
and then verything starts working fine.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D375482817-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D375482817-13052002>Then i=20
toughtt of wrapping my customized treeview in user control.I copied the =
code in=20
user control and then tried to call the user control in aspx page. It =
starts=20
giving error that "Microsoft.Web.UI.Webcontrols, .exe (something like =
this)or=20
one of its dependicies are not found" . Then i Looked in the registry =
that=20
wheather Microsoft.Web.UI.Webcontrols is registered or not. Everything =
was in=20
place properly.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D375482817-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D375482817-13052002>then i=20
tried copying the same code back in the aspx page to see wheather it is =
working=20
or not . To my surprise same code stopped working. I got the same =
error.=20
</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D375482817-13052002>Then=20
i  removed the the assembly by uninstaller program and tried to =
reinstall=20
it.. Again i got the same error. I tried rebuilding my web project and=20
restarting my machine but nothing works.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D375482817-13052002>Please=20
help..</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D375482817-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D375482817-13052002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D375482817-13052002>verinder</SPAN></FONT></DIV>
<BLOCKQUOTE><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT> </BLOCKQUOTE>
| [aspngwebcontrols] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngwebcontrols.asp = JOIN/QUIT
</BODY></HTML>

------_=_NextPart_001_01C1FAA5.44F92110--

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

Reply to this message...
 
 
System.Windows.Forms.TreeView




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