Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 11 results for HTML.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Page 
  • 1
  • 2
Next
Order by Publish Date   Ascending Title   Rating  

  • 1 comments  /  posted by  Silverlight Show  on  Dec 23, 2009 (5 months ago)
    Jeff Prosise demonstrates how easy it is to host HTML content inside a Silverlight control.

    This support isn't limited to static HTML content; the content can be interactive and can include script. It can even be Flash content or content that includes other Silverlight controls. To host HTML content in Silverlight, you can use either a WebBrowser control or an HtmlBrush.



  • 0 comments  /  posted by  Silverlight Show  on  Dec 18, 2009 (5 months ago)
    John Papa decided to analyse the project for the HTML Hosting & Puzzle application for those who are interested in how it works.Image

    The HTML Hosting & Puzzle application shows off using the new Silverlight 4 WebBrowser control in an out of browser application (note: you must run the application out of the browser for it to work).  It allows you to use the control both interactively (meaning you can click the HTML within it and run it like an application).  It also allows you to use the hosted HTML as a brush that you can apply to other Silverlight controls.

  • Silverlight Tip – Managing HTML

    0 comments  /  posted by  Silverlight Show  on  Sep 30, 2009 (8 months ago)
    Tags: HTML , Tips , Silverlight 3
    As you may know Silverlight 2 and Silverlight 3 do not support HTML, so Corey Schuman decided to give a quick solution of the problem with removing the tags.

    Although there are many solutions to this problem, the quickest and most frequently solution I use is a regular expression to remove HTML tags. The most straightforward example I’ve found is from John Papa’s book Data Driven Services with Silverlight 2.

  • 1 comments  /  posted by  Silverlight Show  on  Aug 26, 2009 (9 months ago)
    Tags: Applications , HTML , CSS
    Joel Cochran explains how you can center your Silverlight App in a web page.

    To accomplish this little trick I need to define a wrapper DIV in my CSS.  This Div will then wrap the entire contents of the site, so now I only have to center that DIV.  We need to define the width of the content area: it makes sense that you want to set the size of something you want to center so it can be calculated.  To do this, I set the width property of the wrapper DIV to the pixel width of my Silverlight control.

  • How to Connect from HTML to Silverlight and from Silverlight to HTML

    0 comments  /  posted by  Silverlight Show  on  Jul 16, 2009 (11 months ago)

    Jacek Ciereszko has created a demo that shows how to connect Silverlight 2.0 with code html.Pic

    This demo is like a game ping-pong, but it is not really game because you not suppose to play but learn Silverlight 2.0 !

  • 1 comments  /  posted by  Silverlight Show  on  Apr 01, 2009 (more than a year ago)
    Tags: HTML , Controls
    If you want to learn how to build HTML Host control read the article of Muthu V.

    It is generally a problem in silverlight to use the HTML content. First and foremost problem is the trouble with setting the position of the control based on the silverlight page we are creating. Also it is really clunky to write the code to read and write your div details by accessing the HTML DOM objects.

  • 2 comments  /  posted by  Silverlight Show  on  Mar 23, 2009 (more than a year ago)
    Scott Barnes will show you the advantages of Silverlight and why it is better than JavaScript,CSS and HTML.

    Damian Edwards stayed at my house a week leading up to MIX09 and he’s had an amazing impact on our product teams whilst he stayed. One question he did provoke my way was what makes Silverlight better than JavaScript/HTML (forgot the actual wording but the meaning i walked away with was just that).

  • 3 comments  /  posted by  Jeff Paries  on  Jan 26, 2009 (more than a year ago)

    Note: This article is submitted by Jeff Paries for Silverlight: Write and Win contest.Thanks a lot, Jeff! Hello All, Please drop a comment if you like it.

    Introduction

    There have been many requests online regarding methods to go about sending content to a user from within a Silverlight application. Many Silverlight users have asked for a “Save File” dialog that can be leveraged to pass files out of an application. The technique described in this tutorial shows how you can leverage a standard HTML right-click dialog to allow a user to select the “Save Link/Target As” menu and pass any type of file from any type of object to the user, allowing them to save the file to any location they wish.

  • 5 comments  /  posted by  Boyan Mihaylov  on  Jan 12, 2009 (more than a year ago)

    Introduction

    Silverlight helps for creating Rich Internet Applications (RIAs). It runs in the context of the browser. There is an isolated area, called sandbox, which holds the Silverlight application. But why is it necessary to restrict the Silverlight applications in such a way? The answer of this question is pretty simple - because of the security. Running such applications locally is dangerous. They may damage your computer or your data. So, there is a necessity to somehow restrict them. Thus, a Silverlight application runs in the sandbox.

  • 10 comments  /  posted by  Martin Mihaylov  on  Aug 19, 2008 (more than a year ago)
    Tags: HTML , JavaScript , DOM

    Update: The demo, the source code and the code in the article are compatible with Silverlight 2 RTW. The only changes I made were to the object element in the host page.

    This tip is about adjusting the size of the Silverlight object in the Html to the size of the content in our Silverlight application. The example I will use will manipulate only the height, because the width can be manipulated in analogical way.

    Let's start with explanation of how we're going to access the Silverlight object in the HTML. We use the HtmlPage object in the codebehind. With its help we invoke a javascript function, which will deal with Silverlight object in the mark up:

    private void ResizeSilverlightOnject( double height )
    {
        HtmlPage.Window.Invoke( "ResizeObject", new object[] { height } );
    }
    

     


Page 
  • 1
  • 2
Next
Help us make SilverlightShow even better and win a free t-shirt. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need a material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)