Link to home
Start Free TrialLog in
Avatar of pq2u
pq2u

asked on

Listview and formview skins

Hi

 

I new to web development and have a Listview and a complicated Formview on my page. I have managed to work out the functionality of the controls to display the data. However I need to style the controls and make the styling editable externally. I have look at skins but can not find examples or tutorials of how to do this. All the examples and tutorials seem too basic. Please can you help point in the right direction to simple examples or tutorials to make Listviews and complicated Formviews controls and then style them.

 

A work college says do not bother with Skins just apply CSS to the control when it is rendered. Is this better then using Skins ?   If so should I even be bothering with ASP controls ?

PS I am using VS 2008

Cheers
      
ASKER CERTIFIED SOLUTION
Avatar of guru_sami
guru_sami
Flag of United States of America 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
Avatar of pq2u
pq2u

ASKER

Thanks I think you cleared up the major issue. Please could to point my too some good examples etc
Here are examples using LV:
http://weblogs.asp.net/scottgu/archive/2007/08/10/the-asp-listview-control-part-1-building-a-product-listing-page-with-clean-css-ui.aspx
http://msdn.microsoft.com/en-us/library/bb398790.aspx

Note: The styling is applied to individual ul/li tags or table/tr/td tags.
If you have Label control inside LV, then you apply CssClass to that Label. If you have a skin for the Label Control in a Skin file, then you can apply that to this Label.
Avatar of pq2u

ASKER

Thanks it really helped us