i have 2 servers one is a 2003 and one is 2008R1. I no longer use 2003 but still do testing on it, my issue is:Have asp files that list a directory on my web page for users to download files and it works great in 2003. But when i try it on 2008 (i can download txt) but i cannot download anything else I get a "cannot not display web page". I'm not sure if its a security issue on the server, the only difference is i have the wwwroot on the D: in 2008 and on the C: on 2003. Again i can download txt files but nothing else(on 2008R1).
I have seen numerous posts with this problem, however none of the solutions have worked for me. I am using asp.net 4.0 forms authentication. I have the following set in my config file.
The login.aspx page uses a master page and styles in a stylesheet located in a folder off the root directory called 'Styles'. I have also add the following to my config file.
When the page displays, the login page displays with the master page content, however all of the styles are missing. When I embed styles into the master page the styles show properly, so I know the problem is that the styles are not being accessed from the file. how I can authorize access to the stylesheet?
What is the cleanest way to display a web page inside another web page. Currently I am using an I-Frame. But are there any current controls in ASP.NET to do this efficiently?
I want to display a page (in some cases) without displaying the contents of that page's master page. This is for AJAX related purposes. How can I do that?
I have a web user control with DataList control in it. In my .aspx page, I have a report header, an empty panel as a place holder, a report footer.In my .aspx.vb file, I'll loop through a list of departments. Within each department, I'll load a label to display the department name and the user control for the data, and add both the label and user control to the panel. So there are two variables: the number of departments and the number of records in a user control.
Now I need to display the current page number and the total page number in the report footer. Is it doable? How? I'm thinking of this approach: declare a page variable count, count the number of department name labels and the number of records in a user control. When the total count reaches a number, such as 20, I'll break the page. This way, I can get the the page current number and the total number of pages. But how to add a page break to an asp.net page?
i want to display a page in page.example:i have Student Registration page. when ever i click on save button.that Record should be save ,apart from that another page should be display in the same.
if users press the browser's back button to reach the prior page..then page should display a message like "web page expired" in asp.net can i use javascript for this?
for example..
there are 4 pages in web sites. 1,2 and 3 can be back. but when the 4th page run then 4th page can not be back... when the user press browser's back button , diaplay ma message "weg page expired".
From database i load first data to detailsView with Id as datakey, ApplicationID and ProtocoleID as ordinary attributes for detailsviews, but datakey for each formview.
Once Detailsview loads, I wish automatically from every attribute ApplicationID and ProtocoleID of Detailsview to load both controls since the database.
How can i do that ? I think it's only programatically...
I have a master page which consists of a tree view and an iframe,the links(which are links of other aspx pages) to the tree view were added dynamically(not through database but hard coded).my question is when i click the tree view link i need to display the page in the iframe but i am getting it in a new window.there are about 20 links.I have written in the onselectednodechnage event some thing like this..but this event is not firing..
I am using this code which works perfect when I type username and the studentid in my textboxes in the first page.Now after pressing the button to go to the second page , the two labels display the values of the textboxes in the first page BUT when I am pressing a button in my second page I get this error :
Object reference not set to an instance of an object.
My code which is in the second page load event is :
I would like to design two web forms A and B and then display them as one web page? Is that possible? Conceptually the reason is that I would like to design small html stubs with some user controls and then display these pages in various orders as needed. So if I had 4 stubs, A B C D and the web page needs to see D and A in that order it would.
I have a project I'm getting ready to start and I want to see if anyone out there has any good examples or suggestions on how I would handle processing images. My company has about 10,000 images orgainzed in folders which I am planning on pulling into SQL Server. What I want to do is develop a web page where the end-user can select a folder which would then be scanned for photo / image files.
Each image file found would then be displayed in a column in a web page and the end-user would then select certain options for each image. Options such as where the photo should get stored in the SQL Server Database. My wish is to store the images in a number of SQL Server Tables in a field type of IMAGE. I'm using C# as my programming language.
I have a list view with details about some products, which is working just fine. However, I now need to set up a pdf generator to generate a stock list. To do this I am using abcpdf.
The only problem I am having is getting the results to fall across the pages nicely, but this can be sorted by inserting the code
[Code]....
which lets me put it every two records. How do I modify this to insert it every three?
I'm trying to allow the user to upload an image to the server (this part works) and display it on the next page (this part doesn't). I've got two files, imageuploadtext.aspx, which has the following code:
[Code]....
And the second file is imageloadtext.aspx, which has this short code:
[Code]....
As I said, the upload works fine and the file is received. But I can't get the source to display the correct image on the second page. Could it be to do with the fact the first page is VB and the second is C#? If so what code would I replace the C# with for it to work with VB? By the way, I'm currently getting a ";" expected on the image source line which I'm not sure where it goes, that might be it?
In my web application , I have an online application form which contain 4 sections.When I click next button in the first usercontrol for the first section,i need to display the second usercontrol for the next section. When i tried, first loaded usercontrol only applying the styles.
what logic i need to use here to display each usercontrol on the next button click. How to save the values of each usercontrol on the next button click?
well i want to develop a page where i can display the latest news from rediff.com and i know this can be doen with asp.net but i am not getting any result on google.
I am using wysiwyg to allow the user to enter HTML formated text, i am storing that in database and then i want to display that html in my asp.net page.
I have to put videos in my website.So instead of creating an individual page for each and every video, how can i use the id tag and sql server so that whenver user clicks on the video links the video played in a single page...