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.

Using GridTemplateColumn gives HorizontalAlignment and VerticalAlignment errors

Thread ID:

Created:

Updated:

Platform:

Replies:

115166 Jan 1,2014 03:26 PM Jan 10,2014 07:02 AM Windows Phone 3
loading
Tags: General
Roger Weiss
Asked On January 1, 2014 03:26 PM

I have followed example of the grids in the sample demo app.  GridTextColumn work fine, but when I change a column to use a GridTemplateColumn, the data still shows, but I get run time errors for each row.

I've attached the app.  Please explain how to use a GridTemplateColumn in the attached app.

System.Windows.Data Error: BindingExpression path error: 'HorizontalAlignment' property not found on 'Syncfusion.UI.Xaml.Grid.GridTemplateColumn' 'Syncfusion.UI.Xaml.Grid.GridTemplateColumn' (HashCode=42007851). BindingExpression: Path='HorizontalAlignment' DataItem='Syncfusion.UI.Xaml.Grid.GridTemplateColumn' (HashCode=42007851); target element is 'System.Windows.Controls.ContentControl' (Name=''); target property is 'HorizontalAlignment' (type 'System.Windows.HorizontalAlignment')..

System.Windows.Data Error: BindingExpression path error: 'VerticalAlignment' property not found on 'Syncfusion.UI.Xaml.Grid.GridTemplateColumn' 'Syncfusion.UI.Xaml.Grid.GridTemplateColumn' (HashCode=42007851). BindingExpression: Path='VerticalAlignment' DataItem='Syncfusion.UI.Xaml.Grid.GridTemplateColumn' (HashCode=42007851); target element is 'System.Windows.Controls.ContentControl' (Name=''); target property is 'VerticalAlignment' (type 'System.Windows.VerticalAlignment')..



GridTest.WP8_4b3a2fd.zip

Jai Ganesh S [Syncfusion]
Replied On January 3, 2014 09:23 AM

Hi Roger,

 

Thanks for using Syncfusion products.

 

We have analyzed your query. We are able to reproduce the issue. The fix for this issue is available in our next volume 1 2014 release. We appreciate your patience until then.

 

Please let us know if you have any queries.

 

Thank you,

Jai Ganesh S


Roger Weiss
Replied On January 6, 2014 08:56 AM

Thanks Jai for your response.  Glad to hear there will be a fix. 
For now its a show stopper for me so I can't use the component until its resolved (I've recently purchased it).

Do you have an estimate when Volume 1 2014 will be released?

Jai Ganesh S [Syncfusion]
Replied On January 10, 2014 07:02 AM

Hi Roger,

 

Thanks for your update.

 

We have analyzed your query. We tentatively expect our Volume 1, 2014 release to be by the mid of February. As of now you can use the CustomGridCellTemplateRenderer to achieve your requirement. We have prepared the sample based on this and please find the sample under the following location,

 

Sample: GridTest.WP8.zip

 

Please let us know if you need further assistance.

 

Thank you,

Jai Ganesh S


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.

;