Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Adding WebControls project to DNN4.6.x
Previous Previous
 
Next Next
New Post 9/25/2007 11:12 AM
User is offline Lindsay Miles
96 posts
10th Ranked


Adding WebControls project to DNN4.6.x 
Hi,

I keep running into issues with the latest WebControls and DNN4.x and have made a few posts on various threads/forums...

Once the latest has been unzipped into the proper place, VS2005 refuses to all allow any of the controls to be dropped into any one of my modules.
Neither does it display the Webcontrols that are already there, right now, it is the TreeView.

Thought I'd add the WebControls source to the DNN 4.6.x solution and recompile BUT, seems like the WebControls project was built in VS2003.
VS2005 asks if I want to convert it. That is the latest WebControls source downloaded too...

Well, before doing so, is there anything odd here? Why won't the TreeView display? I can see all in codebehind as references etc all work and I can see all the methods etc etc. within VS2005. It just refuses to display in any .ascx in design mode. The error cited is a "placeHolder" error.

PLEASE advise!!

thanks,

Lindsay
 
New Post 9/25/2007 11:25 AM
User is offline Jon Henning
1590 posts
www.codeendeavors.com
5th Ranked










Re: Adding WebControls project to DNN4.6.x 

Have you tried following Michael's tutorial? 

http://www.adefwebserver.com/DotNetNukeHELP/DNNTree/


 
New Post 9/25/2007 1:09 PM
User is offline Lindsay Miles
96 posts
10th Ranked


Re: Adding WebControls project to DNN4.6.x 
Jon, I've been through all that without even looking at the tutorial.
However, as a point of reference, when I get to Step 4 in the tutorial, and drag the item into my module, VS2005 gives me this error message:
"Control cannot be created because Visual Studio cannot find the control's type in the control assembly"

Instead of getting the "PlaceHolder" item in design view, I get a DNN:Error "box".

The webcontrols version is 1.5.3.20116 and WebUtility version is 3.2.0.0
There are no other versions of these on this machine.

I thought of adding to the DNN 4.6 solution and recompiling but, as I said, it was built in a previous version of VS and I don't want to jump through the loops converting that project. Just no time.

Thought of using the MS TreeView but there are certain properties and methods that make your control more practical.

Anyway, please advise further if you can. I did add you to msn just in case we could chat briefly online.

Thanks,

Lindsay

 
New Post 9/25/2007 4:26 PM
User is offline Lindsay Miles
96 posts
10th Ranked


Re: Adding WebControls project to DNN4.6.x 
Jon, following my last email I found something odd AND fixed the issue.

I created a module project using the DNN template.
All was working just fine EXCEPT the Webcontrols as you know.

In the HTML section of one ascx file, I saw it had a path error pointing to localhost/DotNetNuke but my setup is not that at all.
Strange 'cos all else in the module seems to work.
I went into the vbproj file with notepad and found an errant path pointing to localhost/DotNetNuke and not to the correct path for the project.
This entry:http://localhost/DotNetNuke
I changed that to point to the correct path and VOILA!

WebControls now work.

So, maybe the project template needs to be amended to use the correct path for the DNN installation in which it is being developed...one simply assumes :-) the paths are correctly set.

Anyway, hope that stops you from wasting any time on this issue.

thanks,

Lindsay
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Adding WebControls project to DNN4.6.x
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com
IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP