This project is read-only.

Highlight a specific row?

Jul 3, 2008 at 10:13 AM
I am trying to initialize the control with a specifc row highlighted.  Has anyone had any success doing this?

Thanks

Steve
Jul 3, 2008 at 2:03 PM
I have managed to get the grid to highlight a specific row now, using ListControl.FocusedItem, with a slight tweak which basically calls SetFocusWithSelectionCheck eventually.  My problem now is getting this to fire during the initialisation of the screen.  I cant call it in page load because the control isnt ready yet.  At the moment I can only get it to work by having it on a button, but this is no good to me.  Can anyone suggest a way I can get this to run after the page has loaded?

Thanks

Steve
Sep 20, 2008 at 6:33 PM
Hi!

I'm trying to select first row dinamically, but I also can't do that.

Can anyone explain me how can I do this?

Thanks

Mike
Sep 22, 2008 at 9:36 AM

I modified the src in the end, I can send it you if you like


From: MikeGrozny [mailto:notifications@codeplex.com]
Sent: 20 September 2008 18:34
To: Steven J. Dyer
Subject: Re: Highlight a specific row? [Superlist:30777]

From: MikeGrozny

Hi!

I'm trying to select first row dinamically, but I also can't do that.

Can anyone explain me how can I do this?

Thanks

Mike

Read the full discussion online.

To add a post to this discussion, reply to this email (Superlist@discussions.codeplex.com)

To start a new discussion for this project, email Superlist@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.

All messages sent to and from South Staffordshire Water PLC
may be monitored to ensure compliance with internal policies and to protect
our business.

E-mails are not secure and cannot be guaranteed to be error free as they can be
intercepted, amended, lost or destroyed or contain viruses. Anyone communicating
with us by e-mail is taken to accept these risks.


South Staffordshire Water PLC
Green Lane, Walsall, WS2 7PD
Registered in England No. 2662742


Sep 22, 2008 at 2:57 PM
Hi Steve,

Thanks for reply.

You can send it to me, please.

Best regards,

Mike
Sep 24, 2008 at 9:29 PM
Edited Sep 24, 2008 at 9:30 PM
Hi Guys,

Do you mean selecting the first item as in the first displayable item that could possibly be a group or the first row item? In the test app I've checked in some code which I *think* is you want, anyway check it out and let me know what you think??


P.S Sorry I've taken sooo long getting back to ya, I've been busy trying to put some bread on the table :-)

Cheers
Lee