Sunday, May 19, 2013
HomeHomeDiscussionsDiscussionsS-Expert 3.0S-Expert 3.0DataGridTemplateColumn has missing data bindingDataGridTemplateColumn has missing data binding
Previous
 
Next
New Post
5/10/2011 6:19 PM
 
Running the S-FORM sample and in step 4 and it looks like the generated DataGridTemplate for the Title in QuestionInfoGrid which is set to type "HyperLinkButton" is missing the data binding in the XAML generated code, assuming an incorrect definition of the template. Below is a code snippet from QuestionListView.xaml.

<sdk:DataGridTemplateColumn Header="Title">
        <sdk:DataGridTemplateColumn.CellTemplate>
                <DataTemplate>
                        <HyperlinkButton x:Name="TitleHyperlinkButton" HorizontalAlignment="Left" Margin="3" VerticalAlignment="Center" Height="23" Width="120" />
                </DataTemplate>
        </sdk:DataGridTemplateColumn.CellTemplate>
</sdk:DataGridTemplateColumn>

Best regards,
Wolfgang

 
New Post
5/11/2011 4:17 PM
 
Wolfgang,

From the binding editor, You need to re-bind the HyperlinkButton Content property to the Title.
In this section, the screenshot was incorrect and we replace it with the correct one.



Best Regards,

Tamer Aboraya - Product Manager - Sculpture project
 
New Post
5/11/2011 8:35 PM
 
Beautiful! That fixed the problem I had.

Now I stumbbled into the next one - in S-FORMS tutorial chapter 5 despite deleting QuestionListView files under View in MainModule as directed in step 15 it did not generate the necessery event method in the QuestionListView.xaml.cs for the OnQuestionsGridSelectionChanged. It generated correctly the event setting in the XAML file and the DelegateCommand and Command methods in the ViewModel file.
 
New Post
5/15/2011 2:49 PM
 
Wolfgang,

I examine it, it is actual issue and will be fixed in the next build.

Thank you for reporting,
Best Regards,

Tamer Aboraya - Product Manager - Sculpture project
 
New Post
6/19/2011 1:24 PM
 
Fixed at build 3.0.5.2911.

Best Regards,

Tamer Aboraya - Product Manager - Sculpture project
 
Previous
 
Next
HomeHomeDiscussionsDiscussionsS-Expert 3.0S-Expert 3.0DataGridTemplateColumn has missing data bindingDataGridTemplateColumn has missing data binding


DOWNLOAD   |   PRODUCTS   |   STORE   |   SUPPORT   |   BLOG   |   ABOUT
Copyright 2011 by Modelingsoft Corporation