Javascript - Running Internet Explorer With "Run As" Fails To Open A New PDF Window?

Feb 11, 2011

First things first.This application is an ASP.NET application using windows authentication.

Situation:The user is logged onto their computer with something like Domain1John and is running Internet Explorer 7 as Domain2Mike using the "Run As" option.

Domain1 is the user's local domain. He is accessing the application over the Internet using the Domain2Mike credentials where Domain2 is the domain that IIS knows about.

I'm opening a new browser page with Javascript, and the window contains a PDF report; the problem is that it is not showing correctly. It shows a gray screen, without even the Adobe reader toolbar.

On the other hand, when IE is run as Domain1John everything works nicely.I think it has something with the local computer rights. I added Domain2Mike to the Administrator group on the local computer, but it still fails to open the new page correctly.

View 2 Replies


Similar Messages:

Javascript - Session Behavior - Open A New Window From Internet Explorer

Feb 4, 2011

I have a requirement to open a new window from Internet Explorer, but the new window should be in new asp.net session. It should not share the same session of previous opened window or the parent window. How can it be possible? Any thoughts? I'm using window.open('mywindow.aspx') from parent page javascript to open new windows.

View 1 Replies

Forms Data Controls :: GridView Select Open New Internet Explorer Window?

Sep 3, 2010

I'm wondering if there is a built in way to take a GridView select buttons and have them open an IE window or tab and link a FormView Control to that link.

Basically a Master-Details type of view, but in a new window instead of the same window.

View 4 Replies

IE7 Internet Explorer Cannot Open The Internet Site, Operation Aborted

Jun 10, 2010

when i test this page http://www.catalogues4u.com.au/ViewCategory.aspx?catID=119 im getting the above error. to replicate this issue visit the above page in ie7 and you will get the prompt.

View 3 Replies

Web Forms :: Get The Width Of The Browser Window With Internet Explorer 9?

Feb 10, 2011

How can you get the width of the browzer window with Internet Explorer 9. Old methods don't appear to work!

View 2 Replies

C# - Open Internet Explorer From Google Chrome

Mar 29, 2011

I currently developing a ASP.NET web application.

The application is designed for Google Chrome. I would like to pop out IE when printing is involved because Chrome lack preview etc. at a button click the IE should open. Here's the code:

protected void btn_print_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("http://localhost/storeapp/printpage.aspx?orderno=" + Request.QueryString["orderno"].ToString() + "");
}

Here I have passed a particular orderno to the URL. But when I click nothing happens. I have set IE as default web browser. Why is this?

View 2 Replies

VS 2013 - Internet Explorer To Run Slow And Return Error Message Asking To Stop Running This Script

Nov 27, 2014

I'm new in using C# in ASP.net My code is causing Internet Explorer to run slow and return error message asking to stop running this script.

When I use the "Select *...", it return about 700 rows of records and it cause the error.

When I use another SQL "Select NOC0854....", filtering some records, it return about 300 rows of records and no error message appear.

How I can improve my code so that I can retrieve all records from my table? I think 700 rows of records doesn't seem a lot, maybe my code is not correct?

Code:
//cmd.CommandText = "Select * from PTH3759";
cmd.CommandText = "SELECT NOC0854 from PTH3759 WHERE HID0019 >= TO_DATE('11/01/2014','MM/DD/YYYY') AND HID0019 <= TO_DATE('11/28/2014','MM/DD/YYYY')";
cmd.CommandType = CommandType.Text;
OracleDataReader dr = cmd.ExecuteReader();
if (dr.HasRows) {
GridView1.DataSource = cmd.ExecuteReader();
GridView1.DataBind();
}

View 2 Replies

Internet Explorer's Back Button And Javascript?

Dec 21, 2010

