We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

FOLLOW-UP: Change row''''s backcolor on clicking hyperlink

Thread ID:

Created:

Updated:

Platform:

Replies:

48253 Aug 23,2006 09:33 AM Aug 24,2006 04:24 PM ASP.NET Web Forms (Classic) 2
loading
Tags: GridGroupingControl
Administrator [Syncfusion]
Asked On August 23, 2006 09:33 AM

After adding ListBoxSelectionMode="One", the page comes up selecting the first record in gray(don''t know where this is coming from). Then when I click on the hyperlink on any other row, for a split second it highlights that row with teh color mentioned in SelectionBackColor="255, 128, 128" and goes back to select the first row.

I have attached teh code for the TABLEOPTION tag. Please let me know, what I am doing wrong.

Thanks

tableoption.zip

Ramu [Syncfusion]
Replied On August 23, 2006 08:50 PM

Hi BKarma,

We are looking into it and will update you as soon as possible.

Thanks,
Ramu.K

Ramu [Syncfusion]
Replied On August 24, 2006 04:24 PM

Hi BKarma,

We have created a sample for your requirements.

In this sample I have used link button instead of hyperlink. I haven’t used “ListBoxSelectionMode” in this sample. Instead of the default selection options we used QueryCellStyleInfo event to apply back color for the selected row in grid. we have stored the selected record in a global variable when link button is clicked and then in QueryCellStyleInfo event, by using the global record value we reset the back color of the selected record.

Here with I have attached the sample.

LinkSample


Please let me know if you have any queries.

Thanks,
Ramu.K

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;