I have win 7 with internet explorer 8. I have a Web application project in the VS2010, when I execute it using local port auto-asign port, the aspx page shows ok on the internet explorer. When I run the same project from the IIS (Browsing the aspx page from the iis), only the controls text is displays without the controls (colors and menus) - although the source view shows that the tags exists. Is it a problem with the IIS 7?
I am unable to browse a simple asp.net page from a remote PC through the IP address of that computer. However IIS is responding on a local computer with http://localhost and even when I type the local computer's IP address where the page is present. Computer is running XP and IIS 5.1. The message displayed on browser is "The server is taking too long to respond" however the page is just "Hello World" which displays local time.
I know that there's a lot of free open source blog engine out there such as BlogEngine.NET.However that's an overkill for my purpose.I so far has created my own simple one by storing posts in a .xml file and so every time the main page loads it reads from all those xml files and displays it as posts.Now my problem is when a user clicks on a post title I want it to show on a new page(.aspx),so if the title is X then I want a new page called X.aspx when the user clicks on the title on the homepage.I hope this makes sense.My question is how do I create such thing?
The cart does show up on the default.aspx page when I click add to cart. How do I get the cart to show up on the ViewCart.aspx page?
For now the cart does show up on the defualt.aspx page. I need thecart to show on the ViewCart.aspx page also.Also if you look at the defualt.aspx code I wanted to declare a Demcimal TotalPrice variable. I want to use it to get the running total of the Price variable. I assume the correct syntax would be Decimal TotalPrice += Price. I keep getting an error. Don't know why.
Here is my code for the Default.aspx page :
[Code]....
Here is my code for the Cart Class (Cart.cs) : [Code]....
Here is my code for the ViewCart.aspx page :(Have not inserted any code as I am puzzled on what to do)
I noticed a behaviour in Visual Studio that the design tab for aspx page does not work if I use a dynamic master page using a base page. I dynamically set the master page to implement theming. It shows a master page error and says "The page has controls that require a Master Page reference, but none is specified".
Is there any solution? Or any work around?
I currently set the base/master page to a default master page in the page for myself and work on the page. Once I complete the page, I remove the master page attribute. I wanted to know if some better method is available.
I have not add any .NET code yet. However when I try to browse to this page, I get a 404 error. I can browse to .HTM files fine, but .ASP file seem to lock up.
I would like, as administrator, list all users currently browsing the web-page (some id or something would be enough) then, what I need is to connect to that user and see what he is browsing. I have a class in my web-application, lets call it Node, in wich I store data what user is browsing. So which page he has clicked, so the next time he visit the same page, page is not rendered from db but from that Node. Is that even possible?
I sent a lot of time trying to trouble shoot IIS 6.0 yesterday on a pre-compiled website. I could never browse the default web page. I got the initial bar on the bottom right when I set up the site but then got a blank page. The I got frustrated with IIS and decided to try just copying all my web application files to the IIS server. When I did this the application worked! I have used pre-compiled sites before with no problem.
I've setup this <asp:FormView> to read from an XML file which I created, however I noted that although the .xml file has two <article> </article> tags, the data control (FormView) only displays the first item when enabling pages.Is this a bug or am I missing something out?Source code vailable here.NOTES 1. XML file is valid according to this page., although, I still have to find out an appropriate XSLT format
How can I call a public property declared on a ASPX page from a different ASPX Page? Is that possible? It is a website project. How can I get/call this property from a different aspx page? I have attempted this from the other page, but it is not recognizing the partial class: private Test_Default _test; It does not recognize the "Test_Default"
Here is my scenario.In default.aspx page user selects the country, state, city from drop down list, and store them in cache for further use. but when other user open the web site from other computer it shows the same country, state, and city selected by user 1. Is there any problem related to cache? I have stored data as following.
cache["ctryID"] = ctryID;
cache["stateID"]= stateID;
cache["cityID"]= cityID;
I want to show default country, state , city at page load of default.aspx
I've a page main.aspx. This page has a button 'Settings'. When it is clicked, I load another aspx page settigns.aspx in a popup. Now in the settings.aspx i allow the users to add controls dynamically. For example the user can create 5 textboxes. When he saves it there, I need to get that controls to main.aspx.
So i need to move all the controls from one page to another page. I'm not able to think of a solution with user controls.
I've a page main.aspx. This page has a button 'Settings'. When it is clicked, I load another aspx page settigns.aspx in a popup. Now in the settings.aspx i allow the users to add controls dynamically. For example the user can create 5 textboxes. When he saves it there, I need to get that controls to main.aspx.
So i need to move all the controls from one page to another page. I'm not able to think of a solution with user controls.
My Question is related to access the rows in one page and putting conditions in another page.I need to check whether a datagrid has row in it or not. DataGrid is in .aspx page. Based on this checking i need to write a condition in .ascx page.the .ascx on which condition is checked is linked to .aspx page. Meaning that UserControl1.ascx is Register with Default.aspx pageI am using VS 2003let me know if any input is needed from my side.