how to dispaly text from a text area on a page as page copy (using the replace function)
How do I display this text inside another textarea, holding formatting? All variations of 'what I thought would work' do not.
I am using the following function:
Function DisplayMemo(theText) DisplayMemo = "" on error resume next DisplayMemo = CStr(theText) if (len(DisplayMemo) > 0) Then DisplayMemo = Replace(DisplayMemo, vbCrLf, "<br>", 1, -1, 1) end if End Function
NOTE: getInfo(0) is a variable holding my value. Yes the value is there. It is showing the text I want, however the <br>'s are rendered inside the text area?
I use a script (tableEditor, this forum recommended it) that if viewing a TEXT field with HTML in it... gets all funky.
one of the data fields vachar contains the center of a page... okay if you pullig it just to display it but imopssable to edit it again or view it in any form other than a striaght pull to a page.
when i go to edit a page with the online editor (using <textarea> to display the code) that has </text area> in it it ends the FORM im view TEXT area and then goes on to display the code...
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 like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.
Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:
I am writing a small database utility to catalog all of my favorite ASM/JS/VBS functions and scripts on an asp page. Everything is going smoothly except for one thing that I can't quite seem to think my way around.
I am using a <textarea> to display the code but some of my scripts have <textarea> tags in them and when the </textarea> tag is entered, it closes my <textarea> and the rest of the code ends up outside of the textarea.
Example: (the code after the middle </textarea> show up outside of the textarea box)
I have a seperate asp page for each due of the week (mon.asp tue.asp wed.asp etc...). I need each day's page to show on the site at 3am that morning, for example... I want tue.asp to show up at 3am on tuesday morning
I'm running IIS 5.1 in Windows XP Pro. I moved all my ASP files and scripts from my backup CD to my new server. Some of the pages can't be displayed, the browser would redirect me to Http://www.perfectnav.com/....uid.... web search engine page. How can I stop this? I mean I couldn't fix the problem if I don't see actual error of the page. I open my IIS logfile and found Error 500 next to the request. But the HTTP 500 error page never get displayed. I turned off the "Display Friendly Error Message" in Internet Option and set all the 500 error page to default.
I have created an .asp page in Microsoft Visual Studio 2003, and the page consists only of html and vbscript. When I click "view in browser" the page displays and works as I want it to.But When I view it in IE7 the stucture of the page is all messed up. I suspect that IE7 has problems in enterpreting the vbscipt because the html parts looks ok. probably IIS right? I have run regiis -i (dont remember the correct syntax) so that shouldnt be the problem.
I have IIS installed on Win XP. When I type http://localhost/*.html (*.html mean any htm file) in IE, it works well. The page is displayed. But for any http://localhost/*.asp file, it always return either HTTP 500 Internal server error or Cannot find DNS server. I tried http://localhost/iishelp, it does not work also.
I have an ASP page hosted on a windows 2003 server. This page was working fine until Saturday. Now, the server doesn't serve it and gives a 404 page not found error. The file DEFINITELY exists in the correct folder (it worked fine previous to now). I have tested the page on our in house server, which is a Windows 2000 server and the page works fine. I have exported the database data and tables which are necessary to the 2000 server and again it works fine, so I don't think it is any data in the database which is causing it. We serve many other sites off this server, and the asp works fine on all of them, and throughout the rest of this particualr site which is causing the problems.
when using a web application which includes taking an asp page then going to another asp page and coming back to first page ...some times connection to iis gets terminated and page canot be displayed error comes .. this error does'nt comes on a particular page .
One of the fields ("Description") in my MSAccess database table contain text formated by HTML tags (<b>, <i>, etc) I now need to display it on asp page, but not as formated text, but as it is stored in my database:
Not like Description of this product is good.
but as <b>Description</b> of this product <i>is</i> good.
I am currently facing some difficulties in accessing my web page. I am creating my company intranet website. Currently, I am developing my webpages in my local machine with IIS activated. When i run the website from my local machine's IE by typing //<computer name> my webpage displayed.
However when I do the same thing from another machine in the network, I got the error "The page cannot be displayed".
I migrate ASP to Win2003, and the error page doesn't display the errors but a general error like "The page cannot display..." when error displays, and the error doesn't occur in Win2000. How can I know the error message?
I have a search page that allows user to search a SQL database and want the result page to display on a search page. How do I get the result page to display on a search page when user clicks a search button. Have you got any sample codes to demonstrate this?
i am developing a search engine. its like this. i have an asp from which gets the search string. i display a page with a wait symbol for 2 seconds (meta-equiv-refresh=2) and then transfer the control to the same page which would display the search results. I think even this forum does this type of display. Now my question is how do i start searching for the entered string and stop displaying the wait page only when the search is finished.
i.e i dnt want a wait page to be displayed simply for two seconds and then show the search page. I want to ""show the wait page after the search is started and then stop displaying it and display the search results only after the result is got""
i want records displayed on one side of the page and the other side i have a form where users enter data using the list that they have. i am able to list the records after or before the form but not to the side of it. how do i do that.
I am trying to disable a user from going back to a previous page and displaying information previously shown. I want to give them the typical "Page has Expired" warning message. I am using Win Server 2003. Does anyone know what you have to do so that the user can only see the page once and not to be able to click back and see a cached page.
We've changed a page in our website, but it does not seem to display the changed page when viewing in the browser although we have cleared all the cached files. what might cause the problem?
i would just like to know if there is a way to check if the table exists in the database? If it does the search query would be carried out but if it does not exist the user would just be redirected to an error page.
I need to build a asp page where it would serve as a data entry record page as well as display page for records saved. This page should also allow editing of records that has been saved. e.g.
SAVEBUTTON SS# EntryBox Name EntryBox Date EntryBox Revenue Generated EntryBox
The process of the first part of saving record is fine. However, the second part of displaying all the records that has been saved including the current record saved is where I am having problems.
I am creating a form with checkboxes that contains in the value property, the ID of the image. The filename of the image displayed above the checkbox along with the image.
On that page, I am storing the "checked" information in a cookie. When the user clicks submit, I need to retrieve the actual image that they selected on the previous page and display it along with the image name which I get from the value property.
Right now the only data being passed is the value in the checkbox input tage which is a text string and not the actual image. How do I retrieve the images my users checks off. I hope this make sense. Sort of like a shopping cart, but I only want to be able to select images and post back the ones selected.
I created my .asp page in Microsoft Visual Studio .NET 2003 and when I right-click my page in there it displays perfectly. But when I try to view it in internet explorer I only get the html part to display.
I've tried regestering iis in the cmd, it didnt solve it. Here is the code if it could be to any interest:
I have a csv file that has 2 columns..."Name" and "Team" I would like to be able to have 2 dropdown menus on a webpage showing both of these and a method (a post I guess) to change which team they are a member off...For example Joe is in Team 1 but moves to Team 2, from this page the user can change Joe to Team 2..
I would also like to be able to add new members and remove existing ones.
I'm make a site that will contain an include statement that updates and gets data from the DB, but the text after the include doesn't display. When I don't have the include statement, the page displays perfectly.
Here's my statement: <!-- #include file ="getData.asp" -->
Please let me know why it's not letting me display anything after my include statement, and what I can do to fix that.