Embed Browser In Asp Web Based Tool

Mar 18, 2011

Does anyone know of a way to embed a web browser within a web page, e.g. through a Java applet or similar mechanism? I have reviewed the discussion on various solutions for embedding a browser in a Java application. However, this will not work for our web-based tool, which is built on an asp.net framework. Using a Java applet is our current idea, but if you have other suggestions to address this issue
This is to be used in a web-based tool that guides middle school, high school, and college students to read websites critically. The tool provides a set of guiding questions and other information along with a data-entry box surrounding the actual 3rd party web-page being viewed. The purpose of our tool is to allow teachers to choose websites for students to view and analyze - or allow students to choose the sites themselves. We (/the tool) do not control what sites or types of media are chosen.

We are currently loading the web-page in an IFrame, but that technique is limited in several ways. It does not provide full control for browser-like features we would like to provide, and is very sensitive to changes in both third party web-sites and to browser versions used by students. The most difficult issue we have pertains to anti-hijacking mechanisms used on the third-party sites. For good reasons, they use mechanisms that make them impossible to load into an iFrame -- that is, when you try to load the page into the iFrame, it will take over the entire browser window. Not only will the page not load WITHIN our frame, it will actually make our application "disappear", thereby making it impossible for students to use these sites within our tool, and potentially also causing students to lose their work.

View 1 Replies


Similar Messages:

Embed Remote Desktop In Browser?

Jun 3, 2010

I would like to embed a Remote Desktop session within my browser. I must use remote desktop because my clients can't install any additional software on the server.

Here are some problems that I can already foresee:

1) I believe that I can embed an RDP ActiveX control, but then all I could support is IE. And even then, IE lockdown may forbid ActiveX controls.

2) I don't know anything about Apple computers, but I presume that they don't inherently run RDP?

3) I think there are ways to run RDP through a Java control. I don't have experience to know if this is a good or bad idea. I suppose that Java may even be disabled on some browsers, but don't know if this is a common case?

View 2 Replies

Controls :: Retrieve And Embed PDF Files From Database In Browser?

Apr 30, 2014

<div>
<object data='<%=this.Path %>' type="application/pdf" width="500" height="500">
</object>
-------------------------------------------
public string Path { get; set; }
protected void Page_Load(object sender, EventArgs e)
{
// You can also display the file path from the Database
this.Path = "Data/AppleEbook.pdf";
}

How can display the file path from the Database and another think that my file is also store in Database.

View 1 Replies

Web Forms :: Embed Image In Email Based On URL

Dec 27, 2010

I have used Embed image in Email based on [URL]Image will not show in email. But it become an attachment.

public void sendEmail(string mailTo, string mailCC, string contentFileName, Hashtable parameters)
{
string s = Dns.GetHostName();
MailAddress fromAddress = new System.Net.Mail.MailAddress(RPUser.getAppSetting(WEB_SMTP_USER_EMAIL));
System.Net.Mail.MailMessage mailMessage = new System.Net.Mail.MailMessage();
mailMessage.From = fromAddress;
mailMessage.To.Add(mailTo);
if (mailCC != "")
mailMessage.To.Add(mailCC);
string Body = getMailhtml(contentFileName, parameters);
//mailMessage.Body = Body;
System.Net.Mail.AlternateView htmlView = System.Net.Mail.AlternateView.CreateAlternateViewFromString(Body, null, "text/html");
IDictionaryEnumerator en = parameters.GetEnumerator();
while (en.MoveNext())
{
string parameterStr = en.Key.ToString();
if (parameterStr.Contains("cid:"))
{
//string path = System.Web.HttpContext.Current.Request.Url.AbsoluteUri.Remove(System.Web.HttpContext.Current.Request.Url.AbsoluteUri.LastIndexOf('/') + 1) + en.Value.ToString();
string path = @"D:ProjectsRPPortalBLRPPortal" + en.Value.ToString();
LinkedResource logo = new LinkedResource(path);
logo.ContentId = parameterStr;
htmlView.LinkedResources.Add(logo);
}
}
mailMessage.AlternateViews.Add(htmlView);
if (parameters[EMAIL_SUBJECT] != null) mailMessage.Subject = parameters[EMAIL_SUBJECT].ToString();
mailMessage.IsBodyHtml = true;
SmtpClient smtp = new SmtpClient();
smtp.Host = RPUser.getAppSetting(WEB_SMTP_HOST);
smtp.Port = Convert.ToInt32(RPUser.getAppSetting(WEB_SMTP_PORT));
if (Convert.ToBoolean(RPUser.getAppSetting(WEB_SMTP_SSL)))
smtp.EnableSsl = true;
else
smtp.EnableSsl = false;
smtp.Credentials = new System.Net.NetworkCredential(RPUser.getAppSetting(WEB_SMTP_USERNAME), RPUser.getAppSetting(WEB_SMTP_PASSWORD));
try { smtp.Send(mailMessage); }
catch (Exception) { }
}

