I am working on a project where the site was already created using frames and .aspx pages. I was asked to update pages as well as add new functions. This project is an online training course for internal use only.
I need to put a Print Button on the left frame called "buttons.aspx". I need it to print whatever current content is on the main page. So, of course this will vary from page to page because each has a different file name such as 3_1.aspx and 3_2.aspx. I was able to get the Print function to work but it only printed the "buttons.aspx" page which was nothing more than a few navigational buttons.
I built some Web site that includes 3 frames page. After a user sign-off I want to redirect him/her to a single frame page. When I use Response.Redirect command, I am getting the redirected page as a frame and I still see 2 other frames.
How to get rid of other frames and display only a single frame?
I have an asp.net page that I would like to open up another asp.net page within the first one. Like a parent - child relationship. I need to display a graph in the child on the parent.
What I want to be able to do is create a user control that will display an entire page page within it. Does anyone know how to do this or better yet have any same code?
I have a ASP Page[inline frame in an html page] that does login to a database.
When the user visits the site, the first attempt to login will always failed and session is broken. Login name and password are correct though.
Only when the user re-try agian he/sge is then able to login to the site successfully. Can anyone tell me what could had caused the first time login failure?
I have made this frameset for my site, 4 frames in it, and each one holds a html page. The mainframe however holds an asp page. Each time I try and load the frameset and preview it, in the mainframe I see all the asp code of the page, not the compilation of it. When I try and open the asp page separately, I can see the compilation just fine, tables and everything.
I'm trying to build a page which has two frame, one is hidden and the other main. The hidden frame will have all the neccessary recordset and variables.
and main has forms and functions which should retreive data from hidden frame to use it on the form. I noticed it's possible using javascript but i'm building page with vbscript and have not found a way to do it.
The reason I'm trying to do this is to reduce down the server traffic. The page will get local variable rather than accessing database everytime user request some values.
If this is not possible, can someone tell me how to store recordset into session variable? so it can be used across the page.
I have an application that displays messages that are stored in SQL server The application uses frames
In the vertical frame along the left side of the page, I enumerate the current messages. This frame is named "SELECT" Clicking on a message subject causes
In the main frame, named "BODY" I display the message that is retrieved from SQL Server in a textarea.
When a message is displayed, I also display a prompt ro delete the message.
The delete prompt works just fine except that I need a way to update the enumeration of messages in the "SELECT" frame.
Is there a practical way to force the page in the select frame to refresh itself when I delete a record?
I have a pop-up window that allows editing of items displayed in a frame on the parent page. When the user edits or deletes an item in the pop-up window, I'd like it to automatically refresh the frame in the parent page so that the change is more real time and the user doesn't have to refresh to see their changes. Any ideas on how to accomplish this?
I have made this frameset for my site, 4 frames in it, and each one holds a html page. The mainframe however holds an asp page.
Each time I try and load the frameset and preview it, in the mainframe I see all the asp code of the page, not the compilation of it. When I try and open the asp page separately, I can see the compilation just fine, tables and everything.
I got a asp page that has right and left site frame. I got a form in the right side frame and i want it reload the left frame when the it got submited .The left side frame displays that content of newly sumitted form.I be happy if some one help reload this left page when a form got submitted in right side frame with out using any auto refresh.
I am having one asp page(i.e home page) which has two frames in it. Left frame contains menu and whichever option is clicked in it that corresponding page is shown in the right frame. In those pages i am checking for sessionid and if it is different from what is there in the table i want to show the login page.
The problem is that as i am using response.redirect in the pages shown in right frame to go to login page but then the login page is shown in just the right frame but i want to show the login page on the whole page.
I have a date in a frame/page that i want to pass to another page. I can succefully pass a static value, i just can't pass a value from a text box.
I tried to make everything public. I believe that Me. may only refer to the page that is orginating the action. But how do I pass the text box. Can we assume since I can pass the static value, that the issue is how I grab the textbox value Code:
Is it possible to send a variable through a hyperlink, to a frames page, and have all 3 pages in the frame pick up the variable using the request.querystring ?
In other words, I click on a link that has ?id=2 lets say.. it goes to a page called umm say index.asp the index page has a top, main, and a left. how do i get each one of those to receive the variable, when i can only send it to one page? or is it possible to send it to more than one page, but only travel to one page? so the link looks like index.asp?id=<%=var%> Code:
I have an aspx page that has the "include" code in it which includes another page that displays information. I also have an upload page that allows users to upload a simple html document onto the server. The include code calls that html page to display the text on that page.
The problem is when the user uploads that html page, the aspx page does not refresh to reflect those changes, even if the user hits refresh in their browse. However, if I manually connect to the server and open the aspx page that contains the code and hit save then the webpage updates to reflect the changes that were made to the include page. Can anyone help me fix this problem?
I have 2 ASPX files. One is the main, the other a smaller one which is the center part of the main ASP file. Now, how do I load the 2nd ASP into the first one?
Something was wrong with my IIS 'Service unavailable', I decided to uninstall IIS and then reinstall it, then the simple pages can be viewed but the aspx pages not. Then I uninstall SQL server 2005 and Visual Studio 2005 and reinstall it.
Now I can view simple pages but not aspx pages, but when running from the debugger of Visual Studio, it Works good. When I access an aspx page 'The page cannot be found' error occurs
I have 2 ASPX files. One is the main, the other a smaller one which is the center part of the main ASP file. Now, how do I load the 2nd ASP into the first one?
what i shoud do if i want to set all the contents in .aspx page such that it will become fit in the internet explorer window, b'coz it always leaves some balnk space from right. hw can i solve this problem.
I have asp page. In that I want to call a aspx page in the background.That called aspx pages will send and receive mail in the background.The calling of the aspx pages should be hidden from the user.Is it possible.
i am using visual studio 03 to create a web app using asp.net 1.1 i created a table in a text box using System.Web.UI.WebControls.Table
i am adding data to it... i want to knwo how i can set the width of colums. i hve 2 columns and one of them is way to the left.. i hve fiddled around with the html and the tablename.blah.blah stuff but i dont know which one to use
In IIS, when I try to browse an aspx, I get a popup message asking me if I want to open or to save the file instead of actually browsing to the page. Any idea of what could cause this issue?
This is the error which i got when i tried to display message in my text box which is a aspx page.
Error which i got:Server Error in '/' Application. --------------------------------------------------------------------------------
Runtime Error :
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
I have a IIS server somewhere hosting an aspx website. Whenever i tried to access the website after some times, my browser will like wait about 10-20 seconds before showing the contents. But after that, subsequent pages is load up almost instantly. The page is not heavily loaded and every pic should be cached.
And sometimes, after 1 or 2 days didn't access the site, when i tried to access again, it will never load up the page. My IIS server is never shutdown running 24/7. I have to go to my IIS server and move around with the mouse then go back to my workstation and try again in order for it to work. (My IIS server (also my Internet gateway) will not go into Sleep mode because i still can surf from my workstation.)
We are hosting a web site, and within this web site we are trying to open a .aspx page within the DMZ. Is there anyway to do this? We are currently running Windows 2003 on both servers, and both servers are running IIS. Redirecting the page of course does not work, any other ideas?
I've got an aspx page with a 'mailto' with accented characters in the subject field, when the mail is created the accented characters aren't displayed correctly.
I have a folder on webserverwwwroot, called staticContent. The folder has several message of the day text files, such as RepMotd.text. I have an admin page, AdminMotd.aspx, that allows a user to view and edit the contents of the files.
Webserver is running Win Server 2003 64-bit and IIS 6.0. The development machine is Win XP, using Visual Studio 2005 (thus ASP.Net 2.0.)
In IIS, staticContent folder has Write checked and execute permission is set to Script Only . In NTSF, the folder grants full permissions to Network System.
When I try to overwrite an existing file in staticContent, or try to create a new file, I get a System.UnauthorizedAccessException. The Application error log on webserver notes that the error is on the page I am trying to run, that my user name is what I logged in as, that I am authenticated, and that the thread account name is NT AUTHORITYNETWORK SYSTEM. Elsewhere, I am able to read these same files and insert them dynamically into the web page.
This is the code that I am trying to run in AdminMotd.aspx, cut down to the basics. If it makes any difference, the code is run "in page" and not as part of a separate code-behind file.
****************** <script runat="server"> Protected Sub MotdChange(ByVal ThisFile As String, ByVal ThisText As String) Dim sw As StreamWriter = New StreamWriter(StaticRoot + ThisFile, False) sw.Write(ThisText) sw.Close() End Sub
Protected Sub RepMotdChange_Click(Byval sender As Object, ByVal e As System.EventArgs) MotdChange("RepMotd.text", RepMotdText.Text) End Sub </script>
I have traced that the error occurs when New StreamWriter is called, rather than when actually trying to write to the file. Obviously I'm missing something, but danged if I can find it.
How would it be possible to print some output before the script is finished, or a line at a time if possible with HTML specs? This is because I'm running a LDAP query that takes some 30-60 seconds to complete after which it prints out the info. I would need some status printed out in the middle or before so that user knows that something ought to be happening in the background I've tried printing the info in between head-tags, but it didn't do the job