Web Forms :: Shows Application When Clicking On Browsers Back - Disable?
Feb 8, 2011After logout from my site,when i click on browsers back,it shows my web application.How to disable it?
View 6 RepliesAfter logout from my site,when i click on browsers back,it shows my web application.How to disable it?
View 6 RepliesI have a asp.net 2.0 app. It is using its own application domain. My application has an image on the following page:
[URL]
There is an image on the following page on the bottom right which DOES NOT show in IE. But it shows in other browsers..
Here is the image: [URL]
I am stuck. I changed the application pool in IIS7 windows server 2008 web edition to use network service identity but it is still not working.
I use my own CMS to upload this image. The image is saved to a folder.(dynamicdata/images).
I have a problem of posting back in my website in some browsers. The Problem is: When I am uploading a file using file upload and button or posting page back on some event click after button click I am using:
ClientScript.RegisterClientScriptBlock(Me.GetType, "AddData", "alert('" & f_u_devideo.FileName & " Uploaded Successfully');", True)
But after that the page not not load again and a blank page comes in some browsers
I Have Print Screen Disable For IE, I Need To Disable Print Screen in Chrome, FF, Opera, Safari ....
View 1 RepliesI am using a DataList to display records from SQL backend in ASP.net 2.0 Framework 3.5. In the ItemDataBound I am setting up a Hyperlink's URL and enabling/disabling it based on data.
The HTML is as follows:-
[Code]....
and in the vb code:-
[Code]....
This is all working correctly in IE, but in Opera, FireFox and Safari while the Hyperlink works, the control is not disabled if Stk.Docs = 0.
I have a modal popup window in my web application, I placed a dropdonlist in the panel, when the user select some items from the dropdownlist I need to show a text in the label in the same panel,I set the Auto PostBack for the dropdownlist but its not showing the text in the label, actually its not gettign postback.
View 1 RepliesI set up my web site to use SSL encrption and I set the settings in IIS to ignore client certificate. But when i access the web site from a client browser, it still shows "403" error.
View 1 RepliesI have a portal site and i want to make the backward button to disable state after the user gets logout.Is it possible by C# programming?Or we need to go for client side scripts like Javascript or jquery?
View 3 RepliesI have a portal site and i want to make the backward button to disable state after the user gets logout.Is it possible by C# programming?Or we need to go for client side scripts like Javascript or jquery?
View 1 RepliesI would like to disable dragpanel functionality using javascript yet only IE seems to work. If anyone knows how to get this to work across multiple browsers.
This is the aspx:
[Code]....
Currently I have no way of accessing the DragPanelExtender directly using javascript as it keeps returning null. If I disable the extender in the code behind from a partial postback it works fine, but I want to remove this partial postback and do it all in javascript. This works in IE.
[Code]....
With javascript, how do I check for a user clicking the back arrow in a browzer?
View 5 RepliesI have this issue i have been looking at for a while and cant seem to figure it out. I have two ddl's on my page and a InsertCommand from sqldatasource. My InsertCommand is actually updating the foreign key of the two ddl's in another table. When i click on my button it shows two numbers instead of one. The challenging thing now is that i have
DDLName.Items.RemoveAT("itemName.SelectedIndex")
after the insert so it would not duplicate what i am updating. If i take this statement out of my code. it updates well as in showing the one record that was updated. if i put it back in there it shows two records where updated. I tested my sql statement and its working fine meaning it shows only one record is updating.
I have a form that works just fine, problem is that if user leave form open for more than 20 30 min and then click a button on that form the browsers status line shows "Error in page", user then must refresh the page in order for the page function.
View 1 RepliesI have a gridview that I have bound to a sqldatasource. However I have the gridview changing data shown per a drop down list and textbox so I can choose how I am searching.
My code includes changing the select command of the data source and rebinding the gridview.
My issue is that if I implement the edit button and click edit the grid view seems to resort back to the original select command that was entered when I created the datasource.
Is there any way to get the gridview to do what I want it to?
I am showing popup extender after click on ok button on popup ,i am navigating to another page. But after click on browser's back button( on toolbar) It is again showing popup again. i dont want show pop up again.
View 1 RepliesI have a link
<asp:HyperLink ID="BtnPrint" runat="server"
NavigateUrl="~/CrystalReportViewer.aspx" Visible="false"
Target="_blank" ToolTip="Print pdf">Print</asp:HyperLink>
I want that when I click to show it should be visible.. that's working... but I want that when I click to this hyper link it should be invisible or not enabled...
or is it possible to show page in new tab or window by using asp button or asplinkbutton?
I need to disable the Html.ActionLink() after clicking on it. Means i want to populate all the records from database after clicking on link but after populating hat link should be disabled.
View 5 Repliesi am having an mvc 2 application in which i have a form that contains two buttons
[Code]....
Now my requirement is to disable validation when the user clicks `Add` button. But validate when the user clicks `Save` Button.
I am currently doing asp.net page, I want disable back & forward button all the times the page opening/loading.
View 4 RepliesMy customer has a website that is unsuitable for children. Anyone under 18 is not allowed ont he site. No, it's not a porn site, it's prison related. A certain page requires the user to enter their birthdate. If they are under 18, they're redirected to another site.
He has another site written for kids who have been impacted by crime. He wants the kids redirected here, to a page that explains why they were redirected. He asked me to disable the back button at this point to keep the kids from easily going back to the original site.
I've read all the reasons why you shouldn't desable the back button, but frankly, I think this would an appropriate place to do it. I also know you really can't disable it, but I've found a number of work arounds - none of which I've gotten to work.
Is there a work around that will work?
I've thought of setting a session variable or a hidden field or an invisible label on the page that redirects the kids just before the redirect and checking the value at page load, but the code to do the checking doesn't get run unless the user hits the back button then refreshes the page. Is there a way to get code to run as soon as the back button is pressed?
I'm working on a mmorpg, but in asp.net u can go back a page, is there a way to disable this?Because that would be not convinient
View 2 Replieswe are making an application in asp.net(visual studio 2008). In this we have made a page in which we have a submit button. on clicking on this submit button we go to next page.on this next page we have a back button.we want that when we click on this back button then the values that we have entered in the previous page is preserved(i.e displayed on the controls in which we have filled).
View 2 RepliesI have a shopping basket on my site, and when the customer gets to the final page I don't won't them to be able to go back i.e. use the back button on the explorer. I have seen it before on other web sites, it's like when you leave the page it 'times out'I am just not sure how that works.
View 5 RepliesHow to disable back and refresh button. I want to know how this can be handled as in bank websites and other secured websites. Can this be handled using clearing cache in Response object?
View 8 Replieshow do i disable the back button in a website?
View 3 Replies