my site (which I am currently redeveloping) has 3 different sections to the site. All which well contain different information.
What I want to know is how can I make the starting page of the site display information which the users is looking for.
eg. if the user always go to one section of the site the main page well show information relevant to that section. (I hope you know what I mean)
So I was thinking about how to do this and this is what I came up with.
Set a cookie for the site and each section has there own number value (eg. 1 to 10)
When the user hits the main page it gets the values of all 3 sections from the cookies and checks which has the most value (eg 3, 5, 10).
Based upon the highest value each section has there own .asp include which is shown to the user.
I have created a workorder form on Front Page that employees use to send in computer and other maintenance problems. In the form properties, I can choose to send the data to a database OR send it in an email, but can not choose both. We have it going to a database so we can better manage the data. But we would also like to send an email notification when a new record is added to the database.
I've tried this in Access on the database end but came up emptyhanded. The Access gurus have suggested it's something I need to do in html on the form. My html is very limited so I'm hoping someone can tell me if this is possible, and how I would go about doing it. The HTML gurus suggested it was an ASP issue.
i wanna connect front page forms with the database for searching and updation .. how can i do it.. in asp it ask to host the web it doesn't works on disk drive..any one help to solve this proplem..any alternative
I have 2 webs under my default web running win2003
1. A front-page intranet 2. A asp (not .net) web is fine
Both allow anonomous access. My front page web always gets a BLANK Request.ServerVariables("Logon_User"). The asp web gets the logon_user OK. Both webs have a global.asa that has Code:
I have FrontPage 2003 on my XP laptop. I need to test some web pages with *.asp codes which worked perfectly well with my old Win95 computer in the past. Of course I had to install Personal Web Server to it in order to do the job.
The help files of FP, gives the clue that it has the facilities to behave like a server and test interactive web pages. But I haven't seen the use of ASP pages with it. I do not wish to install a server on my XP just to test ASP pages.
I m using front page. I have used some button and value of all button is different so its width show different. I want to equal width of all buttons. I dont want to use link button.
I have installed Front page server Extention on IIS 5.0 it was working fine. I was able to load project from Visual Interdav and doing well. Yesterday I installed a security update from Microsoft and after that every thing stop working and I am getting the error below when ever I am trying to connect to server using V Interdev. Error Shows that FP Server Extention is not installed but its there even I removed it and installed it back error is still there.
"An HHTP error occured. The server could not complete your request. Contact your Internet Service Provider or Web Server administrator to make sure that the server has the FrontPage Server Extensions installed, and that the Web application exists on that server" Code:
I m using front page. I have used some button and value of all button is different so its width show different. I want to equal width of all buttons. I dont want to use link button.
I have list of asp pages that are grouped together by sections they belong to - So section Add could have pages add.asp and add2.asp, Section Delete could have pages del.asp and del2.asp so that the final display should look like this Click on link below:
Add add.asp add2.asp
Delete del.asp del2.asp
The recordset returned contains the following fields: Code:
I have 2 diff sections on my web page, we would like it displays section 1 when viewers are in a default.asp page, else displays a section 2, how can we do that? something like this:
I was wondering if someone could help me out. I have a form and what I want is to have only certain parts of the form be emailed out to certain people.
So say I have 2 sections of my form. I want section 1 to be emailed to person1@host.com and I want section 2 to be emailed to person2@host.com.
I already have a very crude code to send out an email for the entire form to 1 person. Can anyone help me with this?
The current version will run a FOR loop for each form element and will give them a label (by a variable). This label is then attached to each form element's value on the email.
However the email is pretty untidy so I would like to change the code so that groups of labels appear as groups on the email.
how to replace the system.web section using MSBUILD? I managed to change the appSettings and connectionStrings sections but when i tried to replace system.web i got an error message reporting missing system.web section.
i have a anal client that requires my excel pages to look exactly like this one. the only problem i see is going to be the header section. It's in the center top cell and is centered.
I've never done any type of exporting to excel yet, before i get to deep into it. Is it possible to format an excel doc from asp exactly like this ?
The web user does a search of a database and the results are returned in an HTML table. I want to present the user with a table that just shows the salient facts (brief item description, stock value, etc).
However, I'd like to give the user the opportunity to expand (and if they wish to contract again) any one row of the table to display things like a picture and an extended description of the row item, rather than have them go to a separate page for this.
I'd also like to give them the option to expand all rows in the table (and contract them again) if they wished.
What's the best way to achieve this? I'm not sure of the target audience, so may have to support browsers using HTML4 (may even be Netscape...)
- In this page 1 new rows is created dynamically everytime the 'Add row' button is pressed
- Each row has a begin date text field and beside it a calendar, enddate texr field and a calendar etc...
- It has a delete button for each row so onecan delete the row is its not needed.In total there has to be 5 rows and minimum 1 row.
Now the problem is there is a function called 'reorderRows' . Which is it re-initialises the text boxes (the objects in the row)..there is some errors I face when this is done. would any of you able to figure out what causes the error . I am guessing its the calendar re-initialisation error Code:
Have an ASP form which is filled out with Maintenance Alert info. Upon completion, the form posts data to a dynamic page to control look/feel. I then use IE's Send Page function. In Outlook Express, the Subject line comes through as the Title of the page (Maintenance Alert - Whatever).
But in Outlook, the filename becomes the subject. Is there anyway to define the subject line through Send Page? And yes, this is a painful way to get a message sent, but due to user limitations and cooperation, this is what I am left with.
I am currently building a page that initially displays a list of categories e.g.
Category 1 Category 2 etc
Clicking on a category should cause a list of the items in the category to be shown e.g. clicking Category 1 should lead to:
Category 1 Item 1 Item 2 etc. Category 2
I have implemented this part successfully. I have placed a hyperlink in each Category so that when it is clicked the page is refreshed, with a parameter 'categoryid' used to return the relevant items from the database. Code:
so for this weeks project for class I have to create a dynamic page in asp. As of now im completely lost and failing.I was finally able to setup IIS and get everything going. I made a page in asp saying "Hello World". Now the question is what exactly do I need to do to make a dynmaic page in asp? Im assuming he wants me to create a database in say access and pull it up in asp.
Does anyone have a simple database in access they can post a link to so I can download it and also a link to the asp code to display it properly on a page? I want to take a look at the code and see if looking at it I can gain a better understanding of what to do and how asp can help make dynamic pages.
What I need to do is use asp to read the contents of a web page (that is generated on another server), put the html in to a sting, and then take action based on the contents of the string. I can probably do all of the sring manipulation myself, but want to know if I can open the page and read the first 200 characters in to a variable that I can then manipulate.
a code snippet that I wish to create/use on 90% of my pages. I want each page to display their location to the user. Obviously I could do this by just hardcoding this in but I would prefer to create a mor dynamic template that automatically displays the relevant info. Examples of what i would like displayed is:
You are here: >> Home Page You are here: >> Services > Update Personal Details
I would like to read the dynamic contents of an asp page and set these in a variable. In php I can do it with the help of include, but include is not exactly the same in asp. Any clue?
iis runs on win2k3. i need to have a web-based app that among others does something like this:
1. login - validate against the local user database. 2. user must belong to a certain group (say backup operators group). 3. create a web-based front end to the task scheduler. create, modify, delete schedules. i dont have a starting point with regards to the three requirements.
I have an asp page where im creating dynamic rows on an onclick function and textboxes are created in the dynamic rows and when i submit the asp page it goes to another asp page, where i whant the values entered in the textboxes of dynamically created row of the previous asp page. Code:
inserting dynamic page code in .html page? i.e. i would like to insert a code which will display links. where my homepage link extension is .html. if it is .asp it would have been very easy. and also i would have worked fine. but now the problem is the homepage index file extension is .html.
so if i insert the code it is not displaying the links. i tried inserting the code in a separate file and saved as file.inc and gave the link from home page <!--#include file="file.inc"--> but still the link is not showing and not working.
i have a website that uses (or needs to use) dynamically driven dropdowns using asp & JS on all pages. it contains 3 different dropdowns that are DB fed and are dependent upon the value of each other. the drop down values are updated using a repost to itself.
they work perfectly on the initial pages where no other variables are involved, but i am having troubles on the pages where more variables are being sent. eg: i have use a lot of error checking, and when i repost, the variables are deleted, and thus the error listings take effect as the variables are now blank. can i refresh the dropdowns without repossting to the samepage without effecting the existing variables on that page? sessions? cookies?