View 3 Replies

Embed Report Designer In Web Based Application

May 12, 2010

I am developing a web app. My users want to be able to design their own reports. Is there a way I can embed a simple Report Designer in my app? If so, which Report Designer app should I use? The Report Designer should be an existing app. I don't want to create a Report Designer from scratch. More details: My app is an ASP.NET MVC application. But I can use Java based solutions too, using IKVM.

View 1 Replies

Web Forms :: Embed A Video And Change The Source Dynamically Based On Querystring?

Jan 5, 2010

I need to have a video on my asp.net webpage, but the source of the video depends on a few of the querystring params. How would you approach this?

(Ideally I'd be able to control what video shows in the embeded section and if the embeded section is even present)

View 1 Replies

Asp - Multiple Browser Testing Tool

Mar 15, 2010

I would like to seek your suggestion for the tool faciliate the multiple-browser testing of web site. ASP.NET is my current working environment.

View 6 Replies

Free Cross Browser Reporting Tool For C#?

Feb 13, 2010

Is there any free/open source X-browser tool ?

X-browser is primary thing.

View 2 Replies

Visual Studio :: Development Tool Bar Is Not Working In IE8 Browser?

Sep 27, 2010

I am using IE8. I installed IE development tool bar when i used IE7. Right now Developemnt tool bar is not working in IE8 browser.

I can view Development tool bar in

View--->Explorer Bars

I am able to select the tool bar. But it does not dispaly anything to debug...

View 1 Replies

Which Browser Does Not Support Based Website?

Feb 20, 2010

i would like to have the browse list which does NOT support the .net based created website

View 3 Replies

To Access Data Based On Browser IP Address?

May 19, 2010

In one online application, like online exam, If two users are on same IP address series then I need to generate questions that are completely different.

I am having no idea what approach should I follow.

View 1 Replies

C# - Developing A Small Browser Based Game?

May 14, 2010

I am developing a small browser based game in asp.net. Think of a game room which has a capaticy of 22 players and players join the room by clicking a button. ( I am saving the number of players in the room in database) I need to call a method when the number of players in the room is 22. The problem is I don't know how to control the number of players in the room. I mean I think like there need to be a bacground code which has to run all the time at the server and that code controls the number and call the function.

View 4 Replies

C# - MVC Route Based On Web Browser / Device Like IPhone

May 27, 2010

Is it possible, from within ASP.NET MVC, to route to different controllers or actions based on the accessing device/browser? I'm thinking of setting up alternative actions and views for some parts of my website in case it is accessed from the iPhone, to optimize display and functionality of it. I don't want to create a completely separate project for the iPhone though as the majority of the site is fine on any device.

View 2 Replies

VS2010 Changing Style Sheet Based On The Browser?

Jul 23, 2010

In Visual Studio 2010, is there a way of changing the Cascading Style sheet on the server-side based on the client browser? I want to create different style sheets for the different browsers (Firefox, Chrome, IE, Opera, Safari etc..) and specify which one to use from the master page.

View 2 Replies

AJAX :: Loading Javascript File Based On Browser Version And Type?

Jul 7, 2010

I have some javascript files for each browser version and for different browsers. I want to include this files in script tag of script manager. Is it will detect these files and load based on browser version? Is there is best way to handle this scenario declaratively in markup insted of codebehind?If not declaratively how in code behind?

View 2 Replies

How A Browser Based POST Request Is Converted To Server Side Event Like Button_click

Apr 5, 2010

I would like to know how a browser based POST request is converted to server side event like button_click.

View 3 Replies

Web Forms :: Dynamically Changing Size Of Content Placeholder Based On Browser Size?

Oct 14, 2010

I know the content palcehlder does not have a size ,I have a masterpage and content page, the master page has a table with a header, content area, and footer, header and footer are fixed size, content area is 100%. As the user sizes the browser the content area grows and shrinks and the footer stays at the
bottom of the browser window - perfect!

Problem: The contentpalceholder does not grow to fill the available content area. Now, the contentplaceholder gets its size from its contents, which in this case is a div holding a silverlight object.I was thinking I could hook the master or child page's re-size event and somehow pass that info onto the SL object, but as it turns out (and I'm surprised I never knew this) there is no aps.net page re-size event! (really?, wow.)

