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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ItemTemplates

Thread ID:

Created:

Updated:

Platform:

Replies:

92097 Dec 18,2009 01:58 PM UTC Dec 29,2009 03:29 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Martin Kappl
Asked On December 18, 2009 01:58 PM UTC

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 03:29 PM UTC

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.

Warning Icon 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.Close Icon

;