I've got an asp.net page that uses dynamically populated DropDownLists and OnSelectedIndexChanged events. A few days ago I found a defect where hitting the back button would load the previous page from the browser's cache, so the DropDownList would already have a selected index (hence the OnSelectedIndexChanged event would not fire properly as it didn't have the default selected index). I understood the issue and googled around. It's a well known issue that doesn't have an easy solution because of how the browser interacts with the page. After a bit of thought, I went with a trivial javascript solution to reset the ddls:

var gvTable = document.getElementById("foo");
if (gvTable != null)
{

[code]...

This worked well and I was happy. Until I tested it in IE. In IE, it appears to run the script, THEN load the cached values of the DDL. That is, I observe the DDL snapping back to the 0 index, and then suddenly dropping down to the previously selected value. I'm sort of at a loss here, I typically debug in firebug, but this works perfectly in firefox and chrome.

View 1 Replies

Javascript Error In Internet Explorer But Works Fine In Firefox?

Sep 1, 2010

i was working on one of the project as it is working fine in Firefox but it is giving the javascript exception in internet explorer.Errror: Error says "s" is undefined in the s.currencyCode="USD" line but "s" is defined in the external javascript file s_code.js

<script type="text/javascript" language="JavaScript" >
var s_account="mnsdev"
</script>
<script type="text/javascript" language="JavaScript" src="http://media.world.com/ads/usen/rpt/Omniture/s_code.js"></script>
<script type="text/javascript" language="JavaScript" >
s.currencyCode="USD"
[code]...

View 10 Replies

Web Forms :: How To Open A Small Internet Window In VB.net

Feb 21, 2011

I want to open a smaller internet window to show some data that is to large to go in the calendar control. I found the code below, but it says the following error:It puts a blue line under the last part: </script>" and says the error below. What am I doing wrong and is there any other way to accomplish this task?

Error 5
Statement cannot appear within a method body. End of method assumed.

View 4 Replies

Unable To Open Certain Sites From Internet Explorer 7.it Is Showing All Sites As Restricted?

Aug 17, 2010

i m not able to open certain sites from internet explorer 7.it is showing all sites as restricted .

View 12 Replies

Javascript - IE - Get Popup's Opening Window When Using Window.open (url)?

Sep 23, 2010

we are running a click-to-call service, my idea is basically like this: website have a link on their page, when the link is clicked, a web page(say it is popup.aspx) hosted on our server is popup, user can input their phone number, and click "call me" button to let the website call him. In the button click event, I want to get Request.UrlReferrer, then query the db to get website's phone. But in IE, Request.UrlReferrer is null(firefox is ok, not test chrome yet),my question is how to get opening window' url in IE? we put popup.aspx on our server because

our client website is not force to use asp.net. we have the control what we put on the popup window, and can modify the page just from our side, if we put the pop window on our partner's side, if we have 100 partner, and we change the page's design, we will notify everyone of them to change this, change that. we can implement a statics system to know how popup a day, which site is most popular,etc

View 1 Replies

Using The Javascript To Open A Child Window Using Window.showModaldialog?

Sep 24, 2010

I am using the javascript to open a child window using window.showModaldialog(), i have retuen a value from the child page is working fine in IE and firefox but is not working in chrome browser, is there any work around or alternative for it to work in chrome as well.

View 2 Replies

Open A File Share Link From Window.open Javascript?

Aug 2, 2010

I am trying to open a file share link from the window.open ... but its adding the http://localhost/vdir/ before the path can any one say what is the problem?

View 1 Replies

AJAX :: Update Panel Running JavaScript Fails On Update?

Aug 6, 2010

I have the following function that is trigered from an asp dropdownlist when an item is selected.

[code]....

The script sets a url depending on the selection from the dropdownlist.

It all works ok, but then the update panel updates and the javascript photogallary breaks.

How do I prevent this from happening.

View 17 Replies

Javascript - Open A Window In Asp:updatepanel

Feb 13, 2011

I have a pop-up CustomControl which I use in a large-scale web application. The pop-up works well everywhere other than when used inside an asp:UpdatePanel, the problem arises when controlling the visibility of the pop-up (the pop-up is nested in a table) with other controls:

When I click the button to open the window I get Error: Object expected and when I try to debug the error with IE 8 JSEditor I get ``Source Code is not available for this location.

I believe that the code of the pop-up is not being initialized completely, but it is just my guess and I don't know how to resolve this issue.

View 2 Replies

Javascript - Window.open As Modal Popup?

Oct 14, 2010

I want open window.open as modal popup.

var features = 'resizable= yes; status= no; scroll= no; help= no; center= yes;
width=460;height=140;menubar=no;directories=no;location=no;modal=yes';
window.open(href, 'name', features, false);

I can use Window.ShowModelDialog(), but in my child window I am calling parent javascript method. That is not happening with ShowModelDialog().

function CallParentScript(weburl) {
alert(weburl);
if (weburl != null) {
var url = weburl;
window.opener.SelectUserImageCallback(url);
window.close();
return false;
}
}

If I use window.open(). I can call Parent javascript. But window is not modal. How to solve this? Can I write something in child popup to always top?

View 3 Replies

Open New Https Browser Window Using JavaScript?

Jul 30, 2010

I have situation where in c# code I am adding an onclick client event handler.
It should do:

Button1.Attributes.Add("onclick", "javascript:window.open('https://"+Request.ServerVariables["HTTP_POST"]+"/reports/?type=1&id=2");

in the end the URL looks like:

https://servername/reports/?type=1&id=2

in the reports folder of my site I have a default aspx page that handles those parameters.

When I click the button with this event, a new window opens but it says there is no page at that address. When I use the link like this

https://servername/reports/default.aspx?type=1&id=2

The page opens but it's blank.

When I run this code as non secure with HTTP, everything works just like it should. The report opens.

Is there any difference using those two different URLs with default.aspx and without it, because in development it behaves the same way, but under HTTPS one page doesn't exist and another is blank?! Is HTTPS the reason for that?

View 3 Replies

Use Javascript To Open A New Window On Page Load?

Jan 19, 2010

i have aspx pages with vb.net in the back. I need to use javascript to open a new window on page load. I am also sending a querystring (www.mysite.com/default.aspx?dest=register.aspx) from the previous page. I need the javascript to parse the querystring and open the new window only if the URL has a querystring.

View 4 Replies

Web Forms :: Javascript Function To Open A New Window?

Feb 5, 2010

I have the following 2 lines of code:

Dim sHyperlink As
String =
"<a href=""LabPopup.aspx?RefNo=" & iLabRefNo &

[code]...

View 3 Replies

Open New With Javascript And Use Parent Window's Existing Session?

Jan 8, 2010

I am opening a window with window.open and I am losing the server session. Is there a way to open a window with Javascript and use the same session? I need this working in IE 7 and higher. I am working with ASP.NET on the server side. The sever does not have a sessionless cookie state.

<sessionState mode="InProc" timeout="15" />

View 2 Replies

Javascript - Session Null After Window Open In Minimal SharePoint Page

Apr 4, 2011

I'm storing a token in a session variable. I launch a report that needs this token in a new ASPX page by using the javascript windows.open function. When this new page loads the HttpContext.Current.Session is null.I have gotten around this by passing the token in the query string but activity in this window needs to keep the session of the parent window active and I'm not sure what the session object being null means for this scenario.

View 3 Replies

Javascript - Open A New Window With Specific Record Details From A Select Row ID In A Datagrid?

Dec 2, 2010

I have a gridview displaying all employees. Upon selecting an employee, I'd like to open a new page or window that would display all of the information for that employee with the option to edit/delete/update. Once this transaction is complete, return to previous page with gridview of all employees. ((language I'm usings is VB))

<asp:TemplateField Visible="true" headertext="Select">
<ItemTemplate>
<asp:HiddenField ID="hdID01" runat="server" Value='<%# Eval ("PersonnelID") %>' />
</ItemTemplate>

[Code]....

View 1 Replies

Data Controls :: Open New Window When DataList Item (Row) Is Clicked Using JavaScript

May 7, 2015

How to make the entire datalist item to clickable.....

View 1 Replies

Internet Explorer Cannot Display The Webpage?

Apr 6, 2010

i have one application that is deployed in IIS at Remote Desktop. if i access that application from local system i am getting "Internet explorer cannot display the webpage" and it is running fine in Remote Desktop but not in Local system.

View 2 Replies







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