ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2017 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>, 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>, 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>, 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>, 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>, 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>, 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="" target="_blank"></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>, 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;) { = &#34;#b9b9b9&#34;; txt.value = defaultText; } if (txt.value == defaultText &amp;&amp; evt.type == &#34;focus&#34;) { = &#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>, 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>, 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>, 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>, 01 Oct 2012 06:49:53 GMTSilverlight Datagrid in web page<p>Hi,</p> <p>I would like to integrate silverlight datagrid in 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>, 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>, 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>, 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>, 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>, 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>, 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>, 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>, 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>, 27 Jul 2013 23:49:46 GMTNeed information about Silverlight<p>Hi,</p> <p>&nbsp; &nbsp;Is silverlight use for designing web pages? Can I use this software without Blend / Expression. I want to larn this software for web page design. Will it be good for web page design?</p>, 04 Oct 2012 09:06:44 GMTMVVM Example in SilverLight<p>Hi</p> <p>I need a sample code that implement MVVM in silverlight.</p> <p>I need tha Xaml file in Views and in the views it should not contain any server side events.</p> <p>The server side event should be in the Viewmodel only.</p> <p>Hope you understand my needs.</p> <p>Please let me know if this is not clear.</p> <p>thanks.</p>, 13 Sep 2012 08:38:57 GMTMedia Player Control to Play List of Files<p>Can we use Media Player Control to Play List of Files in the <strong>Web Application</strong>?</p> <p>I want media cotrol to play list of files sequentially. When you select particular link, the list of files should be dynamically set.</p> <p>The Files are stored on the web serve physically.</p> <p>Thanks</p> <p>&nbsp;</p>, 20 Jul 2012 05:02:01 GMTInsert update delete operation in silverlight with prism<p>Basics DML operation in silverlight with prism.</p> <p>Thanks.</p> <p>&nbsp;</p>, 28 Aug 2012 12:14:05 GMTInsert Update and Delete operation in Silverlight DataGrid using ADO.NET<p>Hiu</p> <p>how to add a edit and delete button in datagrid in the silverlight in xaml page.</p> <p>I need to get the ID in the button click event.</p> <p>Simply i can say that i need to have the same functionality as grid in the aspx. I need to have command name command arguments and get the arguments in the button click event of the grid and so&nbsp; on.</p> <p>Is that posible to acheive this in silverlight too.</p> <p>If s means provide me with the link and code/</p> <p>thanks.</p> <p>Please let me know&nbsp; if the question is not clear.</p> <p>&nbsp;</p>, 31 Aug 2012 00:24:16 GMTImplementing INotifyPropertyChanged in SilverLight .Net<p>Hi,</p> <p>Please any one help me what is the use of InotifypropertyChanged Events.</p>, 11 Jan 2013 03:06:44 GMTHow to use Silverlight Media element in ASP.Net<p>how to use silverlight media element in web forms using C#.</p> <p>Thanks.</p>, 18 Nov 2013 00:23:24 GMTHow to call SQL Stored Procedures in SilverLight Application<p>Can any one give me a code to perform the operation in the database using silverlight.</p> <p>Thanks.</p> <p>&nbsp;</p>, 28 Aug 2012 05:25:48 GMTHow to attach Silverlight Application to Web Page in ASP.Net<p>how to attach silverlight application in any web page in 2010</p> <p>&nbsp;</p>, 30 Jul 2013 05:16:10 GMTHide Show controls in SilverLight Application<p>hi</p> <p>I am having a label with the content.</p> <p>When i click on the edit button, i need to show the text box with the same content in the label.</p> <p>I can set&nbsp; the visibility but it takes some space.</p> <p>I mean here is i placed the text box below the lable.</p> <p>When i set and change the visibility, the space should be none.</p> <p>I can say shortly like i need to achieve the property display: none and block in the stack panel in silverlight.</p> <p>Please let me know if this is not clear.</p> <p>thanks.</p> <p>&nbsp;</p>, 06 Sep 2012 09:27:01 GMT