CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 12/28/2006 5:18:58 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 157 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
sa4720k
Asp.Net User
Help with Gridview skin, theme and CommandField12/28/2006 5:18:58 PM

0/0

Hello,

I'm having a very difficult time with my GridView.  I have a "Select" CommandField in my GridView and when I move my mouse over the word "select" the text color and font weight change.  My GridView does not have any styles or formats so I don't understand why this is happening since I don't see anything in my page that could cause it.  I'm trying to stop this hover effect from happening by creating themes and skins and CSS for the grid and setting "text-decoration: none;", but for some reason none of the settings get applied.  I've even tried to convert the CommandField to a template field without any success.  Can someone please point me in the right direction?  I've tried to include some relevant information below:

Skin file:
<asp:GridView SkinID="gdvMainSkin" runat="server" CssClass="GridViewStyle">
<Columns>
<asp:TemplateField HeaderText="Select" ShowHeader="False" >
<ItemTemplate>
<asp:LinkButton runat="server" CausesValidation="False" CommandName="Select" Text="Select" CssClass="ControlStyle"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</
Columns>
</asp:GridView>

Css File:
.GridViewStyle
{
Width: 90%;
}

.ControlStyle

a:link, a:visited, a:hover
{
text-transform: none;
text-decoration: none;
color: Gray;
Width: 45px;
}

Thanks


sa4720k
bmains
Asp.Net User
Re: Help with Gridview skin, theme and CommandField12/28/2006 5:37:58 PM

0/0

Hey,

You have coloring information for ControlStyle, the style for the linkbutton; do you have another a element style outside of that?  My guess is something is causing it to happen, from the skins and styles that you are rendering, whether it should or not.


Brian

"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
sa4720k
Asp.Net User
Re: Help with Gridview skin, theme and CommandField1/5/2007 5:46:11 PM

0/0

Hi,

As far as I can see I don't have any other element styles outside.  I've tried everything I could think of, but I've had no success.  Is there a way to just remove the default hover style for a CommandField in a GridView that is rendered as a linkbutton?  Is there a way to remove it for the entire page and its elements?  I can't imagine being the only person to have experienced this problem.

 Thanks


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


Free Download:

Books:
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007

Web:
Help with Gridview skin, theme and CommandField - ng.asp-net-forum ... Help with Gridview skin, theme and CommandField, > ROOT > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls, ...
Help with Gridview skin, theme and CommandField - ASP.NET Forums Re: Help with Gridview skin, theme and CommandField ... Re: Help with Gridview skin, theme and CommandField ...
CommandField in GridView with Theme. - ASP.NET Forums Skin1.skin Theme skin Font-Size won't work for GridView CommandField Buttons Theme skin Font-Size won't work for GridView CommandField Buttons ... CommandField buttons in a GridView. ... Please help ..... GridView ...
Tutorial 10: Master/Detail Using a Selectable Master GridView with ... Checking the Enabling Selection option adds a CommandField to the ProductsGrid ... edit the GridView.skin Skin in the DataWebControls Theme to include the ...
GridView Insert Problem - ASP.NET Help GridView Insert Problem. Feb 24th, 2007 ... custom button/link in detailsview commandfield section Any help is appreciated. Thanks. Author. 11 Apr 2006 2:14 PM .... Theme skin Font-Size won't work for GridView CommandField Buttons ...
Applying a theme to a grid view column - ng.asp-net-forum ... Applying theme to GridView custom EditForm template - Developer . ... applying a skin to the CommandField column of a gridview... how ... applying a skin to ...
Working With ObjectDataSource And GridView each have their own set of properties to add style too, or you can make use of a CSS-class or a theme/skin and link it to the correct part. ...
SmartPart for SharePoint - Discussions Second, can anyone help me to skin or theme server controls in my user ... So if I put this gridview into a usercontrol, add the usercontrol to a page via ...




Search This Site:










loggin in portals automatically.

how to create a forum using dnn 4.0.2?

re-authenticating a user even with the authentication cookie set

editmodule

can't run .asmx files?

tool to convert mdf to sql?

web page looks great in ie 7 (no supprise) but is meesed up in firefox.

why does menu control not show subnavs unless page refreshed?

skinning question

where can i donwload vs 2005 team system

treemenu, hyperlink & sitemap

database problem i think :)

skin upload - file manager (.zip) vs. ftp (.aspx, etc)

c# equivalent of addressof

restricting users based on roles

3.0.13 issue?? visible by administrators only

can we extend the precompiled & deployed application in asp.net

nagivation issue with gallery add-in for dnn3

grouping members

how to add a user-control to a page?

web designer & asp.net configuration tool error

password expiry

visual studio crashes

what is with the naming conventions of user controls in vs2005!

replacing web.config connectionstring user id and password

forms processing

where can i get download the ibuystore code with accesss and vb?

upgrade issues 2.0.4 to 2.1.2

request is not available in this context

tabstrip && internet explorer 7

 
All Times Are GMT