Equivalent Cross-browser Solutions For Window.showModalDialog?

Feb 9, 2010

Whar are equivalent cross-browser solutions for window.showModalDialog? showModalDialog introduced in IE and FF 3.

View 4 Replies


Similar Messages:

Javascript - .NET Cross Domain Modal Window (window.showModalDialog) - Parameter Value Always "undefined"?

Aug 27, 2010

I have two webpages, parent page .aspx and child page .html.
On parent page I have JavaScript function for invoking child page as modal window via window.showModalDialog.

function viewCourseModal(url) {

var sPars = SomeParameters();
var returnedValue = window.showModalDialog(url, "", sPars);[CODE]...

So when I launch parent window and invoke child modal window, parameter with "someValue" gets returned to the parent window (to modalReadyForTest control) upon clicking the button Button1.It works fine when I have both parent and child pages on the same domain. When I have them on different domains, value of the parameters does not get passed and instead it is always "undefined".Is there any way to have modal window from different domain returning parameter value to parent page? Can those cross domain issues be solved at all or should I try completely different approach?

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

Window.showModalDialog() Using Javascript?

Aug 24, 2010

I am opening a child window using window.showModalDialog() method. In the child page i have few server side controls whenever a postback happens the child page opens in a new window.

I have also set in my head tag,but it is not working.

<base target ="_self/>

For example
In Page 1: i have an anchor on whose click i open a child page(page2).
In my child page Page2: I have an asp.net button to search based on the criteria. when i enter the criteria and click search, the search results are show in new window rather then the same window.

similar to the post[URL]

View 2 Replies

Javascript - Window.showModalDialog And Postback Button

Feb 2, 2011

I have two pages A.aspx and B.aspx Page A.aspx opens B.aspx as modal popup by javascript function window.showModalDialog("B.aspx"); Page B.aspx has two text boxes (Login, Password), <asp:Button> control and button click event in server code. Problem is when I click on the submit button it opens me B.aspx page in new third window How is it possible to not open new window on submit button.

View 3 Replies

Web Forms :: Page Reference With Window.ShowModalDialog?

Feb 13, 2011

I have created 2 webpages call Default.aspx and Detail.Aspx. On Default.aspx, i had written a javascript to popup Detail.aspx through windows.ShowModalDialog.

Now how do i get reference to Default.aspx page within detail.aspx ? (like in Server.transfer function, i can just call this.Page.PreviousPage).

Reason for getting Page Reference rather than value reference, is, i can call all property and class within default.aspx.

View 5 Replies

Web Forms :: Reload The Parent Browser Window From Client Browser Window In Codebehind?

Sep 27, 2010

Im calling the new popup window from gridview like

[Code]....

In the AddTargetPopUP.aspx ,I have button Call "ADD".When i click the add button it'll insert datas into database.I want to reload the parent gridview after insert into the database and want to close the popup.

View 4 Replies

Best Way For Cross Browser Applications?

Apr 2, 2010

In our organization, we are still on .net 1.1 environment, using javascript, a few open source applications/widgets. Development is done using Visual Studio 2003, grid view, and iframes. Our application works in Internet Explorer 7 and IE 8 (in compatibilily mode).give any basic steps we can take to get our application to work cross browsers? What are the starting locations we can get at to start making existing code work in different browsers?

View 5 Replies

C# - How To Create Cross Browser Custom Control

Feb 16, 2010

I'm goingto create an asp.net control which should be cross browser. and support some skin - multilanguage and rtl & ltr support.

View 3 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

Web Forms :: Cross - Browser Compatability And Styling?

Jan 27, 2010

I'm trying to use WebParts and I'm about ready to pull my hair out due to a couple of issues:

1.) Whenever I open my page up in Firefox, the dropdown that holds the verbs is being rendered as a row of hyperlinks across the top of the title bar. Since I put in custom verbs, this makes a single part as wide as the page and look terrible. How do I fix this?

2.) Are there any resources out there that show how to restyle the chrome and the drop down list that has the verbs?

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

Cross Browser - Site Mobile Phone Support?

Jan 16, 2010

I need to make my site work well on a blackberry, i haven't put too much effort into getting this working yet, but i have a few questions which google is struggling with.I've read about detecting brower type and modifying the default behaviour of asp.net controls hereHow would I go about supplying a differant stylesheet to a specific browser, should i just do this?

if (Request.Browser.Browser.ToString() == "blackberry") //pseudocode
{
Response.Write("bb.css");
}
else
{
Response.Write("bb.css");
}

This will work fine, but i feel like there is a better method, i'm sure i've read about something in the past but i can't seem to recall.I'm also considering a response.redirect to a differant page for a blackberry, which at the moment i would implemenet in a similar way.

View 5 Replies

Cross Browser - Is It Possible For Clients To Disable/disregard A 301 Redirect

Jan 23, 2011

I have 2 domains that resolve to my web site www.mysite.com and www.mysitecommonmisspelling.com, plus the IP address. I have some code in my Global.asax file that was intended to force all users and crawlers to only use the main domain, like so:

Protected Sub Application_BeginRequest(ByVal sender As Object, ByVal e As System.EventArgs)

'If the domain isn't the correct top level domain for this environment,

'we want to do a 301 redirect to tell the search engines that this is not the right domain to

'index.
Dim Host As String = Me.EnvironmentHost
Dim CurrentHost As String = Request.Url.DnsSafeHost[code]....

