.net - Prevent From Misclose Browsers?
May 29, 2010
I have a Web Application and I want to get a confirmation from users when they are closing the application no matter what.
I mean I'm looking for a way to display a message touser whenever user try to close the application.
Update : I want to use my dialog box not browsers dialogbox. r at least a dialogbox which only shows my message no extra message.
View 1 Replies
Similar Messages:
Jan 25, 2013
I have textbox in my page that I put this attribute for it TextMode="MultiLine"..here user can change width and hight of textbox with mouse..I couldn't find any attribute for textbox that din't allow users to change width and hight of textbox.
View 1 Replies
Oct 29, 2010
I get different outputs in different browsers.
[code]....
View 1 Replies
Feb 18, 2011
I am trying to use domain masking to simulate multi-tenant access to my application. The plan right now is to read the subdomain portion of the domain ie: [URL] and load settings from the DB using that name.
The issue I'm having is that request.url is getting the request url - NOT the url in the browser.
So if I have [URL] forwarding to [URL] with masking, request.url is grabbing the latter, simply because of how masking works, i assume - by putting the masked site inside of a frame.
Is it even possible to read the url in the browsers address bar?
View 1 Replies
Aug 5, 2010
I am designing ASP.net Web pages and not sure if this would be the right way to do this.I am designing the web sites that will be accessed from either regular computers or mobile devices (phone).I was thinking to detect at very first page that whether users are coming from mobile browser or regular browser and direct to appropriate pages. So for mobile users, create/display separate UIs (rearrange controls to fit on mobile device) and for regular users, create/display separate UIs. The backend functionalities will be same, but just the UIs. Therefore, in this case I will create two separate projects in same solution, one for mobile UIs, and other one for regular UIs, but same code behinds.
View 3 Replies
Dec 9, 2010
I had bad problem I had table in database which display images for products the data type of model image VarBinary(Max) when I published new web site and tested the pages on sararie,firefox,IE8 the image in some of images appeared with small size from the original on image size
View 2 Replies
Jun 28, 2010
What is the best way to respond to browsers that have a small form factore (ie mobile devices)? Is there a way to have it return a different aspx page if the size is below a set number?
View 2 Replies
Sep 17, 2010
So I'd like to redirect mobile users to a different page. But instead of trying to detect any number of mobile browsers, I'd just like to see if the user is using IE, Firefox, Safari, Chrome, or Opera; all other users go to the mobile site. My biggest problem is detecting regular Safari from mobile Safari.
View 1 Replies
Jun 12, 2010
Upon my study in ASP.net i came across something very weird. Earlier this day my application ran fine in Firefox and Internet Explorer.
When i now try to debug my application it wont pop-up in both. When looked more deeply i saw that it didnt load the right port, is there a way to fix this so i dont have to check and change it manualy all the time?
View 5 Replies
Dec 19, 2010
i'm programming an application where an action is done if i access with a version equal or higher than other and another action if i access with a lower version; but the problem is that the lines to indicate the versions doesn´t work. The code is the following:
[Code]....
As you can see, an action should be done if the version is the 9.0 or higher and other if it is lower, but these lines doesn't work and only works the detection of the web browsers (no the versions of them, action that doesn't works).
View 2 Replies
Aug 4, 2010
I realize that pages are just going to look different in varying browsers, but mine is looking awesome in Chrome, ok in mozilla, and pretty bad in IE 7.
Sadly, most people using my page will use IE.
My issue is with the borders. I have a redish border around the rows of the grid. In chrome they all appear as they should. In Firefox the bottom and top of each row are working, as well as the right and left of the outside columns, but all the inner columns do not have vertical borders.
In IE, all the borders are missing. There are simply white gaps between my columns and rows.
EDIT:
<asp:GridView ID="ProductsGrid" runat="server"
AutoGenerateColumns="False" Height="323px"
style="margin-top: 23px; margin-left: 0px;" BackColor="White"
BorderStyle="None" BorderWidth="0px" CellPadding="4"
[Code]....
View 1 Replies
Jun 10, 2010
I just ran Google's Page Speed application against our site and one of the recommendations was to Leverage browser caching. Expanding this revealed the following:
The following cacheable resources have
a short freshness lifetime:
Specify an expiration at least one week in
the future for the following resources:
<a long list of images >
<some javascript files >
How do I go about lengthening the "freshness lifetime" of particular images?
It's an ASP.NET project running on IIS7.5
View 2 Replies
Feb 18, 2010
ASP.Net Session is having same value for differnt browsers....Why is it so?
View 3 Replies
May 17, 2010
I have my website up and running, and i've got many respones from surfers that the Accordion object that I have on one of the pages won't openpanes. I geuess that it got something to do with old browsers or security settings, but I'm not sure which. Besides, assuming that it does has somethingto do with old browsers to bad settings, what can i change in the Accordion's settings to make sure it will run on old browsers as well?
View 1 Replies
Jan 18, 2010
We have our site which user accesses from desktop browser as www.domainname.org now I am working on mobile version of the same. I came to know that some mobile sites have URL as [URL] so i thought of making our site as accessible from both domainnames I am using WS 2008 & IIS 7.0.
View 3 Replies
May 17, 2010
I want to rotate the text vertically in all general browser. I find some solution, but it works on some broswer and not on some browser. how to rotate the text vertically in almost all the genral broswers.
View 1 Replies
Jan 7, 2010
I'm getting an error in all browsers with the ComboBox that in IE causes the user to not be able to enter data into any other field on the form. In Firefox it just throws an error but doesn't cause any problems.
The error is this:this.ajax__combobox_prototypes[i]._popupBehavior is null
View 1 Replies
Oct 15, 2010
I have run into the problem where my css files are being cached in browsers. This is a fairly common problem, and a common solution is to simple add a version number in the url to the css file. Example: MyCSS.css?ver=1.12
However, I'm using a custom skin for DotNetNuke which forces the usage of the file: skin.css
I don't have a way to point browsers to skin.css?ver=1.12 (or at least I'm not aware of a way)
Are there any tricks I can play with IIS, DNN, or ASP.NET (default.aspx file for DNN perhaps?) to force clients to reload CSS?
View 1 Replies
Jan 6, 2011
when the developer designs the UI/web page then some times it will not display same in All Browsers so the developre what precautions or patterns or follows certain document to avoid these problems.as a developer i am asking this question because my page is not displayin properly in IE6 and in Navigator so what steps i have to take for the UI webpage so that it should be seems good and perfect output for all the Browserssome times css will not work in all browsers and sometimes controls position,sometimes javascripts .so i need a docuement so that which i can follow to avoid this problem
View 2 Replies
Apr 9, 2010
We are creating an web application in VS 2008 to be used in smart phone. We are not using any MOBILE templates. The issue we are facing is the controls get to the top left corner of the page and is so tiny in other browsers but NOT IE. We have to ZOOM in the page to read the text and the access the controls. In IE it gets to the controls to be viewed. (We had issues here too, but not sure what fixed, but now it gets auto zoomed). Any lights on what need to be done to acheive this?
View 1 Replies
May 15, 2010
At my current place of employment, a university, we are going to take a stab at making a mobile browser-oriented section of our web site. I was wondering if anyone could direct me to some good resources that they know of for such a thing. Primarily, names of books would be nice, but any kind of resource at this point would be extremely helpful. We are approaching this as more of an HTML project at the moment, so the resources don't need to be Asp.Net based, but such things would be great too.
View 4 Replies
Oct 15, 2010
in ASP.NET application, how to design the pages in such a way that they are displayed properly in both IE6 and IE8 browsers? I would like to minimise the CSS work that I need to do if there are any general guidelines to follow which will work in both browsers. I may still need to tweak here and there, but I want to reduce bulk of the work.
View 3 Replies
Feb 21, 2010
having consistency problems between the web browsers and im pretty sure its gotta be something in my code.Website displays correctly in chrome yet in IE my content placeholder has alligned itself to the left and the errors message shows in the bottom left corner.
http://www.drpcni.com/test/deafult is an example.
It happens in all of my pages so im thinking it could be something that is placed in my master page. Below is the code from my master page (I know its probably awful use of code but im new and learning)
[Code]....
other pages that show this error are:
http://www.drpcni.com/test/Login
http://www.drpcni.com/test/Offers
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
View 3 Replies
Jan 21, 2010
I got a task from my boss to do a email previewer for different mails/browsers/clients. How should approach this task? How is such a thing done?EDIT:A tool to see how an email will render in different email clients
View 2 Replies
Nov 6, 2010
We have a windows 2003 webserver which hosts .NET applications. Since last Microsoft security updates formsauthentication on all websites works only on non IE browsers? Before the update we experienced no problems.
View 2 Replies