DotNetShoutout - Stories tagged with Silverlight 4
2
Shouts

Asim Sajjad: Bringing SelectedItem Into Focus Using DataGrid Control

posted by asimsajjadasimsajjad 536 days, 9 hours, 15 minutes ago
Sunday, December 04, 2011 2:11:15 PM GMT
Problem :               When using datagrid control of the silverlight control there is situation when datagrid control has lots of records and vertical scrolling of the datagrid control is visible and the selected item of the datagrid control is not in the view as the scrolling (vertical scrolling of the datagrid is visible due to large record). So it is important to give focus to the selected item of the datagrid control.In this post I will give you solution of this problem which many of you may have... (more)
category: Metro | clicked: 11 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
2
Shouts

Asim Sajjad: Communication Between Silverlight And JavaScript (Part 2)

posted by asimsajjadasimsajjad 536 days, 18 hours, 45 minutes ago
Sunday, December 04, 2011 4:41:47 AM GMT
This post is the second part of the series of Communication Between Silverlight And JavaScript. In the First part I have discuss how to call JavaScript from the managed code.Now in this post I will discuss how to call the managed code from the JavaScript. Calling Managed Code From JavaScript :                                                                   In order to access managed code from the JavaScript you have to do following steps. Step 1:           In step 1 what you have to make is the to... (more)
category: Metro | clicked: 6 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
2
Shouts

Asim Sajjad: Communication Between Silverlight And JavaScript

posted by asimsajjadasimsajjad 536 days, 18 hours, 46 minutes ago
Sunday, December 04, 2011 4:40:54 AM GMT
Problem:            While developing silverlight application there are some situation when you need to pass some information from silverlight application (which you can say managed code) to the JavaScript and also from JavaScript to silverlight application (which you can say calling managed code from the JavaScript). So in this post I will discuss how you can communicate between JavaScript and silverlight  application and vice verse.Solution:                I have develop simple application which displ... (more)
category: Metro | clicked: 5 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
7
Shouts

Asim Sajjad: Display Total Records After Applying PagedCollectionView Filter