I checked and Google has not indexed any pages on www.mysitecommonmisspelling.com, so they are apparently respecting the 301. However, a few days ago we had a customer on our site who got free shipping because the licensing code that is only registered for www.mysite.com failed (in other words, the browser was able to access www.mysitecommonmisspelling.com). In the past, we have had issues with the 3rd party shipping component because users were able to access the site using the IP address.

In any case, we don't want users to be able to access the site without the correct domain so the SSL certificate doesn't complain.

I have searched for a way to disable 301 redirects in IE7, but there doesn't appear to be a way. So, what I am wondering is if there are any browsers that can disable 301, and if so what kind of workarounds can I put in place to ensure all browsers on my site are going to the main domain, www.mysite.com?

View 1 Replies

Is There A Cross-browser Way To Use A JQuery Selector On An Expando Property

Sep 2, 2010

I have an ASP.NET page and I am trying to quickly match the validation controls that are tied to a particular textbox (text input) using a jQuery selector. The validation controls render as a span and the "controltovalidate" property renders as an expando property. Here is a test example:

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript" src="jquery.js"></script>
</head>
<body>......

The problem: the ml_test() function shows 1 in Internet Explorer 7 (as expected), but shows 0 in Firefox 3.6.8. I tried adding additional controls, but in Firefox it consistently doesn't work.

I discovered this post that shows the use of an ampersand in the selector like this [@expando=value], but when I try this syntax, jQuery 1.4.2 throws an error.

Is there a cross-browser way to select expando attributes, and if so, what is the proper syntax?

View 2 Replies

Web Forms :: Freezing First Columns And Their Headers Cross Browser

Jul 19, 2013

I Have Page That Have GridView This GridView Have a Lot Of Rows my clients Want To Freeze The Fisrt column and curresponding header(For Horizontal scroll), and I tried below code

CSS
div#div-datagrid {/*style="height: 382px; overflow: scroll; width: 100%"*/ width:100%; height:382px; overflow: scroll;/*scrollbar-base-color:#ffeaff;*/}/* Locks the left column */ td.locked, th.locked { position:relative; cursor:default; background-color:White;/*IE5+ only*/ left:expression(document.getElementById("div-datagrid").scrollLeft-2);}

[Code].....

View 1 Replies

Multiple-target Cross-browser Drag& Drop File Upload?

Dec 20, 2010

We're investigating if it's possible to have the following: A webpage with multiple 'folders' to which a user can drag & drop a files. It's meant to be used as an interface to upload scanned documents to an archive. For example, we would have page that states: 'Quotes', 'Invoices' & 'Misc'. Depending on the sort of document the user would drag & drop the file from the local file system to one of these three folders. It should then upload the file to the correct folder on the web server

View 2 Replies

Forms Data Controls :: Freezing Datagrid Header - Cross Browser Solution?

Jan 12, 2011

I have a datagrid and vertical-horizontal scrollbars in it. now when datagrid will have more records , scoll bars will be provided. now when i scroll vertically , my header line of the datagrid is also scrolling so i wanna freeze it. i have used javascript to freeze it , its working in IE properly but there is problem with other browser.

i used this :[URL] but its not working in other browser.

View 11 Replies

Web Forms :: Use "Window.Open" Method To Create A New Browser Window From C#?

Aug 25, 2010

I using VS2008 and C# for an ASP.NET web application. From within C# code, how to use the "Window.Open" method to create a new browser window? I know it can be done in ASP script code using Javascript but I would like to create new window from C# as desired.

View 11 Replies

Web Forms :: Open A New Browser Tab/window Using C#?

Oct 11, 2010

Is it possible to Open a new browser tab/window using c#. I have query string info I don't want to put in a hidden field due to it showing on the client side. I do save the data in ViewState and encrypt the viewstate; however, I don't know how to access that information on client side.

I can access the viewstate data fine on Server Side but I need to open the new browser window on server side in order to access the ViewState. I may be wrong. Is there a trick to this?

I did find a way; however, on any other click after the initial click everything goes to a new window:

Control:

[code]....

View 1 Replies

Opening Pdf File In Browser Window?

Feb 19, 2011

I'm retrieveing pdf file from SQL Server 2008 and i wish to display it in new browsers tab. I successfully retrieved and displayed pdf document when i had pdf viewer installed.

My problem is, that after i unistalled pdf viewer, i got this window, which would be ok if the file wasn't WebForm2.aspx but let's say MyDocument.PDF

Am i doing something wrong? How could i achive that the file would be FileName.pdf and not FileName.aspx (in case of no viewer).

vb code (i can provide c# on request)

[Code]....

View 14 Replies

Opening A New Browser Window With A New Session ID?

Apr 15, 2010

I need to open a second browser window or tab, but it must have a different session ID.

Opening the new browser window from an ASP.NET page is easy, but then it shares the same cookie and thus session ID with the original.

View 3 Replies

Web Forms :: Open Up New Browser Window With C#?

Mar 9, 2010

How do you write C# code to open up a New Browser window with for example [URL]

View 4 Replies

Response.Redirect In New Browser Window

Aug 31, 2010

protected void ddlPrint_Changed(object sender, EventArgs e)

View 4 Replies

Web Forms :: Get Value From Popup Browser Window?

Jun 28, 2010

i am writing an application, and i have a link on a page that opens its url in a new browser window. on this new window, i have an asp.net gridview with radio button on each row and each row has a staff_id, and staff_name column, and the gridview has datakeys as staff_id, staff_name.

my question is that i want to be able to select a row (using the radio button) and when user clicks a button on the new window, and i want to populate two textboxes on the parent window with the staff_id and staff_name values from the selected row(in the popup window), and if possible close the popup window.

View 1 Replies







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