iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi
I am using RIA services and entity framework as DAL. In the metadata class I defined the attributes such as display, required, etc. In my Silverlight application, I have until now used the DataGrid from the System.Windows.Controls.Data.DataForm.Toolkit. There I can bind a DataGrid column directly to a property (<sdk:DataGridTextColumn Binding="{Binding Name}" />). As a result, the Attributte are included automatically, e.g. Caption (Header).
<sdk:DataGrid ItemsSource="{Binding MeasuringSystems}" SelectedItem="{Binding SelectedMeasuringSystem, Mode=TwoWay}" Intersoft:DockPanel.IsFillElement="True" Margin="5" IsReadOnly="true" AutoGenerateColumns="False" Background="Transparent"> <sdk:DataGrid.Columns> <sdk:DataGridTextColumn Binding="{Binding Name}" /> <sdk:DataGridTextColumn Binding="{Binding TesterTemplate.Name}" /> <sdk:DataGridTemplateColumn Header="{Binding DataGridHeaderNames.HeadName[0]}"> <sdk:DataGridTemplateColumn.CellTemplate> <DataTemplate> <TextBlock Text="{Binding TesterTemplate.Name}" /> </DataTemplate> </sdk:DataGridTemplateColumn.CellTemplate> <sdk:DataGridTemplateColumn.CellEditingTemplate> <DataTemplate> <ComboBox ItemsSource="{Binding Source={StaticResource Locator},Path=MeasuringSystem.TesterTemplates}" SelectedItem="{Binding TesterTemplates, Mode=TwoWay}"/> </DataTemplate> </sdk:DataGridTemplateColumn.CellEditingTemplate> </sdk:DataGridTemplateColumn> <sdk:DataGridTextColumn Binding="{Binding SplitChar}" /> <sdk:DataGridCheckBoxColumn Binding="{Binding Hide}" /> </sdk:DataGrid.Columns> </sdk:DataGrid>
This is very helpful, because I must define the attributes in the metadata class only. If this now not yet supported, I hope that this is included in the next version.
I find that your GridPresenter provides great filtering and grouping features!
Thanks Michael
Hello Michael,
Thank you for your feedback.
I will forward this posting to the developer team to be investigated further. If it is possible, the feature will be added/enhanced in the upcoming version.
Thank you.
Hello,
I just got informed by the developer team that this feature is not available in the Grid Presenter. This feature has been implemented in UXGridView. You can browse to our blog about CTP UXGridView for more information.
You can download RC bits and test-drive the new UXGridView features in here.
Hope this helps.
Hi Martin
Sounds very well!
When will the RTM version released?
Thanks, Michael
It very cool - the name of the display attribute is now displayed as a header! It is possible to use the Description, e.g. as ToolTipText? I have found no way...
[Display(Name = "Hide Property", Order = 3, Description = "If the User should not see this than check it.")] public bool Hide { get; set; }
Regards
Michael
Apologize for the lack of understanding about the required scenario.
Could you please kindly let me know in detail which ToolTipText feature that you’re after? I mean, is it a kind of tooltip when user hover the mouse pointer over column header or something that appear when user hover the mouse pointer over cell?A screenshot, if possible, will surely helps a lot.
Thank you and have a nice day.
Hi Yudi
I think it is possible to display tool tip on column header by editing the ColumnHeaderStyle template. We can utilize the “ToolTipService” provided by Silverlight for this scenario.
I will check the feasibility to use the “Description” parameter as the content of the tool tip.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname