How To Force Browser Work Offline
Apr 8, 2010Is there a way change the settings of the web broser to "Work Offline Mode" ? or the only way of doing it is to install activeX that doing so?
View 2 RepliesIs there a way change the settings of the web broser to "Work Offline Mode" ? or the only way of doing it is to install activeX that doing so?
View 2 RepliesI am looking for a way to distroy the ASP.net membership session for a specific user. The reason I am doing this is as an admin I want to delete a user. This works fine, but if the user already has an active session, he is still marked as "online" until this session dies (I verify each time by using Current.User.Identity.IsAuthenticated). How do I go about killing a session based on the user it's authorized as. This way when I do Memberships.DeleteUser(username) I can also do Sessions.KillByUser(username)[URL]
View 2 RepliesI'm building an app which is subscription based, users can login to a website an use it as they. I would also like them to have the option to work with it outside of the browser and even offline. The app itself is not dependent on online resources, only the authentication is done via forms authentication. What would be the best way for me to make offline authentication possible?
View 1 RepliesI have an application build using asp.net in sharepoint platform, however the paging and sorting features in gridview failed to function properly in Offline Explorer (Metaproduct) environment, an offline browsing software.
View 1 RepliesI want to develop a utility where user will insert new Records and also the same application should work if user is not connected with internet.When user wants to submit records only that time he required to connect internet.
We have created one sample application using excel where we use Dropdown, Textbox, Label.User will download excel file from website and filled up details. When user wants to submit all details only that time internet is required. Application will insert value from excel file to server using WebServices when user click on submit button.
Above is working file but it's increasing our work because we are creating website and also Excel project (Almost double work). I want something where we can utilize the code for online and offline application.
I wanna to use web broswer control with mozila firefox instead of IE.
how can i do that?
How can we force a link to open a URL in a different browser?
e.g. A link in IE webpage to be open in Google Chrome window.
I have a button event when forces a download to the users browser, but I would like to know whether there is a way for the download open in a new sized browser window. Is there away to do this?
View 5 RepliesGoogle Chrome is my default browser. however when i run VS 2010 it opens the page in Chrome. I want to force VS 2010 to open it in IE. how it can be done without resetting IE as my default browser ?
View 1 Repliesi have to implement a requirement that's kind of weird for web apps (intranet web app).
after an user login to the app, the user may press Ctrl + N to open the current page in a new window. this sounds perfectly normal except the business requirement is to prevent users from doing this. users must logoff before they can access to the app again with a different browser window/tab.
Possible Duplicate: how to force textchanged to work onblur?? Actually i want to do tabbing in a Gridview rowwise i have done it. Problem is that i have done by using onTextChange event now whenever I have to tab away. I have to text and then enter the tab, then only it works and my requirement is that tab should be done for without entering the text also So as i'm having all the code i want to forcefully do this onBlur event. ???
View 1 Repliesactually i want to do tabbing in a Gridview rowwise i have done it.Problem is that i have done by using onTextChange event now whenever i hav to do tabbing .i have to text and then enter the tab,then only it works and my requirement is that tab should be done for without entering the text also So as i'm having all the code i want to forcefully do this onBlur event. ??
View 1 RepliesAssume a simple aspx data entry page in which admin user can upload an image as well as some other data. They are stored in database and the next time admin visits that page to edit record, image data fetched and a preview generated and saved to disk (using GDI+) and the preview is shown in an image control.
This procedure works fine for the first time however if the image changes (a new one uploaded) the next time the page is surfed it shows previously uploaded image. I debugged the application and everything works correct. The new image data is in database and new preview is stored in Temp location however the page shows previous one. If I refresh the page it shows the new image preview. I should mention that preview is always saved to disk with one name (id of each record as the name).
I think that is because of IE and other browsers use client cache instead of loading images each time a page is surfed. I wonder if there is a way to force the client browser to refresh itself so the newly uploaded image is shown without user intervention.
How to force Refresh( F5) conditaionally wehn the pages meet new design.
HOW TO Force C#/ASP.NET to not rename input elements to work consistantly with Form.GetValues.
ASP.NET changes the "name" property of input elements set with "runat=server" to match their ID property at run time. This causes server-side calls to HttpRequest_Page.Form.GetValues to now be able to get the expected Form element.
Example:
.aspx page...
<input type=text id=txtMY_NAME name="MY-NAME" runat=server>
<input type=hidden id=hidMY_SECRET name="MY-SECRET" runat=server>
.aspx.cs file:
string csNAME = HttpRequest_Page.Form.GetValues("MY-NAME"); // Fails...
string csSECRET = HttpRequest_Page.Form.GetValues("MY-SECRET"); // Fails...
The reason why this fails is because ASP.NET changes the "name" properties of these controls to match their "ID". Thus at run time they become as such:
.aspx at run-time
<input type=text id=txtMY_NAME name="txtMY_NAME" runat=server>
<input type=hidden id=hidMY_SECRET name="hidMY_SECRET" runat=server>
I do not want ASP.NET doing this. I do not want to change the naming convention of my id properties either. In fact, I need the ID to be different than the name, as I use client side script to change/create/delete controls on the fly.
What can one do?
I'm tring to implement what Steve Souders discusses [URL] about forcing gzip compression
I've got a module that's running this:
[code]....
CompressionUtils.GzipSupported just checks for the 'accepts-encoding' header while
CompressionUtils.GzipSupportedExplicitly and CompressionUtils.GzipNotSupportedExplicitly check for the cookie saying whether the browser really can read gzip
But when I load a page in Firefox I get this error:
Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
and in Fiddler it shows that the content-encoding header has been added but the content hasn't been compressed
i've log-in page in my site but log-in control doesn't work on any browser other than IE.
View 1 RepliesI use AutoCompleteExtender control in an application. When user types an account name to pull a report, the auto complete control lists the top 40 account names from database, user is able to select an account name or type exact account name to pull a report.
It works fine on regular browsers. But the auto complete function does not work on blackberry browser. No error message either. If user types an exact account name, a report can still be pulled. But if a user does not know an exact account name, no data will return because that wrongly typed account name does not exist.
Does somebody know how I can make auto complete work on blackberry or does somebody know any alternative method?
I ceareted website asp.net .in internet explorer 8 works fine , but it does not work well firefox . I'm using ajax toolkithow to compatibility the asp.net page work with all browser types e.g (firefox,opare,.... etc)
View 2 RepliesWhen i disable cookie at browser level will 'Form authentication' still work ?.If not,What is the alternative that enables the 'From Authentication' ?
View 2 Repliesdisable working browser back button in code behind in c# or java script.
View 2 Replies i have a page, when the page loads, nothing shows up, when i pass the querystring on the browser as [URL]
I want it to work when the page load not when i pass the querystring on the browser.
Here is the code:
[code]....
[Code]....
[Code]....
[Code]....
How to prevent browser from caching image, Trsponse.Cache.NoStore didn't work
I know there is somthing for asp.net 2.0(App_Offline)... that one can create to make apps not accessible during maintanance or someother stuff... Is there something of that nature for Asp.net 3.5 ... And i am using Microsoft Visual Web Developer 2010...
View 2 RepliesSometimes we need to do maintenance in the web server.
In the period of time that this maintenance occurs, I want that a user-friendly page be displayed to anyone that tries to access our apps.
I know about the app_offline.htm file. But using this "trick" I would need to put a file per web application in the server, right?
We use IIS 6 and 7, running classic ASP, ASP.NET 1.1, ASP.NET 2.0 and ASP.NET 3.5 apps.
So the question is: Is there a better way of doing this?