• Home
  • About
  • Resume

Ultrawebgrid: Highlight row on MouseOver

By , 05/13/2009 2:15 PM

To highlight row in Infragistics Ultrawebgrid on mouse over event you just need to follow 4 simple steps:

First, define a class to be used for highlighting, for example:

<style type=”text/css”>.over { BACKGROUND-COLOR: lightcyan }</style>

Second, set mouse over/out handler (either in source or thru designer):

<ClientSideEvents MouseOutHandler=”MouseOutHandler” MouseOverHandler=”MouseOverHandler” />

Third, implement event handlers:

/* highlight row on mouse over */
MouseOverHandler(gridName, id, objectType){
ohRow = igtbl_getRowById(id)
      if (ohRow) ohRow.Element.className =

/* return row backcolor on mouse out */
MouseOutHandler(gridName, id, objectType){
ohRow = igtbl_getRowById(id)
      if (ohRow) ohRow.Element.className =

Fourth (and this is important, see why) set background of the row style to inherit:

<RowStyleDefault BackColor=”Window” BorderColor=”Silver”
 BorderStyle=”Solid” BorderWidth=”1px”
CustomRules=”background-color:inherit” Cursor=”Default”> …

Now you’re all set! The row will be highlighted on mouse over.

Windows 7: First Impressions

By , 05/13/2009 1:21 PM

I’ve been using Windows 7 Release Candidate for about a week and so far like it very much. Out of all Oses I’ve ever installed it was the first one to detect my home wireless network during setup. Oh and under Windows 7 for the first time Intel Wireless N card achieved full 300Mbps speed even though it is connected to a Dlink router (all manufacturers warn that to achieve full N speed you have to have both client and access point of the same brand). And overall it has a very light, easy feeling, I actually enjoy sitting behind Aero desktop. And only now in comparison, I understand what a bloated pressure was imposed by Vista behemoth.

No compatibility issues, all software and games work perfectly (by the way I am using 64-bit version of Windows 7). It looks like Microsoft did good this time. Apparently Windows releases follow the same law as Star Trek movies – every odd one sucks, every even one is good:

  • Windows 95 – weak start
  • Windows 98 – ok
  • Windows Me – sucked big time
  • Windows XP – pretty good
  • Windows Vista – big flop
  • Windows 7 – … so far so good

So hopefully Windows 7 will be a hit, as well as the new Star Trek movie (which I still have to see).

Panorama Theme by Themocracy