CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 9/14/2006 3:30:22 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 14 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
MrPimp
Asp.Net User
TreeView is not a known element (porting Web site from VS2003 to VS2005)9/14/2006 3:30:22 PM

0/0

Hi!

 

I'm trying to port to Visual Studio 2005 (VS2005) a web site that was developped in VS2003. At first, VS told me upon compilation that the «treeview» element was unknown.  After searching a bit in the forums, I've tried including a copy of the «webctrl_client» folder in my working folder, in my «inetpub\wwwroot» folder, and in my site's root. Now, it's the «TreeNode» element that is unknown!

The original site used to populate the treeview control with localised texts and urls with data from a SQL Server DB, but all that shows is plain text with no functionality whatsoever.  I thought it might be DB connectivity problem, so I tried putting literal TreeNode declaration in the aspx file, and I get the same problem (just non-functional, literal text, and the mention that the treenode element is unknown...)

Could this have anything to do with client script registration ( ClientScript.RegisterClientScriptBlock(type type, string key, string script) ?)
I'm not quite sure about that method's signature; the type arg, for instance, what type is it supposed to be (the type of what?)  And the string key, what does it represent?

Any insight will be welcome as I'm new to ASP.NET 2.0 (and to ASP.NET, in fact). 

I'm using Microsoft.IE.WebControls (ver. 1.0.2.226) and Visual Studio 2005 Professional Edition (8.0.50727.42)

 

Thanks for your assistance!

 


Regards,
Pascal Marier-Dionne,
Web Developer.
Quebec, Canada
StrongTypes
Asp.Net User
Re: TreeView is not a known element (porting Web site from VS2003 to VS2005)9/14/2006 4:51:05 PM

0/0

Since you're using ASP.NET 2.0, why not use the framework TreeView instead of the IE Web Controls TreeView?
Ryan Olshan
Microsoft MVP, ASP.NET
Blog | Group | Website | Strong Coders Community

How to ask a question
MrPimp
Asp.Net User
Re: TreeView is not a known element (porting Web site from VS2003 to VS2005)9/14/2006 5:13:50 PM

0/0

Yeah, I was about to embark on that journey, but I thought I'd ask first, since I only have to convert that site to include in one of our apps as an exemple on how to deliver tutorial videos to our clients...

I hoped I would be able  to avoid that meddling with the site... :(

Thanks anyhow for your time.

 

Regards,
Pascal Marier-Dionne


Regards,
Pascal Marier-Dionne,
Web Developer.
Quebec, Canada
MrPimp
Asp.Net User
Re: TreeView is not a known element (porting Web site from VS2003 to VS2005)9/18/2006 3:34:31 PM

0/0

Well, thanks for the tip, StrongTypes, I followed it finally.  I replaced the web Controls' Treeview with the one from .Net 2.0.  It (nearly) works fine, now.

The problem I have is I'd like to have nodes with children expand/collapse automatically when clicked on.

I nearly solved it by adding a call to ToggleExpandCollapse in the TreeView_selectedNodeChanged event handler.  The only problem is, if a user repeatedly click on the same node, the event only gets fired the first time.  There doesn't seem to be a click event for either the TreeNode, nor the TreeView Class, any workaround?

As always, any insight is welcome


Regards,
Pascal Marier-Dionne,
Web Developer.
Quebec, Canada
StrongTypes
Asp.Net User
Re: TreeView is not a known element (porting Web site from VS2003 to VS2005)9/18/2006 4:48:17 PM

0/0

At this point, it would be best if you posted your quesiton in the Master Page, Themes and Navigational Controls forum.
Ryan Olshan
Microsoft MVP, ASP.NET
Blog | Group | Website | Strong Coders Community

How to ask a question
MrPimp
Asp.Net User
Re: TreeView is not a known element (porting Web site from VS2003 to VS2005)9/18/2006 5:05:06 PM

0/0

Okay, I'll do that.  Thanks again.
Regards,
Pascal Marier-Dionne,
Web Developer.
Quebec, Canada
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
TreeView is not a known element (porting Web site from VS2003 to ... TreeView is not a known element (porting Web site from VS2003 to VS2005). Last post 09-18-2006 1:05 PM by MrPimp. 5 replies. Sort Posts: ...
ng.asp-net-forum.internet_explorer_web_controls/3 - fix error ... TreeView is not a known element (porting Web site from VS2003 to VS2005), 0, 4, 9/9/2008 10:33:41 AM. Multi-column treeview, 0, 17, 9/9/2008 10:33:40 AM ...
Using IIS with VS 2005 and the new Web Project system - ScottGu's Blog In VS 2003, this command does not work for Web apps. I just rechecked. .... 3) You could covert your web-site project to be a VS 2005 Web Application ...
.NET Page 20 - Bytes Site Map Printed version of web page that has scrolling data grids · Problem with Attaching .... Datasets created through VS2005 data manager does not get child re ...
TheMSsForum.com >> Csharp >> Write to DebugOutputString in ... Is anybody running VS 2003 and VS 2005 together in the same machine without ... Any links in the Microsoft website regarding if this is supported or not? ...
ASP.NET Development Jun 10, 2006 ... Element is not a known element. This can occur if there is a compilation error in the Web site · DataBoundLiteralControl loses plot ...
Internet Explorer Web Controls - ASP.NET Forums TreeView is not a known element (porting Web site from VS2003 to VS2005... by MrPimp ... Why does my treeView not seem like a treeView??? sombody can help. ...
CodeProject: VSHelper - Visual Studio IDE enhancements. Free ... [6] HOWTO: Removing commands and UI elements during Visual Studio . .... I am trying to port my C++ addin from VS 2003 to VS 2005 and i came to know that we ...
Zupancic Perspective (v2.0) - .NET NET 1.1 development (in VS2003) because that will not be supported on Vista. ...... I just don't get how VS2005's Publish Web Site option is all that ...
.NET Page 9 - Bytes Site Map .NET CLR 1.1 does not release the COM object reference. FileSystem Permissions · XHTML 1.0 ... Unable to create App_Data folder for new FTP Website VS 2005. ...




Search This Site:










default button with master page

just upgraded local version 2.0.4 to 2.1.2 - all works except custom module

problem with difference between system.web.mail and system.net.mail in using attachments

help with new install of dnn 2.1.2

any idea of how to use membership provider in my case?

bc30456: 'createresourcebasedliteralcontrol' is not a member of

how to hide client script in web custom controls?

help....button click twice can save 2 time..

error: site settings is currently unavailable

different roles for user depending on selection at login

getting my application to run on the host...

protect a file from download

bug with clientid be generated incorrectly w/o naming container on first row of datalist/repeater

intellisense in aspx control properties

'nt authority\anonymous logon' error happening intermittently

skin upload error in dnn 2.1.2

any way to show/print all tabs in tab+multipage

loginview + login control problem with destinationpageurl

active directory authentication

problem installing .text on win2k3 running wss

bug: web.deployment.tool and international characters

can't find sql query analyzer??

restart (logon) page incorrect after session timeout.

using adsense channels on master pages

render prerender init createchildcontrols | where ?

some dnn 2.0 questions\suggestions

on mouse roll over..

please help, viewstate problem in control

ndpi.clientgallery released

how to find position coordinates of asp:panel from masterpage using javascript

 
All Times Are GMT