Sorry for the delayed reply, I don't check the inbox linked with this account too often. I think you might have resolved this issue already, but -
If the ActualFTE is 0.7300, as you have mentioned in the email, the row should have been highlighted in Orange color? If that's "not" the case, are you sure you still have the else if condition < .75M in place and it's really not < .075 by any chance (from what you have mentioned in your original post)?
Also, can you check what you are getting from Convert.ToDecimal(DataBinder.Eval(e.Row.DataItem, "ActualFTE")) using immediate window/quick watch and a debug point?
If it still doesn't work, check the HTML source to see what's rendered for the first row. You might want to add the ActualFTE to the row as a data- attribute, to make sure the value is what you're expecting:
If you're subscribing to the event when you create the control, you just need a local variable of the correct type:
var view = new ConnectionView();
view.ConnectedToDevice += YourEventHandler;
CurrentView = view;
If you want to subscribe at some other point, the as operator would work:
var connectionView = CurrentView as IConnectionView;
if (connectionView != null)
connectionView.ConnectedToDevice += YourEventHandler;
NB: There's a subtle race-condition in your RaisePropertyChanged method. It's possible that the last subscriber could be removed between the not-null check and the invocation. The simplest fix is to copy the delegate to a local variable at the start:
protectedvoid RaisePropertyChanged(string propertyName)
var handler = PropertyChanged;
if (handler != null)
handler(this, new PropertyChangedEventArgs(propertyName));
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
I have a C# ASP Web project where I’m required to produce a 200+ page PDF to eventually download and open on the browser. I have no experience in building a PDF file, and I was wondering if someone could point me in the right direction. I need a component / product / method that would be able to handle such a large report.