Last post Feb 24, 2010 02:32 AM by Song-Tian - MSFT
Feb 22, 2010 01:10 AM|megetron|LINK
I created a new UserControl. All it does is to display a list using DataList. this usercontrol has a property called CssClass to change the layout of it.
Now, I am looking for a way to include this usercontrol in different parts of the website pages and so I decide to use the web parts functionality.
The question is how can I set this user control as a webpart, and what do I need to do so that on each instance of this usercontrol I will set CssClass property I have just created.
Feb 24, 2010 02:32 AM|Song-Tian - MSFT|LINK
Check this:http://www.beansoftware.com/ASP.NET-Tutorials/Web-Parts.aspx .