Showing posts with label displaying. Show all posts
Showing posts with label displaying. Show all posts

Thursday, March 22, 2012

Supress repeating values in gridview

Hello!

Customer wants a gridview displaying individuals who have taken part
in courses. The gridview should be sorted by the name of the
participant. If a person has taken part in several courses, the name
should only be stated once. Example:
Course Participant Date
Skateboarding John Doe May 1st 2007
Sailing Mary Doe June 5th 2007
Skateboarding June 10th 2007
Parasailing Ken Foll June 8th 2007

Since Mary has taken part in two courses (sailing and skateboarding)
her name should be stated only once.
How can I achieve this?

TIA

Regards!Handle the gridview's PreRender event. In the event loop through the Rows
collection, detect rows with the same Participant values and replace
repeating values with empty string.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
<Swede.Swede@.gmail.comwrote in message
news:1189456778.612104.325910@.22g2000hsm.googlegro ups.com...

Quote:

Originally Posted by

Hello!
>
Customer wants a gridview displaying individuals who have taken part
in courses. The gridview should be sorted by the name of the
participant. If a person has taken part in several courses, the name
should only be stated once. Example:
Course Participant Date
Skateboarding John Doe May 1st 2007
Sailing Mary Doe June 5th 2007
Skateboarding June 10th 2007
Parasailing Ken Foll June 8th 2007
>
Since Mary has taken part in two courses (sailing and skateboarding)
her name should be stated only once.
How can I achieve this?
>
TIA
>
Regards!
>

Tuesday, March 13, 2012

SWF one over another

Hi,
I have got 2 swfs overlain on onto another. This is because I have
skyscraper (displaying jpg, gif or swf) which is moving during scrolling
page. Unfortunatelly there are several swf buttons on the "route" of
skyscraper so sometimes button swfs are on the front instead of being
covered by the skyscraper. I read about parameter wmode and values
transparent, opacity and so on (<param name="wmode" value="opaque" /> or
value="transparent") but it works only for IE not for FireFox.
Bst Regards
Darek THi,
Dariusz Tomo wrote:
> Hi,
> I have got 2 swfs overlain on onto another. This is because I have
> skyscraper (displaying jpg, gif or swf) which is moving during scrolling
> page. Unfortunatelly there are several swf buttons on the "route" of
> skyscraper so sometimes button swfs are on the front instead of being
> covered by the skyscraper. I read about parameter wmode and values
> transparent, opacity and so on (<param name="wmode" value="opaque" /> or
> value="transparent") but it works only for IE not for FireFox.
> Bst Regards
> Darek T
You should really ask a Flash forum about this. Asking a Flash question
in a Microsoft newsgroup is probably going to fail :-)
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch