ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2017 www.aspforums.com. All rights reserved.What is SilverLight Mocking Framework and MOQ<p>Hi</p> <p>Can any one give me intro about mocking in silverlight</p> <p>What is mocking,</p> <p>Why we need to go for this.</p> <p>What is MOQ object.</p> <p>What are the advantages of MOQ over the other mocking framework.</p> <p>Thanks.</p>http://www.aspforums.net/Threads/187375/What-is-SilverLight-Mocking-Framework-and-MOQ/http://www.aspforums.net/Threads/187375/What-is-SilverLight-Mocking-Framework-and-MOQ/Sun, 28 Apr 2013 01:58:22 GMTwhat is ShellView and DependencyObject in silverlight<p>Hi</p> <p>Can any one please explain about DependencyObject and Shellview in silverlight with simple example to understand.</p> <p>Thanks.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/218578/what-is-ShellView-and-DependencyObject-in-silverlight/http://www.aspforums.net/Threads/218578/what-is-ShellView-and-DependencyObject-in-silverlight/Tue, 11 Sep 2012 07:20:53 GMTWhat is DelegateCommand in MVVM Silverlight<p>Hi</p> <p>In the developer point of view, is there any difference between Delegates and DelegateCommand. I found the keyword DelegateCommand in silverlight.</p> <p>Thanks.</p>http://www.aspforums.net/Threads/132994/What-is-DelegateCommand-in-MVVM-Silverlight/http://www.aspforums.net/Threads/132994/What-is-DelegateCommand-in-MVVM-Silverlight/Tue, 16 Sep 2014 02:28:07 GMTWaterMark TextBox in SilverLight<p>Hi</p> <p>I need to have a text box with text "Filter" as watermark text and it should also act as auto complete text box in silverlight.</p> <p>Hope u can catch my needs.</p> <p>Please let me know if this is not clear.</p> <p>Thanks.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/660533/WaterMark-TextBox-in-SilverLight/http://www.aspforums.net/Threads/660533/WaterMark-TextBox-in-SilverLight/Tue, 18 Sep 2012 09:34:29 GMTWait for a WCF Service to complete in Silverlight application<p><br />Hi freinds<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am struggling with my wcf service in silverlight4 application.How can I wait for an async WCF service to complete?.Please give me a solution .I am waiting for your reply.My code is given below<br /><br />&nbsp;ServiceReference1.DragAndDropClient client = new SilApp.ServiceReference1.DragAndDropClient();<br />client.GetSublayersCompleted += new EventHandler&lt;SilApp.ServiceReference1.GetSublayersCompletedEventArgs&gt;GetSublayer);<br />client.GetSublayersAsync(1);<br /><br /><br />Thanks<br />Sujina</p>http://www.aspforums.net/Threads/535348/Wait-for-a-WCF-Service-to-complete-in-Silverlight-application/http://www.aspforums.net/Threads/535348/Wait-for-a-WCF-Service-to-complete-in-Silverlight-application/Sun, 15 Dec 2013 23:31:28 GMTUse DatePicker Control in SilverLight Example<p>Hi</p> <p>How do i form a datatime picker in silverlight.</p> <p>Can any one give me an idea about it please.</p> <p>thanks.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/971947/Use-DatePicker-Control-in-SilverLight-Example/http://www.aspforums.net/Threads/971947/Use-DatePicker-Control-in-SilverLight-Example/Sun, 02 Sep 2012 23:51:39 GMTUpload GIF PNG and JPEG images in SilverLight using ImageTools<p>Hi</p> <p>I need to upload the gif and png image in silverlight using imagetools. Please go throw the below link</p> <p><a title="ImageTools" href="http://imagetools.codeplex.com/" target="_blank">http://imagetools.codeplex.com/</a>.</p> <p>I am little bit confused about how to implement this in my project. Can any one please give me an idea about how to achieve this.</p> <p>Thanks.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/207709/Upload-GIF-PNG-and-JPEG-images-in-SilverLight-using-ImageTools/http://www.aspforums.net/Threads/207709/Upload-GIF-PNG-and-JPEG-images-in-SilverLight-using-ImageTools/Tue, 23 Oct 2012 03:51:25 GMTtextbox water mark<p>hi</p> <p>I use below code to&nbsp;putting water mark for textbox</p> <pre class="brush: csharp"> &lt;script type=&#34;text/javascript&#34;&gt; var defaultText = &#34;Enter Your Text here&#34;; function WaterMark(txt, evt) { if (txt.value.length == 0 &amp;&amp; evt.type == &#34;blur&#34;) { txt.style.color = &#34;#b9b9b9&#34;; txt.value = defaultText; } if (txt.value == defaultText &amp;&amp; evt.type == &#34;focus&#34;) { txt.style.color = &#34;black&#34;; txt.value = &#34;&#34;; } } &lt;/script&gt; </pre> <p>but when I click on button to insert data into database if I don't type any text in textbox it insert in database defult text :</p> <pre class="brush: csharp">&#34;Enter Your Text here&#34;;</pre> <p>but I want if I don't type anything in textbox it doesn't insert any thing into database</p> <p>Best Regards</p> <p>Neda</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/492815/textbox-water-mark/http://www.aspforums.net/Threads/492815/textbox-water-mark/Thu, 30 Apr 2015 21:03:52 GMTStore hidden or cache data in SilverLight Application<p>I need to store the value in the mathod_Loaded and i need to use that value in another method in the same xaml page.</p> <p>If in the aspx page, i can use hidden variable for this purpose but i am not sure about how to use this in silverlight.</p> <p>Is there any hidden variable or any other variable or controls to achive my concept.</p> <p>Thanks.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/202578/Store-hidden-or-cache-data-in-SilverLight-Application/http://www.aspforums.net/Threads/202578/Store-hidden-or-cache-data-in-SilverLight-Application/Fri, 31 Aug 2012 06:56:54 GMTSilverLight Master Page Implementation Example<p>Hi</p> <p>I am having a xaml page which i have decided to make as a mater page.</p> <p>I need to integerate this page with the each child page.</p> <p>Can any one give me an idea about how to implement this.</p> <p>thanks.</p>http://www.aspforums.net/Threads/145487/SilverLight-Master-Page-Implementation-Example/http://www.aspforums.net/Threads/145487/SilverLight-Master-Page-Implementation-Example/Tue, 04 Sep 2012 01:59:42 GMTSilverLight Dependency Property Injection Constructor Basics<p>hi</p> <p>Can any one explain about what is Dependency Property and Injection constructor in silverlight and how it is used.</p> <p>I need a simple link or example so that i can able have a clear picture on it.</p> <p>Thanks.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/929751/SilverLight-Dependency-Property-Injection-Constructor-Basics/http://www.aspforums.net/Threads/929751/SilverLight-Dependency-Property-Injection-Constructor-Basics/Mon, 01 Oct 2012 06:49:53 GMTSilverlight Datagrid in asp.net web page<p>Hi,</p> <p>I would like to integrate silverlight datagrid in asp.net web page (home.aspx). I have seen few articles for the same but they are including the datagrid control in silverlight web page not in .aspx web page. Can anyone help me on this ??</p> <p>Babu</p> <p>&nbsp;</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/993706/Silverlight-Datagrid-in-aspnet-web-page/http://www.aspforums.net/Threads/993706/Silverlight-Datagrid-in-aspnet-web-page/Mon, 02 Jul 2012 05:13:48 GMTShow the XAML page as PopUp in SilverLight<p>Hi</p> <p>I need to show the xaml page as the pop up in the silvelight. Can any one give me a solution about how to achieve this.</p> <p>Thanks.</p> <p>FYI... I know that there is a sivlerlight child window but i am not interested to use that as i am&nbsp; facing more issues in that.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/307706/Show-the-XAML-page-as-PopUp-in-SilverLight/http://www.aspforums.net/Threads/307706/Show-the-XAML-page-as-PopUp-in-SilverLight/Sat, 15 Sep 2012 03:36:49 GMTRequired Field Validations in SilverLight Application<p>Hi</p> <p>I need the following in the silverlight.</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Required field validation for the text box.</p>http://www.aspforums.net/Threads/123135/Required-Field-Validations-in-SilverLight-Application/http://www.aspforums.net/Threads/123135/Required-Field-Validations-in-SilverLight-Application/Sun, 02 Sep 2012 23:45:13 GMTRedirect from one xaml page to another in SilverLight<p>Hi</p> <p>how to navigate from one page to another in silverlight.</p> <p>Thanks.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/509653/Redirect-from-one-xaml-page-to-another-in-SilverLight/http://www.aspforums.net/Threads/509653/Redirect-from-one-xaml-page-to-another-in-SilverLight/Mon, 03 Sep 2012 10:45:56 GMTProblem in updating the service reference in silverlight<p>Hi</p> <p>I cant able to update my service reference to my silverlight application.</p> <p>When i update the service reference, there is no error is throwm but below it simply displays</p> <p>"Service reference update fails"</p> <p>&nbsp;</p> <p>When i copy and paste the service reference URL in the browser, it shows</p> <p>""This XML file does not appear to have any style information associated with it. The document tree is shown below."" with some xml coding below</p> <p>Can any one give me a solution for this.</p> <p>Thanks.</p> <p>&nbsp;&nbsp; <br /><br /></p> <p>&nbsp;</p>http://www.aspforums.net/Threads/473437/Problem-in-updating-the-service-reference-in-silverlight/http://www.aspforums.net/Threads/473437/Problem-in-updating-the-service-reference-in-silverlight/Wed, 17 Oct 2012 03:41:06 GMTPerform Data Validation in SilverLight Form Fields<p>Hi</p> <p>I need to compare and validate password and confirm password in silverlight for the text box txtpassword and txtconfirmpassword.</p> <p>&nbsp;</p> <p>Thanks.</p> <p>&nbsp;</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/545115/Perform-Data-Validation-in-SilverLight-Form-Fields/http://www.aspforums.net/Threads/545115/Perform-Data-Validation-in-SilverLight-Form-Fields/Mon, 03 Sep 2012 10:48:15 GMTPaging in DataGrid in SilverLight Application Example<p>hi</p> <p>how can i achieve the paging in the datagrid in the silverlight.</p> <p>thanks.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/877147/Paging-in-DataGrid-in-SilverLight-Application-Example/http://www.aspforums.net/Threads/877147/Paging-in-DataGrid-in-SilverLight-Application-Example/Sun, 02 Sep 2012 23:47:42 GMTOpen Modal PopUp in SilverLight Application<p>How do i use ajax model pop up extender in the silverlight or is there any default tool for the model pop up in the silverlight.</p> <p>Thanks.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/126128/Open-Modal-PopUp-in-SilverLight-Application/http://www.aspforums.net/Threads/126128/Open-Modal-PopUp-in-SilverLight-Application/Thu, 30 Aug 2012 04:48:09 GMTObject reference not set to an instance of an object. at Microsoft.Windows.Design.Platform.SilverlightMetadataContext.SilverlightXamlExtensionImplementations.d8.MoveNext()<div id="CC" class="container-content"> <div class="container-question clearfix extended"> <div>I have added silverlight toolkit to my vs2010 and then i tried creating a silverlight application on opening it on the MainPage.xaml i got the following error message can you help me in fixing it&nbsp;<br />&nbsp;<br /><br />Object reference not set to an instance of an object.<br />at Microsoft.Windows.Design.Platform.SilverlightMetadataContext.SilverlightXamlExtensionImplementations.d__8.MoveNext()<br />at MS.Internal.Design.Metadata.ReflectionProjectNode.BuildSubsumption()<br />at MS.Internal.Design.Metadata.ReflectionProjectNode.SubsumingNamespace(Identifier identifier)<br />at MS.Internal.Design.Markup.XmlElement.BuildScope(PrefixScope parentScope, IParseContext context)<br />at MS.Internal.Design.Markup.XmlElement.ConvertToXaml(XamlElement parent, PrefixScope parentScope, IParseContext context, IMarkupSourceProvider provider)<br />at MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlSourceDocument.FullParse(Boolean convertToXamlWithErrors)<br />at MS.Internal.Design.DocumentModel.DocumentTrees.Markup.XamlSourceDocument.get_RootItem()<br />at Microsoft.Windows.Design.DocumentModel.Trees.ModifiableDocumentTree.get_ModifiableRootItem()<br />at Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.get_LoadState()<br />at MS.Internal.Host.PersistenceSubsystem.Load()<br />at MS.Internal.Host.Designer.Load()<br />at MS.Internal.Designer.VSDesigner.Load()<br />at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load()<br />at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView view)<br />at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)<br />at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)<br />at MS.Internal.Host.Isolation.IsolatedDesigner.Load()<br />at MS.Internal.Designer.DesignerPane.LoadDesignerView()</div> </div> </div> <div class="qa-info clearfix"> <div class="small-text float-right"><span id="ctl00_ctl00_MC_AMC_HelpLnkPH"><br class="improve" title="You can edit and improve this question if it needs clarification" /></span></div> </div>http://www.aspforums.net/Threads/123720/Object-reference-not-set-to-an-instance-of-an-object-at-MicrosoftWindowsDesignPlatformSilverlightMetadataContextSilverlightXamlExtensionImplementationsd8MoveNext/http://www.aspforums.net/Threads/123720/Object-reference-not-set-to-an-instance-of-an-object-at-MicrosoftWindowsDesignPlatformSilverlightMetadataContextSilverlightXamlExtensionImplementationsd8MoveNext/Sat, 27 Jul 2013 23:49:46 GMT