Link to home
Start Free TrialLog in
Avatar of ahit
ahit

asked on

user control Smart part creation and deployment

Hello Experts,
I am new to WSS 3.0, smartparts, webparts. I have successfully installed ReturnofSmartpart. I tested the given smartpart shipped with the documentation. Now the problem is once I try to make my own user control and deploy it onto my sharepoint, I m getting this error ' couldn't load mycontrol.ascx ' . I have gone through different articles, jan Blog .... but still unable to find simple way to create and deploy my own created user control.
can u plz tell me, how can I make a simple user control as web part and deploy onto the sharepoint site ?
I m using
1. VS 2005
2. WSS 3.0
3.Windows server 2003
I will be extremely thankful if u can help me out...
Thanks in anticipation.

With Regards
Avatar of Ted Bouskill
Ted Bouskill
Flag of Canada image

You cannot create web controls the ASP.NET 2.0 way to work in Sharepoint.  You have to create web parts the Sharepoint way.

Here is a good starting point: http://15seconds.com/issue/060824.htm
Avatar of ahit
ahit

ASKER

hi tedbilly,
thanks for replying. have a look of this article
http://weblogs.asp.net/jan/archive/2006/12/02/announcing-the-return-of-the-smartpart.aspx
it says that by using smartpart, one can build web user control and deploy it onto the sharepoinnt as smartpart which is ultimately a form of web part. in his vidoe, he has given a sample web user control and successfully deploy it onto the sharepoint. I also tried and it work perfectly fine. The problem comes when I ceate my own web user control and try to deploy it on my sharepoint site as smartpart.

Plz help me out!
Waiting for response!
With Regards
Did you create a Sharepoint deployment solution?  Manually installing web controls or parts in Sharepoint is actually pretty tricky to do.  It's safer and easier to build a deployment solution.
Avatar of ahit

ASKER

Hi,
honestly, don't know how to  create a Sharepoint deployment solution.
plz tell me how can I deploy my Web user controls on my sharepoint site as smartpart.(any article, video)

Waiting for ur response.
With Regards
Avatar of ahit

ASKER

hi tedbilly,
I read that artcle, but it seems like creting a solution file in Sharepoint. In fact I am looking for making a deployable solution package for my ASP.NET 2.0 web parts application which is built in Visual Studio 2005. OR How can I deploy my ASP.NET 2.0 web parts application developed in Visual Studio 2005 that contains User controls, onto the WSS 3.0 ?????????
 The application I made runs perfectly fine on local host (Web browser). But Now i don't know how can I deploy that Application onto the WSS 3.0.

Can somebody help me out and plz refer to me easy to follow arctile, video or anything...

plz plz plz !!!!!!!!

With Regards
ASKER CERTIFIED SOLUTION
Avatar of Ted Bouskill
Ted Bouskill
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forced accept.

Computer101
EE Admin