Web Forms :: Cannot Not Display Web Page
Feb 18, 2010
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).
View 3 Replies
Similar Messages:
Dec 9, 2010
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.
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" />
</authentication>
<authorization>
<deny users="?"/>
</authorization>
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.
<location path="~/Styles">
<system.web>
<authorization>
<allow users = "*"/>
</authorization>
</system.web>
</location>
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?
View 2 Replies
Jan 28, 2011
How to Display Table like page by page breaks
I have seen this page-break-inside but dont know how to use it?
View 10 Replies
Jan 31, 2011
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?
[Code]....
View 1 Replies
Nov 16, 2010
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?
View 4 Replies
Jan 17, 2010
<asp:TextBox
id="txtFromDate"
runat="server"
CssClass="TextBox"
MaxLength="10"
Width="100px"></asp:TextBox>
I have an asp.net web page and i would like to display the system date, on the first time page display?
Can this be done in asp.net or must it be passed from C# or is it a Javascript type thing.
Also can you 'Set InitalValue = "2010-01-01" in the above statement?
View 6 Replies
Aug 10, 2010
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?
View 8 Replies
Jul 10, 2010
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.
View 8 Replies
Jul 23, 2010
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".
View 4 Replies
Mar 6, 2011
I have three controls in the same page
one DetailsView as a summary and two formview
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...
View 3 Replies
Mar 7, 2011
have a problem i wanna display SCOPE_IDENTITY on webpage..i using this code and insert some data to database:
Dim
mysqldatasource As
New
[code]...
View 4 Replies
Dec 16, 2013
I have some values entered in text box in one page
in second page if i select checkbox all my entered values in textbox must be entered in this page textbox
there is no connection between page one and two I am not redirecting page A to page B vice versa.
View 1 Replies
Jul 11, 2010
How to display HTML Tags in my asp.net page?
Example: I need to load the following text from DB and display it in my page.
<p> </p> <h1 style="text-align: center"><span style="background-color: yellow">Hello World</span></h1>
I have assigned it to a placeholder but it display as is not as tags.
View 8 Replies
Jul 6, 2010
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..
protected void selectednode(object sender, eventargs e)
}ifrm.attributes.add("src", trview.selectednode.navigationurl.tostring());
}
View 5 Replies
Mar 10, 2010
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 :
Label1.Text = "Name:" + CType(PreviousPage.FindControl("txtusername"), TextBox).Text
Label2.Text = "Student ID:" + CType(PreviousPage.FindControl("txtstudentid"), TextBox).Text
Is there any option to make this labels keep their values ??
View 18 Replies
Aug 4, 2010
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.
View 2 Replies
Mar 10, 2010
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.
View 4 Replies
Feb 1, 2010
I am using Asp.net 3.5 vb.net.
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?
View 6 Replies
Aug 7, 2010
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?
View 2 Replies
Aug 21, 2010
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?
View 2 Replies
Sep 9, 2010
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.
View 5 Replies
Oct 25, 2010
I am trying to accomplish something that websites like CNET do for downloading.
When a button on a page is clicked I want the user to be taken to a page..called download.aspx, the whole page is displayed with information
like "your download is starting..." and then the file is presented to be download.
What I did.
In my main page on the button click event...I do a Response.Redirect("download.aspx"); and in the download.aspx page
load event I present a Response.TransmitFile("myfile.exe");
This doesnt work because the download.aspx is NOT rendered untill the whole download is finished.
View 4 Replies
Jan 21, 2010
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.
View 3 Replies
Dec 7, 2010
HEY I WANT TO SEE THE PAGE LAOD
View 1 Replies
Jun 7, 2010
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...
View 6 Replies