• .NET Web

    Today is the day - see the light? SIlverlight 3 is finally out!

    In fact you can download almost everything even now! Despite all breaking changes between the beta and RTW (System.Windows.Controls.Data => System.ComponentModel = > System.Windows.Data) as always Telerik will follow the good traditions and next week we will release RadControls for Silverlight 3. Stay tuned – more will come!...

  • .NET Web

    Silverlight 3 to launch July 10

    More info @ http://blogs.zdnet.com/microsoft/?p=2912 Enjoy! :)...

  • .NET Web

    How To: Twitter search with RadGridView for Silverlight and Twitter REST API

    I’ve made small demo application on how to search Twitter using Twitter REST API and RadGridView for Silverlight:  To download Twitter ATOM response you can use simple WebClient: if (!String.IsNullOrEmpty(TextBox1.Text)) {     WebClient client = new WebClient();     client.DownloadStringCompleted += newDownloadStringCompletedEventHandler(client_DownloadStringCompleted);     if(!client.IsBusy)         client.DownloadStringAsync(new Uri(String.Format(urlFormat, TextBox1.Text, pageSize, currentPageIndex))); } and you can parse the response using XDocument.Parse() method: XNamespace atomNamespace = "http://www.w3.org/2005/Atom"; RadGridView1.ItemsSource = from item in...

  • .NET Web

    Lightweight DataTable for your Silverlight applications

      UPDATE: Please visit this post for more info about dynamic objects binding!   Since there is no DataTable in Silverlight I’ve created small class that can be used to generate columns and rows in runtime in similar to the real DataTable way: DataTable table = new DataTable();table.Columns.Add(new DataColumn() { ColumnName = "ID", DataType = typeof(int) });table.Columns.Add(new DataColumn() { ColumnName = "Name", DataType = typeof(string) });table.Columns.Add(new DataColumn() { ColumnName = "UnitPrice", DataType = typeof(decimal) });table.Columns.Add(new DataColumn() { ColumnName = "Date", DataType = typeof(DateTime) });table.Columns.Add(new DataColumn() { ColumnName = "Discontinued", DataType = typeof(bool) });for(var i = 0; i < 1000; i++){ DataRow row = new DataRow(); row["ID"]...

  • .NET Web

    Full support for DomainDataSource with RadGridView for Silverlight 3

    I'm happy to announce that with our next service pack you will be able to bind RadGridView completely codeless to DomainDataSource in Silverlight 3: <Grid> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition Height="30" /> </Grid.RowDefinitions> <riaControls:DomainDataSource x:Name="DomainDataSource1" AutoLoad="True" LoadMethodName="LoadCustomers"> <riaControls:DomainDataSource.DomainContext> <localWeb:NorthwindDomainContext /> </riaControls:DomainDataSource.DomainContext> </riaControls:DomainDataSource> <telerik:RadGridView x:Name="RadGridView1" ItemsSource="{Binding Data, ElementName=DomainDataSource1}" /> <df:DataPager x:Name="DataPager1" Grid.Row="1" PageSize="10" Source="{Binding Data, ElementName=DomainDataSource1}" /> </Grid> All operations like paging, sorting and grouping are applied to the REST query with minimal JSON response:...