Silverlight Show Forum Getting Started Threads http://www.silverlightshow.net/getting-started.aspx Silverlight Show Forum Getting Started Threads http://backend.userland.com/rss Get started for SL 5 and WP7 <p>Hi all,</p> <p>what about get started for the next Silvelright version 5 and one for Windows Phone 7 development? the current one for SL4 is perfect so having such for the other will be a big plus.</p> <p>Thanks!</p> http://www.silverlightshow.net/Forums/getting-started/get-started-for-sl-5-and-wp7.aspx idragoev 7/5/2011 3:39:30 PM Show RowDetails of dynamically generated datagridview in silverlight <p>hello,</p> <p>I have a silverlight navigation application. I generate a datagridview in code-behind by clicking on a hyperlinkbutton. </p> <p>I would like to know how i can do this (<a href="http://www.silverlightshow.net/items/DataGrid-and-row-details-in-Silverlight-2.aspx">http://www.silverlightshow.net/items/DataGrid-and-row-details-in-Silverlight-2.aspx</a>) programmatically</p> <p>thank you in advance</p> http://www.silverlightshow.net/Forums/getting-started/show-rowdetails-of-dynamically-generated-datagridview-in-silverlight.aspx siobhan 10/3/2011 12:39:37 PM silverlight slider show ticks Hi, <br /> <br /> <br /> <p>I have to show the ticks on my silverlight slider. On msdn they talk about a slider.Ticks property (<a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.slider.ticks.aspx">http://msdn.microsoft.com/en-us/library/system.windows.controls.slider.ticks.aspx</a>) and about a IsSnapToTickEnabled property.(<a href="http://msdn.microsoft.com/en-us/library/ms746616.aspx">http://msdn.microsoft.com/en-us/library/ms746616.aspx</a>)</p> <br /> <br /> I don't have access to both of those properties. How come? Are they only for wpf sliders? Is there an equivalent for silverlight sliders?<br /> <br /> <br /> thanks in advance http://www.silverlightshow.net/Forums/getting-started/silverlight-slider-show-ticks.aspx siobhan 10/11/2011 9:57:23 AM silverlight control <p>Hi, </p> <p>I am a beginner in silverlight.The silverlight bookshelf control that i want to try out is downloaded from <a href="http://classifiedcabinet.codeplex.com/"><span style="font-family: palatino linotype; color: #006699; font-size: 13px;">http://classifiedcabinet.codeplex.com/</span></a> . I went to the "sample" section of the particular page that you are navigated to when click on the above link and download the source. </p> <p>However, there are some problems with the file when i open it with visual studio but i am confuse about it. </p> <p>It is as follows:</p> <p>Error 10 Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'Samples.Bookshelf.Admin' that is not included in the assembly. </p> <p>Error 11 The type 'local:ViewModelLocator' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. </p> <p>Warning 2 The referenced component 'Microsoft.Expression.Interactions' could not be found.  </p> <p>Warning 3 The referenced component 'System.Windows.Controls.Data.DataForm.Toolkit' could not be found.  </p> <p>Warning 4 The referenced component 'System.Windows.Controls.Data.Toolkit' could not be found.  </p> <p>Warning 5 The referenced component 'System.Windows.Controls.DataVisualization.Toolkit' could not be found.  </p> <p>Warning 6 The referenced component 'System.Windows.Controls.Input.Toolkit' could not be found.  </p> <p>Warning 7 The referenced component 'System.Windows.Controls.Layout.Toolkit' could not be found.  </p> <p>Warning 1 The referenced component 'System.Windows.Controls.Toolkit' could not be found.  </p> <p>Warning 8 The referenced component 'System.Windows.Controls.Toolkit' could not be found.  </p> <p>Warning 9 The referenced component 'System.Windows.Interactivity' could not be found.  </p> <p> </p> <p>Does it mean that i have to download something that is not downloaded previously?</p> http://www.silverlightshow.net/Forums/getting-started/silverlight-control.aspx spleenie 1/14/2012 9:28:33 AM LEARN SILVERLIGHT 1 WANT TO LEARN SILVERLIGHT PLEASE TELL ME http://www.silverlightshow.net/Forums/getting-started/learn-silverlight.aspx Harbans 1/20/2012 3:32:06 PM how we use radcombobox using checkbox selection and background change on dropdown please tell me how we use radcombobox using checkbox selection and background change on dropdown please tell me http://www.silverlightshow.net/Forums/getting-started/how-we-use-radcombobox-using-checkbox-selection-and-background-change-on-dropdown-please-tell-me.aspx Harbans 1/23/2012 6:33:21 PM WP7 ListBox SelectionChanged <p>Dear Team,</p> <p>I am stuck on one of my code application is very simple it will first try to make an entry of task which you want to do on the database of SQL Server CE in phone ISOSTORE.</p> <p>Now once user make entry in table for Item it will display in the listbox.</p> <p><strong><span style="font-family: calibri, sans-serif; font-size: 12pt;">Please find my  MainPage.xaml as following</span></strong></p> <div class="reCodeBlock" style="border:1px solid #7f9db9;border-image: initial; overflow-y: auto;"> <div style="background-color: #ffffff;"><span style="margin-left: 0px !important;"><code style="color: #000000;"><phone:PhoneApplicationPage </code></span></div> <div style="background-color: #f8f8f8;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">x:Class=</code><code style="color: blue;">"ToDoTaskClient.MainPage"</code></span></span></div> <div style="background-color: #ffffff;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">xmlns=</code><code style="color: blue;">"<a href="http://schemas.microsoft.com/winfx/2006/xaml/presentation">http://schemas.microsoft.com/winfx/2006/xaml/presentation</a>"</code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">xmlns:x=</code><code style="color: blue;">"<a href="http://schemas.microsoft.com/winfx/2006/xaml">http://schemas.microsoft.com/winfx/2006/xaml</a>"</code></span></span></div> <div style="background-color: #ffffff;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">xmlns:phone=</code><code style="color: blue;">"clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"</code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">xmlns:shell=</code><code style="color: blue;">"clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"</code></span></span></div> <div style="background-color: #ffffff;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">xmlns:d=</code><code style="color: blue;">"<a href="http://schemas.microsoft.com/expression/blend/2008">http://schemas.microsoft.com/expression/blend/2008</a>"</code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">xmlns:mc=</code><code style="color: blue;">"<a href="http://schemas.openxmlformats.org/markup-compatibility/2006">http://schemas.openxmlformats.org/markup-compatibility/2006</a>"</code></span></span></div> <div style="background-color: #ffffff;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">mc:Ignorable=</code><code style="color: blue;">"d"</code> <code style="color: #000000;">d:DesignWidth=</code><code style="color: blue;">"480"</code> <code style="color: #000000;">d:DesignHeight=</code><code style="color: blue;">"768"</code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">FontFamily=</code><code style="color: blue;">"{StaticResource PhoneFontFamilyNormal}"</code></span></span></div> <div style="background-color: #ffffff;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">FontSize=</code><code style="color: blue;">"{StaticResource PhoneFontSizeNormal}"</code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">Foreground=</code><code style="color: blue;">"{StaticResource PhoneForegroundBrush}"</code></span></span></div> <div style="background-color: #ffffff;"><span><code>   </code><span style="margin-left: 9px !important;"><code style="color: #000000;">SupportedOrientations=</code><code style="color: blue;">"Portrait"</code> <code style="color: #000000;">Orientation=</code><code style="color: blue;">"Portrait"</code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">shell:SystemTray.IsVisible=</code><code style="color: blue;">"True"</code> <code style="color: #000000;">Loaded=</code><code style="color: blue;">"PhoneApplicationPage_Loaded"</code><code style="color: #000000;">></code></span></span></div> <div style="background-color: #ffffff;"><span style="margin-left: 0px !important;"> </span></div> <div style="background-color: #f8f8f8;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;"><!--LayoutRoot </code><code style="color: #006699; font-weight: bold;">is</code> <code style="color: #000000;">the root grid where all page content </code><code style="color: #006699; font-weight: bold;">is</code> <code style="color: #000000;">placed--></code></span></span></div> <div style="background-color: #ffffff;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;"><Grid x:Name=</code><code style="color: blue;">"LayoutRoot"</code> <code style="color: #000000;">Background=</code><code style="color: blue;">"Transparent"</code><code style="color: #000000;">></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;"><Grid.RowDefinitions></code></span></span></div> <div style="background-color: #ffffff;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><RowDefinition Height=</code><code style="color: blue;">"Auto"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><RowDefinition Height=</code><code style="color: blue;">"*"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;"></Grid.RowDefinitions></code></span></span></div> <div style="background-color: #f8f8f8;"><span style="margin-left: 0px !important;"> </span></div> <div style="background-color: #ffffff;"><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;"><!--TitlePanel contains the name of the application and page title--></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;"><StackPanel x:Name=</code><code style="color: blue;">"TitlePanel"</code> <code style="color: #000000;">Grid.Row=</code><code style="color: blue;">"0"</code> <code style="color: #000000;">Margin=</code><code style="color: blue;">"12,17,0,28"</code><code style="color: #000000;">></code></span></span></div> <div style="background-color: #ffffff;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><TextBlock x:Name=</code><code style="color: blue;">"ApplicationTitle"</code> <code style="color: #000000;">Text=</code><code style="color: blue;">"To DO Tasks"</code> <code style="color: #000000;">Style=</code><code style="color: blue;">"{StaticResource PhoneTextNormalStyle}"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><TextBlock x:Name=</code><code style="color: blue;">"PageTitle"</code> <code style="color: #000000;">Text=</code><code style="color: blue;">"To DO:-"</code> <code style="color: #000000;">Margin=</code><code style="color: blue;">"9,-7,0,0"</code> <code style="color: #000000;">Style=</code><code style="color: blue;">"{StaticResource PhoneTextTitle1Style}"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;"></StackPanel></code></span></span></div> <div style="background-color: #f8f8f8;"><span style="margin-left: 0px !important;"> </span></div> <div style="background-color: #ffffff;"><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;"><!--ContentPanel - place additional content here--></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;"><Grid x:Name=</code><code style="color: blue;">"ContentPanel"</code> <code style="color: #000000;">Grid.Row=</code><code style="color: blue;">"1"</code> <code style="color: #000000;">Margin=</code><code style="color: blue;">"12,0,12,0"</code><code style="color: #000000;">></code></span></span></div> <div style="background-color: #ffffff;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><TextBlock Height=</code><code style="color: blue;">"30"</code> <code style="color: #000000;">HorizontalAlignment=</code><code style="color: blue;">"Left"</code> <code style="color: #000000;">Margin=</code><code style="color: blue;">"86,6,0,0"</code> <code style="color: #000000;">Name=</code><code style="color: blue;">"textBlock1"</code> <code style="color: #000000;">Text=</code><code style="color: blue;">"-:Please Add your Item here:-"</code> <code style="color: #000000;">VerticalAlignment=</code><code style="color: blue;">"Top"</code> <code style="color: #000000;">Width=</code><code style="color: blue;">"270"</code> <code style="color: #000000;">TextAlignment=</code><code style="color: blue;">"Center"</code><code style="color: #000000;">><TextBlock.Foreground><LinearGradientBrush EndPoint=</code><code style="color: blue;">"1,0.5"</code> <code style="color: #000000;">StartPoint=</code><code style="color: blue;">"0,0.5"</code><code style="color: #000000;">><GradientStop Color=</code><code style="color: blue;">"#FFBE5C5C"</code> <code style="color: #000000;">Offset=</code><code style="color: blue;">"0.535"</code> <code style="color: #000000;">/><GradientStop Color=</code><code style="color: blue;">"White"</code> <code style="color: #000000;">Offset=</code><code style="color: blue;">"1"</code> <code style="color: #000000;">/></LinearGradientBrush></TextBlock.Foreground></TextBlock></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><TextBlock Height=</code><code style="color: blue;">"30"</code> <code style="color: #000000;">HorizontalAlignment=</code><code style="color: blue;">"Left"</code> <code style="color: #000000;">Margin=</code><code style="color: blue;">"12,42,0,0"</code> <code style="color: #000000;">Name=</code><code style="color: blue;">"textBlock2"</code> <code style="color: #000000;">Text=</code><code style="color: blue;">"Tasks Name:-"</code> <code style="color: #000000;">VerticalAlignment=</code><code style="color: blue;">"Top"</code> <code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><TextBox Height=</code><code style="color: blue;">"72"</code> <code style="color: #000000;">HorizontalAlignment=</code><code style="color: blue;">"Left"</code> <code style="color: #000000;">Margin=</code><code style="color: blue;">"133,28,0,0"</code> <code style="color: #000000;">Name=</code><code style="color: blue;">"TextBoxItem"</code> <code style="color: #000000;">Text=</code><code style="color: blue;">""</code> <code style="color: #000000;">VerticalAlignment=</code><code style="color: blue;">"Top"</code> <code style="color: #000000;">Width=</code><code style="color: blue;">"314"</code> <code style="color: #000000;">/></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><Button Content=</code><code style="color: blue;">"Add"</code> <code style="color: #000000;">Height=</code><code style="color: blue;">"72"</code> <code style="color: #000000;">HorizontalAlignment=</code><code style="color: blue;">"Left"</code> <code style="color: #000000;">Margin=</code><code style="color: blue;">"133,94,0,0"</code> <code style="color: #000000;">Name=</code><code style="color: blue;">"ButtonAdd"</code> <code style="color: #000000;">VerticalAlignment=</code><code style="color: blue;">"Top"</code> <code style="color: #000000;">Width=</code><code style="color: blue;">"160"</code> <code style="color: #000000;">Click=</code><code style="color: blue;">"ButtonAdd_Click"</code> <code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><Border BorderThickness=</code><code style="color: blue;">"1,2,1,1"</code> <code style="color: #000000;">Height=</code><code style="color: blue;">"12"</code> <code style="color: #000000;">HorizontalAlignment=</code><code style="color: blue;">"Left"</code> <code style="color: #000000;">Margin=</code><code style="color: blue;">"6,172,0,0"</code> <code style="color: #000000;">Name=</code><code style="color: blue;">"border1"</code> <code style="color: #000000;">VerticalAlignment=</code><code style="color: blue;">"Top"</code> <code style="color: #000000;">Width=</code><code style="color: blue;">"438"</code> <code style="color: #000000;">Background=</code><code style="color: blue;">"#FFF87373"</code><code style="color: #000000;">></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;"><Border.BorderBrush></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                    </code><span style="margin-left: 60px !important;"><code style="color: #000000;"><LinearGradientBrush EndPoint=</code><code style="color: blue;">"1,0.5"</code> <code style="color: #000000;">StartPoint=</code><code style="color: blue;">"0,0.5"</code><code style="color: #000000;">></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                        </code><span style="margin-left: 72px !important;"><code style="color: #000000;"><GradientStop Color=</code><code style="color: blue;">"Black"</code> <code style="color: #000000;">Offset=</code><code style="color: blue;">"0"</code> <code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                        </code><span style="margin-left: 72px !important;"><code style="color: #000000;"><GradientStop Color=</code><code style="color: blue;">"#FFAA8989"</code> <code style="color: #000000;">Offset=</code><code style="color: blue;">"1"</code> <code style="color: #000000;">/></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                    </code><span style="margin-left: 60px !important;"><code style="color: #000000;"></LinearGradientBrush></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;"></Border.BorderBrush></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"></Border></code></span></span></div> <div style="background-color: #ffffff;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><ListBox Height=</code><code style="color: blue;">"369"</code> <code style="color: #000000;">HorizontalAlignment=</code><code style="color: blue;">"Left"</code> <code style="color: #000000;">Margin=</code><code style="color: blue;">"12,205,0,0"</code> <code style="color: #000000;">x:Name=</code><code style="color: blue;">"listBox1"</code> <code style="color: #000000;">VerticalAlignment=</code><code style="color: blue;">"Top"</code> <code style="color: #000000;">Width=</code><code style="color: blue;">"435"</code> <code style="color: #000000;">SelectionChanged=</code><code style="color: blue;">"listBox1_SelectionChanged"</code> <code style="color: #000000;">SelectionMode=</code><code style="color: blue;">"Single"</code> <code style="color: #000000;">IsSynchronizedWithCurrentItem=</code><code style="color: blue;">"False"</code><code style="color: #000000;">></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;"><ListBox.ItemTemplate></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;"><DataTemplate></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                    </code><span style="margin-left: 60px !important;"><code style="color: #000000;"><Grid></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                        </code><span style="margin-left: 72px !important;"><code style="color: #000000;"><Grid.RowDefinitions></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                            </code><span style="margin-left: 84px !important;"><code style="color: #000000;"><RowDefinition /></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                            </code><span style="margin-left: 84px !important;"><code style="color: #000000;"><RowDefinition /></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                            </code><span style="margin-left: 84px !important;"><code style="color: #000000;"><RowDefinition Height=</code><code style="color: blue;">"15"</code> <code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                        </code><span style="margin-left: 72px !important;"><code style="color: #000000;"></Grid.RowDefinitions></code></span></span></div> <div style="background-color: #f8f8f8;"><span style="margin-left: 0px !important;"> </span></div> <div style="background-color: #ffffff;"><span><code>                        </code><span style="margin-left: 72px !important;"><code style="color: #000000;"><Grid.ColumnDefinitions></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                            </code><span style="margin-left: 84px !important;"><code style="color: #000000;"><ColumnDefinition Width=</code><code style="color: blue;">"150"</code> <code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                            </code><span style="margin-left: 84px !important;"><code style="color: #000000;"><ColumnDefinition Width=</code><code style="color: blue;">"200"</code> <code style="color: #000000;">/></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                            </code><span style="margin-left: 84px !important;"><code style="color: #000000;"><ColumnDefinition Width=</code><code style="color: blue;">"100"</code> <code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                        </code><span style="margin-left: 72px !important;"><code style="color: #000000;"></Grid.ColumnDefinitions></code></span></span></div> <div style="background-color: #f8f8f8;"><span style="margin-left: 0px !important;"> </span></div> <div style="background-color: #ffffff;"><span><code>                            </code><span style="margin-left: 84px !important;"><code style="color: #000000;"><TextBlock Grid.Row=</code><code style="color: blue;">"0"</code> <code style="color: #000000;">Grid.Column=</code><code style="color: blue;">"1"</code> <code style="color: #000000;">Text=</code><code style="color: blue;">"{Binding ItemName}"</code> <code style="color: #000000;">FontWeight=</code><code style="color: blue;">"Bold"</code> <code style="color: #000000;">Foreground=</code><code style="color: blue;">"DarkKhaki"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                        </code><span style="margin-left: 72px !important;"><code style="color: #000000;"><TextBlock Grid.Row=</code><code style="color: blue;">"0"</code> <code style="color: #000000;">Grid.Column=</code><code style="color: blue;">"0"</code> <code style="color: #000000;">Text=</code><code style="color: blue;">"{Binding ItemCreatedDate}"</code> <code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                        </code><span style="margin-left: 72px !important;"><code style="color: #000000;"><CheckBox Grid.Row=</code><code style="color: blue;">"0"</code> <code style="color: #000000;">Grid.Column=</code><code style="color: blue;">"2"</code> <code style="color: #000000;">IsChecked=</code><code style="color: blue;">"{Binding IsBrought, Mode=OneWay}"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                            </code><span style="margin-left: 84px !important;"><code style="color: #000000;"><TextBlock Name=</code><code style="color: blue;">"Tbid"</code> <code style="color: #000000;">Grid.Row=</code><code style="color: blue;">"0"</code> <code style="color: #000000;">Grid.Column=</code><code style="color: blue;">"3"</code> <code style="color: #000000;">Text=</code><code style="color: blue;">"{Binding ItemID}"</code> <code style="color: #000000;">FontWeight=</code><code style="color: blue;">"Bold"</code> <code style="color: #000000;">Foreground=</code><code style="color: blue;">"DarkKhaki"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span style="margin-left: 0px !important;"> </span></div> <div style="background-color: #f8f8f8;"><span><code>                        </code><span style="margin-left: 72px !important;"><code style="color: #000000;"></Grid></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;"></DataTemplate></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;"></ListBox.ItemTemplate></code></span></span></div> <div style="background-color: #ffffff;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"></ListBox></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;"></Grid></code></span></span></div> <div style="background-color: #ffffff;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;"></Grid></code></span></span></div> <div style="background-color: #f8f8f8;"><span style="margin-left: 0px !important;"> </span></div> <div style="background-color: #ffffff;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;"><!--Sample code showing usage of ApplicationBar--></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;"><!--<phone:PhoneApplicationPage.ApplicationBar></code></span></span></div> <div style="background-color: #ffffff;"><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;"><shell:ApplicationBar IsVisible=</code><code style="color: blue;">"True"</code> <code style="color: #000000;">IsMenuEnabled=</code><code style="color: blue;">"True"</code><code style="color: #000000;">></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><shell:ApplicationBarIconButton IconUri=</code><code style="color: blue;">"/Images/appbar_button1.png"</code> <code style="color: #000000;">Text=</code><code style="color: blue;">"Button 1"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><shell:ApplicationBarIconButton IconUri=</code><code style="color: blue;">"/Images/appbar_button2.png"</code> <code style="color: #000000;">Text=</code><code style="color: blue;">"Button 2"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"><shell:ApplicationBar.MenuItems></code></span></span></div> <div style="background-color: #ffffff;"><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;"><shell:ApplicationBarMenuItem Text=</code><code style="color: blue;">"MenuItem 1"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;"><shell:ApplicationBarMenuItem Text=</code><code style="color: blue;">"MenuItem 2"</code><code style="color: #000000;">/></code></span></span></div> <div style="background-color: #ffffff;"><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;"></shell:ApplicationBar.MenuItems></code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;"></shell:ApplicationBar></code></span></span></div> <div style="background-color: #ffffff;"><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;"></phone:PhoneApplicationPage.ApplicationBar>--></code></span></span></div> <div style="background-color: #f8f8f8;"><span style="margin-left: 0px !important;"> </span></div> <div style="background-color: #ffffff;"><span style="margin-left: 0px !important;"><code style="color: #000000;"></phone:PhoneApplicationPage></code></span></div> </div> <p><strong><span style="font-size: 12pt;">Please find my code behing page for MainPage as following.</span></strong></p> <p><strong><span style="font-size: 12pt;"></span></strong></p> <div class="reCodeBlock" style="border:1px solid #7f9db9;border-image: initial; overflow-y: auto;"> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System;</code></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Collections.Generic;</code></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Linq;</code></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Net;</code></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Windows;</code></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Windows.Controls;</code></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Windows.Documents;</code></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Windows.Input;</code></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Windows.Media;</code></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Windows.Media.Animation;</code></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Windows.Shapes;</code></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">Microsoft.Phone.Controls;</code></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">Microsoft.Phone.Data.Linq.Mapping;</code></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Data.Linq.Mapping;</code></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code> <code style="color: #000000;">System.Data.Linq;</code></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">namespace</code> <code style="color: #000000;">ToDoTaskClient</code></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"><code style="color: #000000;">{</code></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #006699; font-weight: bold;">partial</code> <code style="color: #006699; font-weight: bold;">class</code> <code style="color: #000000;">MainPage : PhoneApplicationPage</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">MyDataContext db = </code><code style="color: #006699; font-weight: bold;">new</code> <code style="color: #000000;">MyDataContext(</code><code style="color: blue;">"isostore:/MyItemsDB.sdf"</code><code style="color: #000000;">);</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #008200;">// Constructor</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #000000;">MainPage()</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">InitializeComponent();</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #008200;">//MyDataContext db = new MyDataContext("isostore:/MyItemsDB.sdf");</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">if</code> <code style="color: #000000;">(!db.DatabaseExists())</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;">db.CreateDatabase();</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">List<SampleTaskData> datasouce = </code><code style="color: #006699; font-weight: bold;">new</code> <code style="color: #000000;">List<SampleTaskData>();</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>       </code><span style="margin-left: 21px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">[Table]</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #006699; font-weight: bold;">class</code> <code style="color: #000000;">MyItem</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>           </code><span style="margin-left: 33px !important;"><code style="color: #000000;">[Column(IsPrimaryKey = </code><code style="color: #006699; font-weight: bold;">true</code><code style="color: #000000;">,DbType=</code><code style="color: blue;">"Int NOT NULL IDENTITY"</code><code style="color: #000000;">,IsDbGenerated=</code><code style="color: #006699; font-weight: bold;">true</code><code style="color: #000000;">)]</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>           </code><span style="margin-left: 33px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #006699; font-weight: bold;">int</code> <code style="color: #000000;">ItemID { </code><code style="color: #006699; font-weight: bold;">get</code><code style="color: #000000;">; </code><code style="color: #006699; font-weight: bold;">set</code><code style="color: #000000;">; }</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">[Column]</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #006699; font-weight: bold;">string</code> <code style="color: #000000;">ItemName { </code><code style="color: #006699; font-weight: bold;">get</code><code style="color: #000000;">; </code><code style="color: #006699; font-weight: bold;">set</code><code style="color: #000000;">; }</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>           </code><span style="margin-left: 33px !important;"><code style="color: #000000;">[Column]</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>           </code><span style="margin-left: 33px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #000000;">DateTime ItemCreatedDate { </code><code style="color: #006699; font-weight: bold;">get</code><code style="color: #000000;">; </code><code style="color: #006699; font-weight: bold;">set</code><code style="color: #000000;">; }</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>           </code><span style="margin-left: 33px !important;"><code style="color: #000000;">[Column]</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>           </code><span style="margin-left: 33px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #006699; font-weight: bold;">bool</code> <code style="color: #000000;">IsBrought { </code><code style="color: #006699; font-weight: bold;">get</code><code style="color: #000000;">; </code><code style="color: #006699; font-weight: bold;">set</code><code style="color: #000000;">; }</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #006699; font-weight: bold;">class</code> <code style="color: #000000;">MyDataContext : DataContext</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #000000;">Table<MyItem> MyItemTasks;</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #000000;">MyDataContext(</code><code style="color: #006699; font-weight: bold;">string</code> <code style="color: #000000;">connection) : </code><code style="color: #006699; font-weight: bold;">base</code><code style="color: #000000;">(connection) { }</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>          </code><span style="margin-left: 30px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #006699; font-weight: bold;">private</code> <code style="color: #006699; font-weight: bold;">void</code> <code style="color: #000000;">ShowRecords()</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">var q = from b </code><code style="color: #006699; font-weight: bold;">in</code> <code style="color: #000000;">db.MyItemTasks</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>                    </code><span style="margin-left: 60px !important;"><code style="color: #000000;">orderby  b.ItemCreatedDate descending</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>                    </code><span style="margin-left: 60px !important;"><code style="color: #000000;">select b;</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">List<MyItem> myData = q.ToList();</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">listBox1.ItemsSource = myData;</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #006699; font-weight: bold;">private</code> <code style="color: #006699; font-weight: bold;">void</code> <code style="color: #000000;">PhoneApplicationPage_Loaded(</code><code style="color: #006699; font-weight: bold;">object</code> <code style="color: #000000;">sender, RoutedEventArgs e)</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>           </code><span style="margin-left: 33px !important;"><code style="color: #000000;">ShowRecords();</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">listBox1.SelectionChanged +=</code><code style="color: #006699; font-weight: bold;">new</code> <code style="color: #000000;">SelectionChangedEventHandler(listBox1_SelectionChanged);</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #006699; font-weight: bold;">private</code> <code style="color: #006699; font-weight: bold;">void</code> <code style="color: #000000;">ButtonAdd_Click(</code><code style="color: #006699; font-weight: bold;">object</code> <code style="color: #000000;">sender, RoutedEventArgs e)</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">MyItem myinsData = </code><code style="color: #006699; font-weight: bold;">new</code> <code style="color: #000000;">MyItem()</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;">ItemName=TextBoxItem.Text,</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;">IsBrought=</code><code style="color: #006699; font-weight: bold;">false</code><code style="color: #000000;">,</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;">ItemCreatedDate=DateTime.Now</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>                </code><span style="margin-left: 48px !important;"> </span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">};</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">try</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;">db.MyItemTasks.InsertOnSubmit(myinsData);</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">catch</code> <code style="color: #000000;">(Exception ex)</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #000000;">MessageBox.Show(ex.Message);</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">db.SubmitChanges();</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">ShowRecords();</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"> </span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #006699; font-weight: bold;">private</code> <code style="color: #006699; font-weight: bold;">void</code> <code style="color: #000000;">listBox1_SelectionChanged(</code><code style="color: #006699; font-weight: bold;">object</code> <code style="color: #000000;">sender, SelectionChangedEventArgs e)</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">if</code> <code style="color: #000000;">(e.AddedItems.Count == 0)</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>                </code><span style="margin-left: 48px !important;"><code style="color: #006699; font-weight: bold;">return</code><code style="color: #000000;">;</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">var itm = e.AddedItems[0] </code><code style="color: #006699; font-weight: bold;">as</code> <code style="color: #000000;">ListBoxItem;</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #000000;">SampleTaskData data =itm.DataContext </code><code style="color: #006699; font-weight: bold;">as</code> <code style="color: #000000;">SampleTaskData;</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">string</code> <code style="color: #000000;">temp = data.ItemName.ToString();</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"><code style="color: #008200;">//  SampleTaskData Data = (sender as ListBox).DataContext as SampleTaskData;</code></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>           </code><span style="margin-left: 33px !important;"><code style="color: #008200;">// ListBoxItem selecteditem = this.listBox1.ItemContainerGenerator.ContainerFromItem(Data) as ListBoxItem;</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #008200;">//string temp = Data.ItemName.ToString();</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"><code style="color: #008200;">//Getting currently Selected ListBox Item</code></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>      </code><span style="margin-left: 18px !important;"><code style="color: #008200;">//      ListBoxItem myListBoxItem = (ListBoxItem)(listBox1.ItemContainerGenerator.ContainerFromItem(listBox1.SelectedItem));</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #008200;">//Gettting Content Presenter of listbox</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #008200;">//Navigation to new Page</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>           </code><span style="margin-left: 33px !important;"><code style="color: #008200;">// NavigationService.Navigate(new Uri("/TodoEdit.xaml?selectedItem=" + listBox1.SelectedIndex, UriKind.Relative));</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #008200;">//listBox1.SelectedIndex = -1;</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>                     </code><span style="margin-left: 63px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"> </span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #006699; font-weight: bold;">class</code> <code style="color: #000000;">SampleTaskData</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">{</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #006699; font-weight: bold;">bool</code> <code style="color: #000000;">IsBrought { </code><code style="color: #006699; font-weight: bold;">get</code><code style="color: #000000;">; </code><code style="color: #006699; font-weight: bold;">set</code><code style="color: #000000;">; }</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #000000;">DateTime ItemCreatedDate { </code><code style="color: #006699; font-weight: bold;">get</code><code style="color: #000000;">; </code><code style="color: #006699; font-weight: bold;">set</code><code style="color: #000000;">; }</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #006699; font-weight: bold;">int</code> <code style="color: #000000;">ItemID { </code><code style="color: #006699; font-weight: bold;">get</code><code style="color: #000000;">; </code><code style="color: #006699; font-weight: bold;">set</code><code style="color: #000000;">; }</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"><code style="color: #006699; font-weight: bold;">public</code> <code style="color: #006699; font-weight: bold;">string</code> <code style="color: #000000;">ItemName { </code><code style="color: #006699; font-weight: bold;">get</code><code style="color: #000000;">; </code><code style="color: #006699; font-weight: bold;">set</code><code style="color: #000000;">; }</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"> </span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>           </code><span style="margin-left: 33px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>        </code><span style="margin-left: 24px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>            </code><span style="margin-left: 36px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span><code>            </code><span style="margin-left: 36px !important;"> </span></span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>        </code><span style="margin-left: 24px !important;"> </span></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"> </span></strong></div> <div style="background-color: #f8f8f8;"><strong><span><code>    </code><span style="margin-left: 12px !important;"><code style="color: #000000;">}</code></span></span></strong></div> <div style="background-color: #ffffff;"><strong><span style="margin-left: 0px !important;"><code style="color: #000000;">}</code></span></strong></div> </div> <strong><br /> </strong> <p><strong><span style="font-size: 12pt;"><br /> </span></strong></p> <p>Please help me if I am missing something or I am doing it wrong.</p> <p>Your Guidance is very much appreciated.</p> <p>Best Regards,</p> <p>Nirav Joshi</p> http://www.silverlightshow.net/Forums/getting-started/wp7-listbox-selectionchanged.aspx Nirav.Joshi 2/23/2012 12:10:53 PM Events not fired <p>Hi</p> <p>       I am very new to .NET 4.0 , i am trying to do a small .net web application in that i have a text box, combobox, list box if i enter something in text box or what ever the control i mentioned above the text change event is not detected . which means the code inside the text change event is not fired. </p> <p> </p> <p>the code as follows</p> <p><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %></p> <p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd%22%20originalAttribute=%22href%22%20originalPath=%22" target="_blank" re_target="null"> <html'> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> </html'> </a></p> <a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd%22%20originalAttribute=%22href%22%20originalPath=%22" target="_blank" re_target="null"> <p><html</p> <p> </p> </a> <p> </p> <p> xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank" re_target="null">http://www.w3.org/1999/xhtml</a>"><br /> <head runat="server"><br />     <title></title><br /> </head><br /> <body><br />     <form id="form1" runat="server"><br />     <asp:TextBox ID="TextBox1" runat="server" ontextchanged="TextBox1_TextChanged"></asp:TextBox><br />     <div><br />     <br />     </div><br />     </form><br /> </body><br /> </html></p> <p> </p> <p>And the C# code as follows</p> <span style="color: #0000ff; font-family: consolas; font-size: 13px;"> <p>using</p> <p> </p> <p> </p> </span> <p><span style="font-family: consolas; font-size: 13px;">System;</span></p> <p><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"></span></span></span></p> <p> </p> <p>using</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="font-family: consolas; font-size: 13px;"> System.Collections.Generic;</span></p> <p><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"></span></span></span></p> <p> </p> <p>using</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="font-family: consolas; font-size: 13px;"> System.Linq;</span></p> <p><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"></span></span></span></p> <p> </p> <p>using</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="font-family: consolas; font-size: 13px;"> System.Web;</span></p> <p><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"></span></span></span></p> <p> </p> <p>using</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="font-family: consolas; font-size: 13px;"> System.Web.UI;</span></p> <p><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"></span></span></span></p> <p> </p> <p>using</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="font-family: consolas; font-size: 13px;"> System.Web.UI.WebControls;</span></p> <p><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"><span style="color: #0000ff; font-family: consolas; font-size: 13px;"></span></span></span></p> <p> </p> <p>public</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #0000ff; font-family: consolas; font-size: 13px;">partial</span><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #0000ff; font-family: consolas; font-size: 13px;">class</span><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #2b91af; font-family: consolas; font-size: 13px;">_Default</span><span style="font-family: consolas; font-size: 13px;"> : System.Web.UI.</span><span style="color: #2b91af; font-family: consolas; font-size: 13px;">Page</span></p> <p><span style="color: #2b91af; font-family: consolas; font-size: 13px;"> </span><span style="font-family: consolas; font-size: 13px;"><span style="font-family: consolas; font-size: 13px;"></span></span></p> <p> </p> <p>{</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="color: #0000ff; font-family: consolas; font-size: 13px;">protected</span><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #0000ff; font-family: consolas; font-size: 13px;">void</span><span style="font-family: consolas; font-size: 13px;"> Page_Load(</span><span style="color: #0000ff; font-family: consolas; font-size: 13px;">object</span><span style="font-family: consolas; font-size: 13px;"> sender, </span><span style="color: #2b91af; font-family: consolas; font-size: 13px;">EventArgs</span><span style="font-family: consolas; font-size: 13px;"> e)</span></p> <p><span style="font-family: consolas; font-size: 13px;"><span style="font-family: consolas; font-size: 13px;"> </span></span></p> <p> </p> <p> {</p> <p> </p> <p> TextBox1.Text = </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="color: #a31515; font-family: consolas; font-size: 13px;">"Welcome to my new site"</span><span style="font-family: consolas; font-size: 13px;">;</span></p> <p><span style="font-family: consolas; font-size: 13px;"><span style="font-family: consolas; font-size: 13px;"> </span></span></p> <p> </p> <p> }</p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p><span style="color: #0000ff; font-family: consolas; font-size: 13px;">protected</span><span style="font-family: consolas; font-size: 13px;"> </span><span style="color: #0000ff; font-family: consolas; font-size: 13px;">void</span><span style="font-family: consolas; font-size: 13px;"> TextBox1_TextChanged(</span><span style="color: #0000ff; font-family: consolas; font-size: 13px;">object</span><span style="font-family: consolas; font-size: 13px;"> sender, </span><span style="color: #2b91af; font-family: consolas; font-size: 13px;">EventArgs</span><span style="font-family: consolas; font-size: 13px;"> e)</span></p> <p><span style="font-family: consolas; font-size: 13px;"> </span></p> <p> </p> <p> {</p> <p> </p> <p> Response.Write(TextBox1.Text);</p> <p> </p> <p> }</p> <p> </p> <p>}</p> <p> </p> http://www.silverlightshow.net/Forums/getting-started/events-not-fired.aspx sivagirirajan 4/27/2012 3:10:06 PM Pivot viewer showing the image multiple times <p style="border:0px;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 13px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: #44525e; font-family: 'segoe ui', tahoma, arial, helvetica, sans-serif; line-height: 18px; text-align: -webkit-auto;">I've a table called views where it has multiple datas related to one item(many to One relationship).When I try to display it on my pivot viewer it displays the item image multiple times based on the reference they have in views table.if item1 has 3 views then it displays the item image 3 times.How do I show one image and all references to it as facet.</p> <p style="border:0px;margin-top: 0px; margin-right: 0px; margin-bottom: 18px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-image: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 13px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: #44525e; font-family: 'segoe ui', tahoma, arial, helvetica, sans-serif; line-height: 18px; text-align: -webkit-auto;">Any suggestion is much appreciated.</p> http://www.silverlightshow.net/Forums/getting-started/pivot-viewer-showing-the-image-multiple-times.aspx bplvid 5/3/2012 5:41:05 PM Showing image in datagrid <h1 id="threadstatus" class=" indent no-border" title="Showing image in datagrid " style="margin: 0px 0px 20px; padding: 0px; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-bottom-style: none; outline: 0px; font-size: 2.154em !important; vertical-align: baseline; color: #363636; font-weight: normal; line-height: 1; position: relative; z-index: 1; font-family: 'segoe ui', tahoma, arial, helvetica, sans-serif; text-align: -webkit-auto;"></h1> <h1 id="threadstatus" class=" indent no-border" title="Showing image in datagrid" style="margin: 0px 0px 20px; padding: 0px; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-bottom-style: none; outline: 0px; font-size: 2.154em !important; vertical-align: baseline; color: #363636; font-weight: normal; line-height: 1; position: relative; z-index: 1; font-family: 'segoe ui', tahoma, arial, helvetica, sans-serif; text-align: -webkit-auto;"><strong style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-size: 28px; vertical-align: baseline;">binding image from database to DataGrid easy way..... without using ashx handler... :) And <span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; vertical-align: baseline; color: #898989; text-decoration: underline;">add datagrid itemtemplate at code behind side</span></strong></h1> http://www.silverlightshow.net/Forums/getting-started/showing-image-in-datagrid.aspx Fazal.Mithani1 6/26/2012 10:31:45 AM Is it Possible to call silver light code behind functions through aspx page either code behind or javascript/jquery <p>   I am new to silver light <br />    I have embedded `silver light` application in my `asp` page and this silver light       application have two methods.</p> <p>   i want to call those methods through aspx page i.e. My aspx page has <br />    one `button` control when i click this button i want to call `silver light method`</p> <p>   if it is possible please give any idea for this..<br />    thanks advance</p> http://www.silverlightshow.net/Forums/getting-started/is-it-possible-to-call-silver-light-code-behind-functions-through-aspx-page-either-code-behind-or-javascript-jquery.aspx rangasathish 1/3/2013 1:53:25 PM Bingmaps With Silverlight <p style="margin: 0px 0px 1em; padding: 0px 0.2em; font-family: verdana, geneva, sans-serif; font-size: 12px; line-height: 18px;">Hi,</p> <p style="margin: 0px 0px 1em; padding: 0px 0.2em; font-family: verdana, geneva, sans-serif; font-size: 12px; line-height: 18px;">I am new to silverlight and add the Bingmaps using Microsoft.maps.maps control dll. </p> <p style="margin: 0px 0px 1em; padding: 0px 0.2em; font-family: verdana, geneva, sans-serif; font-size: 12px; line-height: 18px;">My Requirement to do is adding the pushpins to  Bingmaps dynamically in silverlight.</p> <p style="margin: 0px 0px 1em; padding: 0px 0.2em; font-family: verdana, geneva, sans-serif; font-size: 12px; line-height: 18px;">Is there a Possibility to Add Pushpins without using CRM application.</p> <p style="margin: 0px 0px 1em; padding: 0px 0.2em; font-family: verdana, geneva, sans-serif; font-size: 12px; line-height: 18px;">Please help me.</p> <p style="margin: 0px 0px 1em; padding: 0px 0.2em; font-family: verdana, geneva, sans-serif; font-size: 12px; line-height: 18px;">Thanks. </p> http://www.silverlightshow.net/Forums/getting-started/bingmaps-with-silverlight.aspx umesh6045 1/10/2013 2:36:54 PM want data grid in silverlight 5 perform based on asp.net grid view <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;">Hi Everyone,</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <br /> <p> I am new person for silverlight 5. so please help me..</p> <span style="background-color: #ffffff; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; color: #333333; line-height: 16px;"> I want all operations performed based on the asp.net Grid View operations in Silver-light 5 data grid.</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> I am creating one silverlight 5 application using visual studio 2012.</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> And I am adding one datagrid into that. Now I am adding every row Header andText box Fields using Data Template.</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> After that using silvelight-enabled WCF service for data binding into datagrid.It was successfully.</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> Add New Row:</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> But Now i want adding a new row while no records binding in datagrid and while clicking the "addNew" button then</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> show my textbox fields from datagrid's Data Template. After that i filled all cell values into that after click the "Save"</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> button then all column values are goes to saved in data base using wcf.</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> Edit & Update:</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;">  After saved one record from addnew operation and that click "Edit" button then enable the Textbox with default values</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;">  and edit some textbox values after that i am clicking the "Update" button all records are updated in database using wcf.</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> Note one thing while Update::</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;">  Update the records based on the RowIndex only.  </span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;"> Delete:</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;">  while clicking the "Delete" button then delete the particular row from data base based on RowIndex.</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;">  If these operations are possible for Silverlight 5 Datagrid.</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;">  If anybody knows or wellknown about these topics please let me know..</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;">  If u reply this question i should highly appreciated to u..</span><br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <br style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;" /> <span style="color: #333333; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 16px; background-color: #ffffff;">  Thanks in Advance..</span> http://www.silverlightshow.net/Forums/getting-started/want-data-grid-in-silverlight-5-perform-based-on-asp-net-grid-view.aspx venkadeshbabu.gr 1/29/2013 8:21:01 AM WPF & silverlight development process <p>What would be the application development process for WPF applications and silverlight application? Like how many tiers the application is divided into and how they communicate with each other. And what steps are followed during development like design , then business logic layer. How the data base is accessed can Linq be used or data sets are better option?</p> <p> </p> <p><a href="http://www.hitechito.com/technology/ria-development/silverlight-development.php">Silverlight Web App Development</a> </p> http://www.silverlightshow.net/Forums/getting-started/wpf---silverlight-development-process.aspx hitechito 2/19/2013 5:04:45 AM Simple ftp file upload using ftpwebrequest ( no needed of httpwebrequest ) <p style="border: none; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; margin: 1em 0px; outline: 0px; padding: 0px; list-style-type: none; color: #333333; font-size: 13px; line-height: 16px; background-color: #ffffff;">hi,</p> <p style="border: none; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; margin: 1em 0px; outline: 0px; padding: 0px; list-style-type: none; color: #333333; font-size: 13px; line-height: 16px; background-color: #ffffff;">i want to upload file using ftp upload. i need the simple sample project to upload file using ftp upload and ftpwebrequest only please help me....</p> <p style="border: none; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; margin: 1em 0px; outline: 0px; padding: 0px; list-style-type: none; color: #333333; font-size: 13px; line-height: 16px; background-color: #ffffff;">i am waiting for reply. please reply as soon as possible...</p> <p style="border: none; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; margin: 1em 0px; outline: 0px; padding: 0px; list-style-type: none; color: #333333; font-size: 13px; line-height: 16px; background-color: #ffffff;">thanks</p> <p style="border: none; font-family: 'segoe ui', 'lucida grande', verdana, arial, helvetica, sans-serif; margin: 1em 0px; outline: 0px; padding: 0px; list-style-type: none; color: #333333; font-size: 13px; line-height: 16px; background-color: #ffffff;">praveen </p> http://www.silverlightshow.net/Forums/getting-started/simple-ftp-file-upload-using-ftpwebrequest---no-needed-of-httpwebrequest.aspx vpraveenkumar 3/22/2013 7:47:43 AM Digital Signature application in silverlight <p>I want to create a digital signature application in silverlight, that will sign pdf, doc and other type of documents with .pfx file or usb tokan. Please help me. share some code or any type of help.. please</p> http://www.silverlightshow.net/Forums/getting-started/digital-signature-application-in-silverlight.aspx sudesh1456 4/4/2013 7:55:19 AM How to acheive the given layout in Silverlight ? <p>How to achieve the below layout ? I am new to Silverlight. I need to achieve the same with Paging. Which one is better DataGrid or ListBox ? Can i achieve the same with normal Silverlight but with paging? I dnt want a column header and also my row should have the details filled with Image,Links,Text etc as below...</p> <p>I want to achieve the same Layout as given in the link <a title="DataGridDemo" target="_blank" href="http://demos.devexpress.com/AgDataGridDemos/" re_target="_blank"> DataGridDemo</a> under the <strong>Customization/Row Template</strong> tab with Filtering,Sorting and paging functionalities using normal Silverlight Controls. I have to hide the Headers also.  </p> http://www.silverlightshow.net/Forums/getting-started/how-to-acheive-the-given-layout-in-silverlight.aspx tittiskaria 5/10/2013 10:48:16 AM