I want a aspx page that has Silverlight page embed in it, so that if I click any button in aspx page some text will be printed in the text box of Silverlight page.
for this what type of Silverlight template should we choose that are in Visual Studio 2010 and I am using Silverlight 4.
Please provide me step by step procedure for embedding Silverlight into aspx page.
Please friends help me and I am thankful for the answer.
Thanks in Advance
Ganesh
You can embed Silverlight component into asp.net web page via HTML <object> element or JavaScript - Silverlight.js helper script.
For more information read:
Integrating Silverlight with a Web Page
Encapsulate Silverlight with ASP.NET Controls
Related
I want to display the contents of an aspx web forms page inside an aspx mvc partial view.
Both these pages are in different projects.
I have tried including the web forms page inside the web mvc project , but it doesn't work. Please help.
Integrating web forms with MVC is entirely possible. See this blog post by Scott Hanselman for that.
and hers is some stack overflow previous discussion links :
Is it possible to share a masterpage between MVC and webforms?
Launch an ASP MVC project from a normal .aspx page
How to open MVC 4 view page from webform.aspx page?
Must think this : asp.net webfornm having asp.net controls , but MVC razor view engine
having html (cshtml) controls .
Refer this : Custom controls with ASP.NET MVC Razor
and More Stack overflow answers was here : Search of SO
I am new to silverlight and asp.net, we are using silverlight and prism framework,
I have a main page designed in the .apsx page with the help of web controls (.ascx) and web pages(.aspx). I want to have a login page (which comes with the business application in silverlight like a child window), my question is, is there any way we can call the child window designed in silverlight project by writing the code in .aspx page ?
by using a hyperlink button in .aspx page and calling the login window in the silverlight page.
cause in this project the mainpage is designed in .aspx page.
I have asp.net mvc project with razor views and i have in the same solution another project that is rendering (aspx) pages (reports and stuff) so i don't know how to call that page or show it inside view. i have tryed with render action and link but it just can't be found.
It's just one aspx page inside other project so i have path like: /projectName/page.aspx
Any help would save my day
If you have two web projects I suppose they have two iis mapping.
So calling from a site to another site you use href link, to render a page from another site the only thing I can think of is using iframe.
I have created a Silverlight application now I want to embed it into my aspx page. Is there any video tutorial for this, which explains how to integrate silverlight in aspx page?
In your web project, make sure you've included a reference to the silverlight application so the .xap file will be in the clientbin folder.
Right-click on your web project and select Properties. Select the Silverlight Applications tab on the left. Click the Add... button and select your existing Silverlight project. Also, check the box that says, "Add a test page that references the control" and VS will include a new .ASPX page that will have the code to reference the Silverlight control.
Note: this assumes the silverlight project and the web project are in the same solution. I assume they are..
Here is an example of how a chart control can be embedded in an aspx page:
http://demos.telerik.com/aspnet-ajax/chart/examples/silverlight/defaultcs.aspx
Can any one help me on how to create a thumbnail from a url.
when the user saves a link, i want to show the screenshot of the web page as a thumbnail
i am using asp.net 2.0
Thank You
If you need to do this yourself, you can use the Winforms WebBrowser control in an ASP.NET application, with a few caveats:
It needs to run in a single threaded apartment thread
It might not work on all pages, such as pages which require Javascript or Flash interaction
Here are a few links to some walkthroughs:
Build A Self-Caching ASP.NET Web Site Thumbnail Control
How To Get Web Site Thumbnail Image In ASP.NET
I'd look at using a webservice like thumbalizr or WebShotsPro.
alt text http://beta.thumbalizr.com/app/thumbs/?src=/thumbs/onl/source/78/78f5e5a94c19c2999b1dc6eec3a2f2bf.png&w=640&q=0&enc=