published 561 days, 8 hours, 36 minutes ago posted by asimsajjadasimsajjad 564 days, 16 hours, 39 minutes ago
Wednesday, November 09, 2011 2:50:27 PM GMT Sunday, November 06, 2011 6:47:21 AM GMT
Problem :             When we used the data grid control to show total number of records which are displayed in the data grid. But if you use or apply Filter to filter the records based on the user input then the number of records displayed in the data grid are changed which need to update as use changed the filter criteria. Solution :               For the problem above I have created simple application which contain data grid control and text box to enter the filter (which is the name of the con... (more)
category: Metro | clicked: 9 | 1 comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
5
Shouts

Telerik XAML Q3'11 Beta - Walkthrough (Part 3 of 3)

published 561 days, 8 hours, 36 minutes ago posted by mbcrumpmbcrump 568 days, 10 hours, 11 minutes ago
Wednesday, November 09, 2011 2:50:27 PM GMT Wednesday, November 02, 2011 1:15:58 PM GMT
In this third and last installment of Telerik XAML Q3’11 Beta—A Walkthrough we discuss RadChartingKit. If you read Parts 1 and 2, you’ll know that in the upcoming mid-November release, in addition to RadBarCode and RadVirtualizingWrapPanel, our XAML team here at Telerik is including an exciting and brand-new control: RadChartingKit. If you haven’t read Parts 1 and 2, you should. All good news aside, we recommend you download the beta so you make the most of this and the other two articles.  Introducing ... (more)
category: Metro | clicked: 22 | 3 comments | | source: www.silverlightshow.net
tags: Silverlight 4
6
Shouts

Telerik XAML Q3'11 Beta - Walkthrough (Part 2 of 3)

published 561 days, 8 hours, 36 minutes ago posted by mbcrumpmbcrump 568 days, 10 hours, 11 minutes ago
Wednesday, November 09, 2011 2:50:27 PM GMT Wednesday, November 02, 2011 1:15:29 PM GMT
This is part 2 from an article on Telerik XAML Q3'11 Beta, authored by Michael Crump and Evan Hutnick. Part 1 | Part 3 SilverlightShow will occasionally publish content related to 3rd party Silverlight and Windows Phone products, following interest and article topic requests received through our surveys and feedback email (editorial at silverlightshow dot net).   Telerik XAML Q3’11 Beta Part 2: RadVirtualizingWrapPanel Here begins the second of three parts, which comprise Telerik XAML Q3’11 Bet... (more)
category: Metro | clicked: 38 | 1 comment | | source: www.silverlightshow.net
tags: Silverlight 4
6
Shouts

Telerik XAML Q3'11 Beta - Walkthrough (Part 1 of 3)

published 561 days, 8 hours, 36 minutes ago posted by mbcrumpmbcrump 568 days, 10 hours, 12 minutes ago
Wednesday, November 09, 2011 2:50:27 PM GMT Wednesday, November 02, 2011 1:14:58 PM GMT
This is part 1 from an article on Telerik XAML Q3'11 Beta, authored by Michael Crump and Evan Hutnick. Part 2 | Part 3 SilverlightShow will occasionally publish content related to 3rd party Silverlight and Windows Phone products, following interest and article topic requests received through our surveys and feedback email (editorial at silverlightshow dot net).    Telerik XAML Q3’11 Beta Come mid-November Telerik will be releasing the official versions of RadBarCode, RadVirtualizingWrapPanel, a... (more)
category: Metro | clicked: 56 | 1 comment | | source: www.silverlightshow.net
tags: Silverlight 4
2
Shouts

Asim Sajjad: Remove Datagrid Default Row Selection Using PagedCollectionView

posted by asimsajjadasimsajjad 591 days, 21 hours, 42 minutes ago
Monday, October 10, 2011 1:44:37 AM GMT
Problem :              If you have used Datagrid control then you know by default first Row of the Datagrid control is selected and if you have used the RowDetailTemplate then the RowDetailTemplate of the selected row (which is in this case is the first row) is expanded.So here we will remove the default row selection of the data grid control by using the PagedCollectionView.Solution :                For this example we will used the PagedCollectionView type as the item source for the data grid con... (more)
category: Metro | clicked: 24 | 1 comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
3
Shouts

Asim Sajjad: SelectedItems Using PagedCollectionView Using PropertyChanged

posted by asimsajjadasimsajjad 615 days, 9 hours, 1 minute ago
Friday, September 16, 2011 2:25:58 PM GMT
In my post "Get SelectedItems From DataGrid Using MVVM In Silverlight " I have used command and triggers to get the selected items of the datagrid control. Here we will get the selected item of the data grid control without using the command and trigger. Here we will use the PagedCollectionView to get the selected items. So that we can remove the use of the command and the triggers which we have used in the "Get SelectedItems From DataGrid Using MVVM In Silverlight" post and we will take advantage of INo... (more)
category: Metro | clicked: 7 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
4
Shouts

Asim Sajjad: Using PagedCollectionView To Group DataGrid Records Using MVVM

published 618 days, 15 hours, 42 minutes ago posted by asimsajjadasimsajjad 620 days, 17 hours, 45 minutes ago
Tuesday, September 13, 2011 7:44:49 AM GMT Sunday, September 11, 2011 5:41:24 AM GMT
Problem :           When using data grid control sometime we provide grouping of data so that user can see records in groups but the groups are predefine and If you don't want to see the group which we the developer or the client provide then he/she can't change. So here  we can use approach to provide the grouping of data to the end user if he/she want to see the data grid records in groups then he/she can arrange records in groups but if he/she don't want to see the he/she can remove the grouping of ... (more)
category: Metro | clicked: 18 | 1 comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
3
Shouts

Asim Sajjad: Using PagedCollectionView Filter Using MVVM

published 621 days, 13 hours, 56 minutes ago posted by asimsajjadasimsajjad 621 days, 20 hours, 2 minutes ago
Saturday, September 10, 2011 9:30:21 AM GMT Saturday, September 10, 2011 3:24:27 AM GMT
Problem :           When using data grid control there may be large amount of records in the data grid and to find out record which user is search is very difficult as he/she has to view every record to find out the desired record. So it is nice idea to have filter on the data grid records so the user can filter data grid records and find what he/she is looking in the data grid records Solution :           To provide the end user with some sort of filtering of the datagrid record we will use the Fil... (more)
category: Metro | clicked: 13 | 1 comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
4
Shouts

Asim Sajjad: Make a Silverlight TextBox update its binding on every character

published 625 days, 17 hours, 1 minute ago posted by asimsajjadasimsajjad 627 days, 16 hours, 47 minutes ago
Tuesday, September 06, 2011 6:26:05 AM GMT Sunday, September 04, 2011 6:40:01 AM GMT
Problem :               One of the problem which I have faced during my learning and working in MVVM pattern and one of requirement when you have provided the search box as user type in some character in text box control you want to show results in the data grid control. But in silverlight there is only two option when you bind a property to update the source Default and Explicit. There is no PropertyChanged option which is provided in the WPF. Solution :                For the problem I have creat... (more)
category: Metro | clicked: 11 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
5
Shouts

Asim Sajjad: SelectedItem of DataGrid Control

published 637 days, 1 hour, 49 minutes ago posted by asimsajjadasimsajjad 637 days, 8 hours, 55 minutes ago
Thursday, August 25, 2011 9:37:21 PM GMT Thursday, August 25, 2011 2:31:14 PM GMT
Problem: This is very basic question which every beginner has ask many time on the forum "How to get selected Item of the datagrid control". So in this post I will answer this question and some more detail about the selected item of the datagrid control. Solution :              For this sample application I have used datagrid control and then two area to display the selected item values which you can see in the Image 1. The purpose of these two area of displaying the selected value is that sometime yo... (more)
category: Metro | clicked: 6 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
2
Shouts

Asim Sajjad: Remove Default Empty Column From DataGrid

published 655 days, 2 hours, 47 minutes ago posted by asimsajjadasimsajjad 655 days, 9 hours, 44 minutes ago
Sunday, August 07, 2011 8:39:59 PM GMT Sunday, August 07, 2011 1:42:22 PM GMT
Problem:           Need to remove extra default column from the datagrid when you bind datagrid with records. In the Image 1 you can see the extra default column when you bind the data grid control. Sometime it is required to remove that extra empty column. Image 1 Solution:              There are two situation when you are binding the datagrid control. AutoGenerateColumns is set to FalseAutoGenerateColumns is set to TrueWhen you set the AutoGenerateColumns to false then you can set the columns by ... (more)
category: Metro | clicked: 10 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
2
Shouts

Asim Sajjad: Setting SelectedValue for ComboBox

published 655 days, 2 hours, 47 minutes ago posted by asimsajjadasimsajjad 655 days, 21 hours, 3 minutes ago
Sunday, August 07, 2011 8:39:59 PM GMT Sunday, August 07, 2011 2:24:02 AM GMT
Problem:              When you add combobox items inside xaml then SelectedValue of the Combo Box didn't work. Solution:           When I come across this problem I have search alot on net and then I found solution regarding the selectedValue selected in code behind when you have added item of the ComboBox within the xaml. We have used the Items Source property of the combo box and then bind the set the SelectedValue. Now solution for the problem  which I have mentioned is quite simple. For the sampl... (more)
category: Metro | clicked: 11 | 1 comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
2
Shouts

How to Communicate between two Local Silverlight Applications? - by @kunal2383

posted by http://www.kunal-chowdhury.com/http://www.kunal-chowdhury.com/ 667 days, 22 hours, 33 minutes ago
Tuesday, July 26, 2011 12:53:57 AM GMT
Sometime it is require to communicate between two local Silverlight applications. Though this situation is very limited but it may require as per your business deal. In such case, the local messaging mechanism comes into the place. In this post, we will learn about this local messaging system using a small Silverlight application where we will have a sender project and a receiver project. At the end of the article, I embedded the demo which will give you more visibility on what we are going to do in the... (more)
category: Metro | clicked: 4 | comment | | source: www.kunal-chowdhury.com
tags: Silverlight, Silverlight 3, Silverlight 4, Silverlight 5
3
Shouts

Asim Sajjad: How To Use DataTriggers In Silverlight DataGrid

published 667 days, 3 hours, 15 minutes ago posted by asimsajjadasimsajjad 668 days, 15 hours, 33 minutes ago
Tuesday, July 26, 2011 8:11:13 PM GMT Monday, July 25, 2011 7:53:46 AM GMT
In this short post I will show you how you can use DataTriggers in datagrid control DataGridTemplateColumn. This was one of the questions when reading one of the forum to change persform some sort of functionality depending on the value of the property. Out of the example code can be seen in the Image 1 here you can see that I have used the DataTrigger for the Subscribed which is nullable Boolean type, mean It hold true , false and null value. Here you can see that I have set verified for true value and ... (more)
category: Metro | clicked: 10 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
2
Shouts

Asim Sajjad: Get SelectedItems From DataGrid Using MVVM In Silverlight

published 682 days, 15 hours, 30 minutes ago posted by asimsajjadasimsajjad 683 days, 15 hours, 41 minutes ago
Monday, July 11, 2011 7:56:34 AM GMT Sunday, July 10, 2011 7:45:36 AM GMT
In this post what I want to learn and to share something like how to get the selected items from the data grid control of the Silver light using MVVM. You can see the main output of the example code in the Image 1, here you can see that I have a data grid control and three button with label Add, edit and delete records. Let me explain you what is happening in the example code, user is allowed to select multiple record from the grid and the selected records Ids are displayed in the "Selected Ids" area. If... (more)
category: Metro | clicked: 16 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
4
Shouts

Asim Sajjad: Binding Command Inside DataGrid Using MVVM

published 703 days, 10 hours, 58 minutes ago posted by asimsajjadasimsajjad 704 days, 22 hours, 9 minutes ago
Monday, June 20, 2011 12:28:19 PM GMT Sunday, June 19, 2011 1:17:23 AM GMT
In this post I will show you how to bind the commands inside the data grid control using MVVM pattern. For this post I have continue my last post which is used to explain the data pager using MVVM. For this post I have added DelegateCommand class which is added in the Classes folder. I have only one command in the viewModel (with the name HomeViewModel and is located in the ViewModel folder). The view for the Home is located in the View folder. Here you can see that I have added the HomeViewModel as reso... (more)
category: Metro | clicked: 24 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
4
Shouts

Asim Sajjad: Closing ChildWindow In MVVM by Using Attached Property

published 717 days, 4 hours, 9 minutes ago posted by asimsajjadasimsajjad 718 days, 17 hours, 9 minutes ago
Monday, June 06, 2011 7:18:03 PM GMT Sunday, June 05, 2011 6:17:18 AM GMT
In this post I will show you how to close the ChildWindow of Silverlight using Attached property in MVVM. Let us start with the example code. For this example I have created Silverlight project of template "Silverlight Navigation with Accent Color" application. I have added new ChildWindow in the view folder with the name UserInputForm and then UserInputFormViewModel in the ViewModel folder which is the used to set as the DataContext of the UserInputForm. I have created one attached property which is u... (more)
category: Metro | clicked: 12 | comment | | source: asimsajjad.blogspot.com
tags: Silverlight 4
Previous 1 2 3 4 5 6 7 8 Next