So is there a way to get a SL object hosted on a master page to size itself based on the size of the browser window?Or more generally, a way to size the contents (like a div or panel) of a contentplaceholder based on the browser? on a standard aspx page (not a master page) I CAN get the SL object to size itself based on the broswer, the problem seems to come from the fact that I'm hosting the SL object in a content placeholder.

I guess I could 'unroll' the master page into several standalone pages and have it work, but the menu is on the master page and I'm used to using them, plus it's already done...<sigh>

View 1 Replies

How To Embed VB To C#

Feb 3, 2011

How to embed VB to asp.net so we could place our program on the net.

View 1 Replies

Mobiles :: Link Button Not Working In Mobile Web Browser But It Works On Regular Browser

Feb 9, 2010

I have website home page which my client can view well on his blackberry mobile phone but I have link buttons on that page which redirect the users to other pages ..just Response.Redirect ............simple code.... but when he clicks on the link, it requests for enabling javascript..I do that but the home page just does a postback. Links are not working on cellphone........... on regular website they are working fine.

View 2 Replies

Web Forms :: Browser Popup Window Maximize Button Is In Enable State In Chrome Browser

Dec 14, 2012

I used javascript code to open popup window.Popup window "Maximize" button is in 

disable state.But in Chrome it is in enable state.I want to make browser maximize button disable.

Below is my javascript code

function Call_PopUp(event, URL) {
window.open(URL, 'CustomPopUp', 'width=990, height=540, menubar=no,scrollbars =yes, resizable=no, top=50,left=50,toolbar=no,dialog=yes,minimizable=yes,maximizable=no');
}

View 1 Replies

Web Forms :: Getting Browser Info / Get The Browser Version, Type Of The User

Apr 25, 2010

i need to get the Browser version, type of the user. i need the short name not the long one.

at the monent i have this:

browser = Request.ServerVariables("HTTP_USER_AGENT") that retuens this:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249

i need only (Chrome/4.1.249), (MSIE 8.0)...............

plus i would like to get the operating system too

View 16 Replies

Web Forms :: Detect Browser Types Versions And Browser Capabilities?

Jun 18, 2013

I have a web application that runs via IIS 7 what i want to do with the application (Asp.net with C#) is only load if the browser is greater than IE9, or greater than or equal to Chrome27 or greater than or equal to firefox19.  

How to do this or areas i should read to do such a thing?

View 1 Replies

Embed Web Camera In Asp

Mar 24, 2010

i developed asp.net website i have to embed web camera in my website where user can record there video message and send it to the other user i.e.video mails.

View 1 Replies

How To Embed Cinema4d To C#

Jun 4, 2010

Is there any function or method to import cinema4d(.c4d files) into asp.net?

View 1 Replies

Web Forms :: Can Embed WMP In C#

Aug 1, 2010

have following Code in <body> tag:

<object type="video/x-ms-wmv" width="320" height="260">
<param runat ="server" id="Test" name="src" value="" />
<param name="autostart" value="true" />
<param name="controller" value="true" />
</object>

And Following Code in Button Click Code:

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Test.Attributes.Add("src", "Test.mp3")
End Sub

The Problem is that on Click Event of that Button WMP Does Not Play this file. But when I type code like given below it plays the file.

<object type="video/x-ms-wmv" width="320" height="260">
<param runat ="server" id="Test" name="src" value="Test.mp3" />
<param name="autostart" value="true" />
<param name="controller" value="true" />
</object>

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved