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
ASP.NET MVC Ready – 3 Months Free and Free Setup



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: NewsGroup Date Entered: 10/13/2006 12:14:46 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 44 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
psi_u
Asp.Net User
Selected | Alternate Row deon't work: fix10/13/2006 12:14:46 PM

0/0

The symptoms:

 I want the background of the selected rows to be yellow.

It works only on the selected rows, that aren't an alternate rows.

The problem:

the method "GetRowClass", which determines the ClassName for the appropriate RowState, using all the options of the enumeration of DataControlRowState (except normal).

However, there is another option: "Selected | Alternate". Since its nor Selected neither Alternate, The Switch doesn't get them in either CASE. Therefore it returns the ClassName as NULL (or: "").

The solution:

One simple way, that demonstrate the problem and the solution is by adding these lines after the last Case. That should resolve the problem:

	case DataControlRowState.Normal:
                    break;
                default:
                    className += " AspNet-GridView-Selected ";
                    className += gridView.SelectedRowStyle.CssClass;
                    break;

 Hope this helps.

Russ Helfand
Asp.Net User
Re: Selected | Alternate Row deon't work: fix10/13/2006 4:32:11 PM

0/0

Thanks.  Angel Eyes also posted a fix for this, http://forums.asp.net/thread/1399505.aspx.  It will be fixed in the next version of the kit.


Russ Helfand
Groovybits.com
psi_u
Asp.Net User
Re: Selected | Alternate Row deon't work: fix10/14/2006 2:50:59 AM

0/0

Well, its almost a year by now...., sooooo, I forgot..

 Anyway, I can't read VB well enough, but I guess that "OR" is the equivalent to "|".

 I think my way will cover also the other options, such as edit etc.

 

Thanks anyway.

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


Free Download:


Web:
Deon S McMillen v Bd of Trustees/WVU T at 176. However, when Mr. McMillen returned to work he experienced a severe .... The scope of the search for an alternate position for the Grievant ...
Accordion Madness » Learning jQuery - Tutorials and Information Here is an alternative way that you can get the active section's items to show, if it just won't work through the plugin's option: ...
Sharksworld » Blog Archive » Sharks in no mood to be friendly I don’t know how he acts in training. I hope that Deon steps up but he too .... was selected again, and was in fact a first alternate for his squad until he ...
TheMSsForum.com >> Exchange Admin >> how do you clear out exchange ... Can this be deon from within MOM? If so, how? Tag: how do you clear out exchange 2003 ..... doesn't mean they don't work or aren't useful. If you aren't ...
HUTT RIVER - PEER REVIEW AUDIT AUGUST 2006 The reviewers discussed alternative possibilities for eliminating gravel aggradation and agreed that. applying for a resource consent to work in the water ...
FRANKFORD TERMINAL BLOG: SEPTA News, Info, Rumors, etc.: October 2003 A dead body was found along the R7/NEC ROW near Croydon early Monday morning. ..... As if Don Pasquale (aka Pasquale T. Deon, Sr.) didn't have enough state ...
Using Moodle: Gradebookplus version 2 Hi Deon, When a category is not selected and the edit grades is chosen ...... And don't use the 1.7 version Jeff just posted on 1.5.4, that won't work at ...
Live and Let Addai? If you are truly desperate, then take a look and see if Mike Anderson is available as he is rumored to get more work on the road versus the Chiefs. Don’t be ...
Vermont Milk Commission’s Work Continues along the ROW to contact VAST! Capital Equipment Assistance Program -. Alternative Liquid Manure Application. The Agency of Agriculture, Food and Markets is ...
MEGALIST!! The Best and Worst player on each NFL team…currently ... Aug 25, 2008 ... Has a Janikowski-punk thing going, which doesn’t work if you dont ..... ((A handful of you took offense to leaving Deon Sanders off the ...












css toolkit adapters- apply css style to gridview row in code (c#)

css height

menu not rendering in ie6

menuadapter.js and customsitemapproviders

menu and ie7

atlas and gridview css control adapter doesn't work together

ie not responding when span.aspnet-detailsview-value left-margin more 8em?

css menuadapter

vs2005 crashing after installing css friendly adapters

vista and visual studio 2005

css treeview and a master page (never meant to be?)

multiple menus - overlay problem

exception has been thrown by the target of an invocation.

help

login control does not resolve "~/" when css adapter is enabled

troubles using in existing application

menu control - background images

ie 7 beta 3

button click problem

gridview adaptor breaks atlas updatepanel functionality

gridview onrowdatabound change e.row.cssclass

setting id for menu adapter and output it in the li tags from exo_duz

css adapters effecing other controls?

problems with horizontal orientation

problem with drop down menu and detailsview

script block not being generated

treeview onnodeexpanded - onnodecollapsed

treeview control accessibility

is there an example of how to add this functionality to an existing application?

adapters & detailsview

  Privacy | Contact Us
All Times Are GMT