Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there a possibility to put the WebUserControl in the draft of the Class Library?


I have the process drag and drop from the Web project to a Class Library
However, this method does not work ...

Has been successfully added CONTROL ... But is not Rendrth

I know the existence of Server Control, but I would like to use WebUserControl

Is there a solution?
Posted
Updated 18-Feb-11 10:21am
v2
Comments
Henry Minute 18-Feb-11 14:12pm    
Your question is not entirely clear.

What is a '555'?

1 solution

What is draft of class library? Are you trying to put UserControl in library? If so what the issue you are facing? It is possible and there are tones of examples out there

See http://msdn.microsoft.com/en-us/library/3457w616(v=vs.71).aspx[^]

http://stackoverflow.com/questions/398538/is-it-possible-to-add-a-web-user-control-to-a-class-library[^]
 
Share this answer
 
Comments
Ahmad Abou Hamdh 18-Feb-11 16:42pm    
Yes my friend this is what I mean .. I saw the link but the problem is that when RunTime does not appear this control.. What is the reason? With the knowledge that it carries all the data from Database
Yusuf 18-Feb-11 16:46pm    
I don't know. Did you debug your program? Did you get any exceptions? If you suspect piece of code may be the culprit, post it so we can have a look.
Ahmad Abou Hamdh 18-Feb-11 17:30pm    
Please note the image in the following link:
http://www.ahmadahamdh.somee.com/Q/Untitled.jpg

Why does not appear the AddressControl.asax in ToolBox for Custom Control Lib Tab?
The program does not give any exception .. When I see the process debug the control filled with data, but this does not rendring
Yusuf 18-Feb-11 17:51pm    
I don't know, why it does not appear. I don't have the code and can't tell much from screen shots. But I noticed so many other controls showing, so your best bet is to compare the code for those showing and that which is not showing. May be you're missing something.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900