When I clicked on the Close button on the top menu, it asked me
"Do you want to save the changes in this form?"ÃÂ
How can I disable it ?ÃÂ ÃÂ I dont want my user to save this form
View Complete Post
i am developing a web application i want to sava a file using sava file dialog box pls give me code insted of links
See also these links:
My client requires that I display a .pdf file in an iframe and also that I provide a download link that will prompt the user with a Save-As dialog if they choose to download the file (I am aware that the .pdf viewer has a save button. The client requires the link).The .pdf file itself is on a secure server so I use a HttpHandler to transmit the file.The code shown below works fine to display the file in the iframe.However, when the user clicks the download link, the .pdf simply opens in a new window and does not prompt the user with a save-as dialog as intended.I am currently setting the ContentType to "application/pdf". I have observed that when I set the ContentType to "application/octet-stream", I am always prompted with a save-as dialog (regardless of content-disposition). However, the file the user is prompted to save is the .ashx file, not the .pdf file.I have stepped through my code and observed that content-disposition is be
Is there a way to make a modal popup panel active on page load so that the user can't do anything until they deal with the popup dialog?
I am trying to save values into a Profile on Page1, then redirect to Page2 and access those values. However, after the page redirects the profile values are blank as if they were never saved. When stepping through the code I can see that they are being save on Page 1.
I suppose I could use session variables to store the information but I don't understand why saving the profile doesn't work.
private void PayWithPayPal()
ProfileCommon profile = this.Profile;
if (Global.CurrentUserName.Length > 0)
profile = this.Profile.GetProfile(Global.CurrentUserName);
profile.FirstName = uxFirstNameShipping.Text;
profile.LastName = uxLastNameBilling.Text;
profile.ShippingAddress.AddressLineOne = uxAddressLineOneShipping.Text;
profile.ShippingAddress.AddressLineTwo = uxAddressLineTwoShipping.Text;
profile.ShippingAddress.City = uxCityShipping.Text;
profile.ShippingAddress.State = uxStateShipping.Text;
profile.ShippingAddress.ZipCode = uxPostalCodeShipping.Text;
protected void Page_Load(object sender, EventArgs e)
I am using google transliteration to display the text in Hindi/Tamiletc.I tried to store the text appear as Hindi from textarea in an nvarcharfield of database (SQL Server 2005) , the text saved as "???????".After retireving text from the same it display the text as "???????".Can anyone help me how to store and retrieve the actual data from SQLServer 2005?I am using ASP.net,VB.Net and SQL Server 2005
I have an application that does LDAP authentication. The authentication is done on the code behind page of my Login.aspx page. Once the user passes LDAP authentication, a cookie is set and I redirect:
I would like to setup membership in my application and keep track of some user information. But due to company security requirements, I cannot store user passwords on my application. That must stay on the LDAP server only.
Is there a way to store users but disable password storage on the aspnet_membership table?
Hi, I am using a IIS 7.5 on Windows 7. I have a simple application that uses System.Net.WebRequest to POST data to another URL (in fact, the server side URL is on my local computer and it is hosted in IIS 7.5).
1. The problem is the server does not save data from client although on the client side codes when I debug and I see the OK message return from the code line
response.StatusDescription; // this has value of "OK"
2. How can I debug the server code side where to receive the request from client side who posts the data ?
The following is the codes for client who posts data using System.Net.WebRequest, and codes for server side who received posted data to save to database.
Client side codes: // also run on my local computer
public string PostIntegrationXml(XmlDocument xmlSubmitDoc)
i am new to asp.net programming i am trying to create an ms excel file with charts drawn in it,
i wrote the complete code for it but the it is saying
i have set the permissions to my complete disk space and all user accounts, and i tried with anti-virus disabling also it didnt work please try to help me out and my code is :