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