CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 2/7/2008 3:38:24 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 75 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
hurzwurz
Asp.Net User
problem with themes and gridview2/7/2008 3:38:24 PM

0/0

 Hi!

 ok heres my problem:

when I assign styles in the webconfig file

or at the page by the 'Theme="Design1"' atribute

my skin files for my gridview wont work

 because as you see here in my skin file are colums which are used to force the edit etc. function to use buttons for the edit, delete etc. commands

 

<asp:GridView runat="server" SkinID="GridView1" AllowPaging="True" AllowSorting="True"
BackColor="White"
ForeColor="Black" Font-Size="Small" Font-Names="Arial" Font-Bold="True" CellPadding="2">
<FooterStyle ForeColor="Black" BackColor="#C5C6C8" />
<EmptyDataRowStyle BackColor="#C5C6C8" ForeColor="Black" BorderColor="White" BorderStyle="Solid" BorderWidth="2px" />
<Columns>
<asp:CommandField ButtonType="Image" SelectImageUrl="~/Images/select.gif" ShowSelectButton="True" SelectText="Select" />
<asp:CommandField ButtonType="Image" DeleteImageUrl="~/Images/delete.gif" ShowDeleteButton="True" DeleteText="Delete" />
<asp:CommandField ButtonType="Image" EditImageUrl="~/Images/edit.gif" ShowEditButton="True" EditText="Edit" />
</Columns>
<RowStyle ForeColor="Black" BackColor="#C5C6C8" BorderStyle="Solid" BorderColor="White" BorderWidth="2px" VerticalAlign="Middle" />
<EditRowStyle BackColor="#C5C6C8" BorderStyle="Solid" BorderColor="White" BorderWidth="2px" ForeColor="Black" />
<SelectedRowStyle BackColor="#FDD78A" ForeColor="Black" BorderStyle="Solid" BorderColor="White" BorderWidth="2px" />
<PagerStyle ForeColor="Black" BackColor="#C5C6C8" BorderStyle="Solid" BorderColor="White" BorderWidth="2px" />
<HeaderStyle BackColor="Blue" ForeColor="Black" BorderStyle="Solid" BorderColor="White" BorderWidth="2px" VerticalAlign="Top" />
<AlternatingRowStyle BackColor="#929395" BorderColor="White" BorderStyle="Solid" BorderWidth="2px"
ForeColor="Black" VerticalAlign="Middle" />
</asp:GridView>

 

so theme="design1" and assigining a theme in the web config ignore the properties of the gridview on the page

but in this gridview there are boundfields or other columns with hyperlinkfields

and though I used 'StylesheetTheme="Design1"' to gurantee that the skins work correct and the data of the datasource is displayed

but now I wanted to let the user change styles

that I manged like here descriped: 

http://forums.asp.net/t/1216191.aspx

 

though now its a problem, cuz the theme assigning causes the problem so that the data from the datasource in the gridview is not display

 

for your information : on every content page I wrote the ' stylesheettheme="design1" '

 

how I have to change the skin for gird views that I get the styles (with Images for edit etc. ) and the data from the datasource I want to display?

thanks
 

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 2.0 Databases: Beta Preview Authors: John Kauffman, Thiru Thangarathinam, Pages: 427, Published: 2005
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
ASP.NET 2.0: A Developer's Notebook Authors: Wei Meng Lee, Pages: 326, Published: 2005
Professional ASP.NET 2.0 Databases Authors: Thiru Thangarathinam, Pages: 504, Published: 2007
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
ASP.NET 2.0 Cookbook Authors: Michael A. Kittel, Geoffrey T. Leblond, Pages: 989, Published: 2005
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
ASP.NET 2.0 MVP Hacks and Tips Authors: David Yack, Joe Mayo, Scott Hanselman, Fredrik Normén, Dan Wahlin, J. Ambrose Little, Jonathan Goodyear, Pages: 400, Published: 2006
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007

Web:
ASP.NET GridView Themes - Kevin Brammer NET GridView Themes. Saturday, August 16, 2008 9:38 AM by bartekm. Hi Kevin, excellent themes! For me though, the problem was always how to get filtering in ...
Matt Berseth: 5 GridView Themes Based on Google's Personalized ... So to prototype how this might work I created five GridView themes based on a few of the different color palettes from igoogle's site (night, afternoon, ...
Kiran Chand's Blog : Themes ate my GridView Dec 7, 2005 ... If I browse the page it never renders the GridView! I get a blank screen. This problem is due to the 'Theme=Snow' attribute set on the page. ...
problem with themes and gridview - ASP.NET Forums though now its a problem, cuz the theme assigning causes the problem so that the data from the datasource in the gridview is not display ...
Mukund's Ideas: How to Implement themes to GridView in asp.net2.0 If we want to change some property like AlternatingItemStyle of the GridView control we will not be able to do this by using simple CSS. Themes allow you to ...
How can I theme a gridview... | drupal.org How can I theme a gridview... thefunk - October 15, 2007 - 14:03 ..... and yes, I confirm your solution does fix the problem :) - thanks! ...
Glassy Black GridView Theme Sep 9, 2008 ... I have been following Matt Berseth's posts covering DataGrid designs and decided to try a create my own theme.
Matt Berseth's ASP.NET Demo Gallery 5 GridView Themes Based on Google's Personalized Homepage (igoogle). A handful of themes for the GridView based on some of my igoogle favorites ...
Sign In: Themes per GridView Themes per GridView. Pubblicato da Pierluca a Monday, June 09, ... Sul blog di Kevin Brammer una raccolta di cinque temi per il controllo GridView: ...
Gridview skins ASP.Net : C#, ASP.Net Themes, Skins Jun 13, 2008 ... Tags: C#, ASP.Net Themes, Skins. I'm trying to create a skin for a gridview. The problem is that the grid lines are the default color, ...




Search This Site:









  Privacy | Contact Us
All Times Are GMT