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.

ItemTemplates

Thread ID:

Created:

Updated:

Platform:

Replies:

92097 Dec 18,2009 08:58 AM Dec 29,2009 10:29 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Martin Kappl
Asked On December 18, 2009 08:58 AM

We are using item templates within some of our columns. If I click a column, normally the row gets selected. Works fine with standard columns. But with a item template within a column, the row is not selected on mouse clock.

QueryCellStyleEvent (snippet):

Dim objLabel As New Label
Dim objItemTemplate As ItemTemplate = New ItemTemplate(objLabel)

If String.IsNullOrEmpty(e.Style.Text) = False Then
objLabel.Text = e.Style.Text
End If
e.TableCellIdentity.Column.ItemTemplate = objItemTemplate

ItemTemplate is a custom class implementing ITemplate.

Do we habe a sets some more properties to get this to work?

Jaffersathick B [Syncfusion]
Replied On December 29, 2009 10:29 AM

Hi Martin,
Thanks for using Syncfusion product.

The issue "Row selection not working in item-template" has been confirmed as a defect and has been logged as a defect report.
The fix for this issue will be available on future release.

Thank you for your patience.

Regrads,
Jaffer.B

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.

;