C# - How To Add Iframe In SilverLight
Mar 17, 2011How do I add IFrame in a Silverlight 4.0 User control ?
And I want a button on the control that refreshes the IFrame.
How do I add IFrame in a Silverlight 4.0 User control ?
And I want a button on the control that refreshes the IFrame.
i am trying to load a dynamic iframe but it cannot visualize the page.
this is my html code:
[Code]....
and this is my codebehind:
[Code]....
i am using a content update panel on the page but the div of the iframe is out of the content panel.
in my application iam using an iframe, all pages are loaded on that iframe according to menu selection.My problem is that while timeout the login page is loaded inside the iframe.under the menu sectionHow can i overcome this?
View 1 RepliesI have created a web application that docks other web applications into it.When an application is docked the app creates a link button in its "tool box" on the left hand side of the page, users can easily click on any link button to navigate to the desired docked app.
I have a web app that uses iframes to display other web applications inside it. In effect it is a docking application where users can easily access many web applications from within one main app, while staying within the main app. I am having challenges dynamically resizing the iframe based on the size of the application the user is accessing.I have searched the web and tried many ideas but have yet to discover the code that will do the trick.
First, for a docking web application is the iframe the best approach? I have see some posts on ajax but am uncertain how that will help.
Second, if an iframe is the way to do it does anyone have code that will completely liminate the need for iframe scroll bars?
Note:The applications docked in the main we app may be of any size and can change size as users interact with them.
Our website application needs to open other web sites Iframe.(Our application is web based tool to help high school children to analyze the websites. It has to show news websites to in one iframe and in rest of the page there will be questions related to the news website)
But since many websites use framekiller code, these sites take control of entire page. Is there any ternative way / solution to this problem?It is necessary to be able to open other sites in our website (in iframe or any alternate way), otherwise whole concept of our application will become void.
i open a iframe in a page, from that page opend in iframe, i want the page url.means one page mainpage.aspx have a iframe, that iframe open open a iframepage.aspx page.from the iframepage.aspx page's button click event i want to referesh the mainpage.aspx page.how can i do.
I am learning .net, c#, MSSQL, CSS, photoshop, and I didnt know if silverlight would be a good addition.
View 4 RepliesI was just curious has anyone set up two projects a asp.net mvc membership project and a silverlight wcf ria project in a silverlight library?? I really do not see alot of examples over the internet and I would appreciate any advice I also saw you set basic authentication to none. I know silverlight uses classic mode in iis
View 1 RepliesI have a silverlight application project that I need to add to an ASP.NET Project. I know it can be done because you can choose to have both when you first create a silverlight project, i'm just not sure how you would do it after the fact.
View 2 RepliesI'm pretty new to Silverlight/RIA/Asp.Net thing, and I'm trying to figure if an Asp.Net website is required (for hosting the app) if I wish to use RIA services with Silverlight?
View 2 Repliesi am new to web development and i am learning Asp.net. i was the other day thinking and i came up with this question. i searched the web but all the answers i found were old so my question is , can silverlight4 replace Asp.net? I know this question sounds crazy . but let's think for moment we use ASP.net to talk to a server.to Create files there ,to talk to a database etc. SilverLight can do the same thing ,right? OK,you might say that if I built a web site using SilverLight then not all users out there can access it. but apparently SilverLight supports IE,FireFox Safari and googleChrome so i guess this isn't an issue anymore. so what do you think ,can silverlight replace asp.net?
View 6 RepliesWe have an app template we've created in asp.net 2.0 that we use for our web apps. It has a header that hosts a couple controls (like a drop down for customer selection) and a language dropdown. It has a footer that's pretty static. In the middle is the content portion of the masterpage. Talk has come up as to whether we can make the content piece in SL4? I'm not sure how the two pieces (apps) would communicate - like for the customer selection changed. Has anyone done anything like this?
View 1 Repliesi want to add subtitles to a video. eg:- a video will be playing and user will select a point on video, he will add a subtitle and save it. Now when the user again plays the video the subtitles at those points are displayed
View 1 Replieswhich is future of web technology of microsoft silverlight or mvc asp.net i am really confused iam good in asp.net but completely unaware with silvelight and mvc
View 1 RepliesWe have develop one application in silverlight..
We want more information about how we can use this silverlight application on IPHONE.
Basic requirement is silverlight application should work on IPHONE.
I have an aspx page which has a ASP.NET 4 menu control (rendered as ul/li's instead of tables) and a div right below it which contains a Silverlight .xap. When the user selects a menu item in the menu control, the Silverlight app gets updated. In IE 7 & 8, when I hover over the menu, the menu items are "hidden" behind the Silverlight and I can partially see only the first child item. However, the menu appears just fine in Firefox. I thought something in my CSS caused it and I removed all CSS references but it still stays hidden behind the Silverlight app. How do I bring the menu control to the front?Here's my menu -
<asp:Menu ID="mnuReports" runat="server" Orientation="Horizontal" OnMenuItemClick="mnuReports_MenuItemClick"
BackColor="#DDDDDD" ForeColor="#000000" StaticSubMenuIndent="10px" MaximumDynamicDisplayLevels="1"
StaticEnableDefaultPopOutImage="False"> [code]...
Both VS200 and IIS are in my local machine. Suppose they have the same permission. I create a silverlight4 w/ wcf ria service project. The project runs well in VS2010 built-in ASP.Net development server. It doesn't work well after i publish it to IIS. I only can see its static content but not the .svc. i try to browse the .svc, it always show HTTP 500 error. I doubt if i do not open the asp.net runtime setting sth in IIS?
View 1 RepliesHow do yo play a video with silverlight?
does Visual Studio come with a video player component build in? or do I need to make a video player?
At the moment I am starting to learn Silverlight. I have expriences in ASP.NET and like the concepts of "Masterpages. Does Silverlight provides a similar concept ? I have read a little bit about the Silverlight Navigation Framework. Is this a good replacement for "Masterpages" ?
Makes it sense to combine ASP.NET and HTML (with Javascript) with Silverlight or is it more recommandable to design and write pure Silverlight applications ? Mybe in the ner future I will start to develop an intranet (business) application which will have many and complex user interaction (it should behave like a windows client applicion). I think Silverlight is the better choice than ASP.NET !? Makes it sense also to start to use/learn the WCF RIA Services immediatly ? Are there good (VS) templates to start with Silverlight or which are a good basis / starting point for a new Silverlight application ? Unfortunately I am missing "Starter kits" on [URL] like the starter kits on www.asp.net !
I am new to Silverlight. In Silverlight, we can get data from server using ASP.Net (using WebClient and HTTPWebRequest classes in Silverlight) and using WCF Service.
Assuming that I do not need the cross domain capability, what is a good option in terms of Security and ease of development?
I have a set of WCF services which I have been using with an ASP.NET MVC application so far. These service operations return a FaultException when the server has identified problem with what the client has submitted. For example:
[code]...
However with Silverlight this all fails. The server returns a 500 status code with the faultexception (as expected) but to Silverlight this just looks like a duff response.
The following MS article indicates a (ugly) work around for this: [URL] This workaround makes the service transmit 200 status codes, even if there is a FaultException, so that the Silverlight client can get them. But this will mess up 'normal' clients of my service (my ASP.NET application, other users in the wild).
However, the point of services is to have seperation from your clients. I still want my services to return 500 status codes so that my ASP.NET application can detect the FaultExceptions and handle them. But I also want Silverlight to be able to handle them too.
I have to create application which should work in web, mobile and PDA. I am using Silverlight application. Any one has idea that which type of problem can I face in Mobile and PDA? It is working fine in web. I am also using some third party control like Telerik control.
View 2 RepliesI am currently developing a silverlight application, however yesterday I started getting the following error message every time I run the project:
If I click "yes" to debug - nothing happens. Also, I have no Line 1805 in any of my source files!
This error message started appearing yesterday, and appears as soon as I run the project, shortly before the first page loads. If i click yes or no, the project then loads and runs perfectly, I cannot see any unwanted behaviour.
I have been using source control, so I rolled back the project to a point before the error started appearing, however I am still getting the error!
Could it be a setting in VS Web Developer Express 2010 that I have accidentally changed?
Does anybody knows possibilities or approaches to combine ASP.NET with SAP Webdynpro (or to embed/integrate Webdynpro in a ASP.NET (or Silverlight) application) ?
View 2 RepliesI am new to asp.net mvc and don't feel too comfortable to diving 100% into silverlight web application. I done some research and found that asp.net mvc can host silverlight application. That is great new since I want to leverage new technologies.
However, silverlight currently does not support printing and SSRS reporting. My question, can asp.net mvc hosts multiple applications like both silverlight and regular asp.net applications. I can design the asp.net application to handle the reporting and printing.