Visual Studio 2010 Support & Silverlight 4 Features in the Latest Service Release

Jason Beres / Thursday, May 06, 2010

Last week we posted the latest Service Releases which include our full round of regression testing on the RTM bits of Visual Studio 2010, as well as native Silverlight 4 binaries for the NetAdvantage Web Client: Silverlight controls.  We were the first component vendor to announce Visual Studio 2010 Support back in May of 2009 when Beta 1 was pushed out, and now with the final release of Visual Studio 2010, we have full coverage or regression testing the controls in the new IDE.  We were also the first to announce full support for the new Visual Studio 2010 help format, this is another area where we are leading and adapting to Microsoft’s new approach to help.  Once you install the latest Help bits, you’ll see this was a complete re-format and re-work of the existing Help 2.0 system to support the new Visual Studio 2010 format.  We will continue to improve on the content and format of the content in this years releases.

This SR also included some new features for Silverlight 4

  • ContextMenu now supports RightClick, without having to set Windowless on the Silverlight plug-in.
  • RTL/BiDi (Right to Left/Bi-Directional) support for xamWebGrid via the FlowDirection property
  • Support for RIA Services in the xamWebGrid.
  • Support for DependencyObject bindings in the xamWebGrid

We’ve also added IDataErrorInfo and INotifyDataErrorInfo support in the xamWebGrid, but that will be public in the 10.2 release in June, we didn’t have time to fully test it out.  If this is something you really want to start playing with, let me know (jasonb@infragistics.com) and I can work on a stable build for you.

Here is an example of the FlowDirection property, this is super important for any right-to-left language.

What’s even better is that this was wired up using the DataSources Window and RIA Services:

<Grid x:Name="LayoutRoot" Background="White">
    <!-- RIA Services Domain Data Souce -->
    <riaControls:DomainDataSource AutoLoad="True" 
                                    d:DesignData="{d:DesignInstance my:Customer, CreateList=true}" 
                                    LoadedData="customerDomainDataSource_LoadedData" 
                                    Name="customerDomainDataSource" 
                                    QueryName="GetCustomersQuery" Width="0">
        <riaControls:DomainDataSource.DomainContext>
            <my:DomainService1 />
        </riaControls:DomainDataSource.DomainContext>
    </riaControls:DomainDataSource>
        
    <!-- Stack Panel with some TextBlocks and Grids -->
    <StackPanel Margin="0,0,0,30">
        <TextBlock  Margin ="5" FontSize="18">FlowDirection Property Not Set</TextBlock>
        <ig:XamWebGrid  
                        ItemsSource="{Binding ElementName=customerDomainDataSource, Path=Data}"  
                        AutoGenerateColumns="True"  Height="163" 
                        Name="xamWebGrid1" Width="583" />
           
        <TextBlock Margin="5" FontSize="18">FlowDirection Property Set to RightToLeft</TextBlock>
        <ig:XamWebGrid FlowDirection="RightToLeft"  
                        AutoGenerateColumns="True" Height="176" 
                        ItemsSource="{Binding ElementName=customerDomainDataSource, Path=Data}"
                        Margin="5" Name="xamWebGrid2" Width="583" />
    </StackPanel>        
</Grid>

 

To start enjoying these latest bits, log into your account and grab the latest Service Release for NetAdvantage 2010.1 Web Client: Silverlight.

If you have any questions, feel free to email me at jasonb@infragistics.com.