For somme reason, when I preview my webpage in my browser, there is no error but if I actually uploade it to my server and go to the webaddresse, it has an error. If it's helpfulle, here is the error. [URL]
I am using the following code to ensure that the web pages in my website are not cached by the browser:
this.Response.Expires = 0;
this.Response.AppendHeader("Pragma", "no-cache");
this.Response.Cache.SetNoStore();
This is working fine & the browser displays a page with the message, "Warning. This page has expired....". Is there any way I can display a custom page instead of the default page shown by the browser?
I'm learning web design at the moment (by myself) and using Visual Web Developer Express, and I don't know if this is my fault or not but the preview in the split mode does not match the preview in the browsers (Firefox, Chrome and IE). I'm hoping that an experienced designer/developer would be able to confirm for me that as long as it's displaying correctly in the browsers, all will be ok. If not, how am I to fix this?
I'm using Visual Web Developer Express 2008 and IE8.
When I preview a page from my website ("my-site") in a browser, I'd like to be able to click to other pages in the site. But when I try I get
[Code]....
I'm not getting any build errors, but it seems like Visual Web Developer is only building the page being previewed. I tried building and rebuilding the site before previewing, but without solving my problem.
Am I doing something wrong? Is there any way to build the site so I can click around the whole site in a browser on my local machine? Or does Visual Web Developer only build a page at a time?
i hve created xsd files for reporting services & which was working fine till few days back currently when the application was executed i get the results output only problem is when i open xsd file & try to configure or prieview data i get the below errors
--------------------------- Microsoft Visual Studio --------------------------- X_._LEAVE.Fill,GetData () could not be previewed. Unable to find connection 'ConnectionString' for object 'Web.config'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded ---------------------------
I have a simple web page as below named eventviewer.aspx. I host it in a server under the default website and when i browse it from the INETMGR it opens and displays teh events.
But when i try to open it from another machine, by reqyestiung the page, it just shows the heading and not the grid. Can you provide some inputs??
I downloaded a version of VS 2008 Professional and installed it on my laptop. Everything seems find until I build it hit view in browser. Then I get 'Web page could not be found'. I'm thinking I must have some setting wrong but I couldn't begin to determine what it might be.
i want to protect webpage from saving from browser file->save as. i found some sites did it(facebook,orkut). when i try to save pages on that sites only home page saved. how to do this in c#
Hi thanks for your effort in trying to reply for my post.I know how to add an asp.net menu to a master page, But its not so neat and i am trying to add a menu which is similar to
Its a Html page and not an asp page, i tried adding the menu, style sheet, javascript to my asp.net master page page by making some alterations to the code but it didnt really work. I.e. it dosent fit in well with the other components, the components below it are being pushed away to the right and i have checked the css several times but nothing is obvious.
I was wondering if there are any specific changes that needed to be done in order to accomodate it.I would be happy to paste my code if somebody would like to observe and point out why addng the menu is causing imbalance to the page .
Am using a image cropper(custom control)what i need is i have to copy the cropped images and then save it wherever i want in local system (just like copy/paste in windows folders)..also need to copy the images from system and paste it to web page
My requirement is that I have a few hyperlinks on a webpage and when the user clicks on these hyperlinks I should redirect the user to an asp.net web page(Default.aspx) in a different website.
For the 1st time when the user clicks on one of the hyperlinks it will launch a new browser window with the Default.aspx loaded and then if the user clicks on some other hyperlink I want to redirect the user to the existing browser window(in which deafult.aspx is already loaded)with the content related to this particular hyperlink loaded,instead of launching a new browser window/tab.
But I am not sure of how to achieve this.I wonder if I can add some js to the asp.net Default.aspx page to achieve this.
whenever i needed to test my web site, i used to press ctrl and f5. i recently installed installed iis service. kept an html page accessed it from host kept an fully developed default.aspx page in the www directory tried to access gave error of XML something....that means i can only use HTML pages, ? so what to do if i am using c# asp.net? current i do not have the computer with iis installed so i cannot post the exact error message it was something like can not render XML (then it said something like unknown line)
I am using visual studio 2005 and 2008.when i Right click and select view in browser in VS 2005,it is opening same web page twice.Can any one say why it is opening twice.
to get out of this hell i used to remove inherit attribute in Page Directive.After that it is showing compliation error???How to solve it ???? what i have to do for the page compilation problem and page parser error tooo?????And 1 more thing is i had written the code of a button1 click event k after after i had opened that project if i double click on that button i am going to inline coding.. How to solve it..Even though i took 1 button in that button events i doube clicked on a event still there is no use...I am redirecting to inline coding.