I have created a word template(.dot) with several bookmarks but know I don't know how to fill this information from the asp page. I have to retrieve the information from the database and fill the information in the word document Code:
I am trying to update a website that uses ASP to connect to a database.
I want to change a template file i have so that it is CSS driven with as few tables as possible.
I have managed to strip the tables from the header and footer sections of the template and replace them with divs and CSS styled unordered lists.
I am struggling with the site breadcrumb, navigation and main content areas as these use ASP code to draw data from a database (i dont have access to the database). The site is updated using a Content Management System.
The main site webmaster has told me that a CSS driven template is unworkable. I think that she just cannot be bothered to change with the times and therefore won't move to a CSS driven layout. She took great lengths explaining that she had been doing the job for six years and that tables were the best way to go.
I have the template file i'm trying to change. I have included the full template unchanged below. The template code is below: Code:
I need sample in asp how ? so when I change into news/link/ or somthing then I get the info in default ??? can somone tell me how? or where I can find templete in ASP not html??
Is it possible in ASP to have an Auto Fill option? For instance, if I am typing in a name and I type in the first few characters, can ASP recognize a similar name in the database and begin filling in the rest of a possible match?
ive got an online system which allows people to enter info into a database about an absence request they have - at the same time this emails the person in charge of absences.
The form is setup now but to make it easier i want to alter the "Name" and "email" fields so they require no filling in ie - a staff members name will be chosen from a drop down list (ive done this bit fine) and then once this is done the relevant email for this person is automatically placed in the email field. This bit i am struggling with - anyone any ideas how this can be done??
I do not have too much experience developping ASP.NET. I need to fill a dropdownlist with all the color of the system, I know how to do it by hands, one by one. : But there are like 200 hundred colors, then
I am currently developing a web form for the transfer of assets between departments, which will store information in an Access database. I currently have the form created and I am working getting the transaction processing portion of it going.
Basically, there is a minimal amount of information that needs to be entered into the form and I would like the rest of the information to auto-fill. So for instance, I would enter the asset number of the asset to be transferred, and said asset's serial number and description would fill in automatically. I have go this working in Access, but I'm at a loss for how to do it with ASP.
I think that I need the script to execute after a change is made to the AssetNo field, but I have not been able to get it to work how I want. Code:
I would like to make a form that multiple people can access and update at same time with their web browser. The form would have fields that each wouldfill in and I would like for all to see what the others fill in. Is there an automatic way or would they have to refresh?
I am setting up a asp page so that a database can be added, updated, and deleted from, when the user choses to update and already existing record is there a way to search and get the information to fill the form with the current information so then you can just change what needs to be and click update.
I am still also trying to figure out how exactly to make the sql statements for the update and delete buttons.
Are there any template engines out there for ASP? I'm a PHP guy at heart and I love my Smarty template engine. Is there a template engine out there for ASP that is comparable to Smarty? Are there any template engines at all for that matter?
I need to create a template for an online newsletter that will auto-generate page number (with current page not hyperlinked) and previous and next buttons (no previous on first page and no next on last page).
Does anyone know of any quick asp code that will do this? I don't think that it'd be too hard to do, but I'm very new at asp. Code:
My client has 35 domains (web addresses) that they want to host on a Windows 2K box with IIS 5. They want one application built using ASP and SQL server, hosted somehow on the IIS so that it appears as the same application for each domain. The end user of each domain will actually be using the same application.The head of each of the 35 domain, or the jr. web master of each domain should be able to cutomize the look of the each of their domain. This customization feature would be built into the ASP application. Things that can be changed would be some text, color of text, size and color of input boxes. This application will be similar to some of the eCommerce sites that have a web interface for their merchants to be able to modify their individual sites. Sort of selecting and modifying templates. They want 1 application so any changes and update of the application will reflect on all domains.My question is how do I start designing this? Where can I get info on this project, any opensource stuff I can look at? Do I incorporate XML anywhere?The domains will be accessing the same DB, how do I minimize DB trips?
I am looking for a script or a tutorial on how to generate a web page by having a user fill in a few chosen fields and entering the information into some preprogrammed html code using variables.It would then display their page and underneath it the html code.
I would like to code a message template. I have 2 pages here, to ease my illustration, I named it as FirstPage.asp and SecondPage.asp. I had coded a button on FirstPage.asp, so that when user clicks on the button,then the SecondPage.asp will pop up and a list of messages which is retrieved from database will be displayed, row by row accordingly.
my doubt is how to set a selected message from SecondPage.asp to put it in FirstPage.asp's textbox?
Does anybody have the code to open a Word template held on the same machine, from an asp page,. say path is "C: emplatesBuild1.dot". I've tried a lot of different codes but none open it. If this is possible can I write to it with "response.write" statements.?
I am implementing print template solution. I would like to use it in asp app. I open new document then generate print preview then print and finally close preview window, but I am not able to close previewed document. I try to move document window out of screen - somewhere like 9999999,9999999 position, view preview then print and finnaly close preview window. Then document window is invisible but still exists. How can I close the document window after preview??
I belive it would be better solution if I could open printed document in my ActiveX (with browser ActiveX included) but trying do it I receive login page :-( . I am not able to share session between document and implemented ActiveX.
I have just been asled to produce an facility on an existing web site that allows users to go to a page which contains four business card designs. They would then select a design and be able to fill in the details they want on the selected card whilst they are on line and send the information to the company for printing. If this make sense can anyone help?
I have seen PHP scripts that that define an iHTML template and then set an array that is used by the iHTML file to add code fragments. Does anyone know how an iHTML template can be used by ASP?
I have an asp page right now and I want to fill a drop-down list with information like a persons name from an xml file. Once the user picks a person from the drop down list I want it to go back to the xml file and load the information about the person into textboxes. Does anybody have an example for something like this in asp?
I have a form that has 2 text fields. Field one is start date and field two is end date. I want field one to automatically be filled in when the Web page is opened with DateSerial(Year(Date()),Month(Date()),1) which should give me the first day of the month. Field two should be automatically be filled in with todays date. How do I do this?
i have three boxes to display date.dd/mm/yyyy format.1 box for dd 2 for mm 3 for yyyy.suppose today's is 25 july 2005.now i want to fill this box date from 24 july 2005 to prevous month 25 june 2005 .means each time one month back of current date.
how can i get two text boxes to fill from a users selection from a dynamically filled drop down list.(called from a database)
i can create the drop down no problem and call the data from the database just how do i getthe page to refresh and auto fill the other two fields depending on the users selection
I have all data already collected on the current page? I want to open another window with the form, fill the fields and submit that form. So basically the question is how can I fill all fields and submit the form on another window.
I have an access database called contact.mdb and I have linked to it just fine and used the records held in it to populate a datagrid and can update and delete records.
I don't understand databases that much but I would like to read the values into a drop down menu which are held in the field 'ID' from a table called 'courses'. I have a feeling it is something to do with data sets but am not too hot on these either.
this may seem like a very basic question but one I could do with having answered!! I have an the following array TableArray(20, 100) and I need to start off with all elements in the array to hold the value 1. Is there a simple way of doing this or do I have to loop throuugh the array setting the values?
i retreived my data's in the database and i filled in my combobox, in that there is know "all" option in database,but i need that option has to be included in my combobox, so it has to be added statically, please give me coding to add that in my combo box statically. my combobox name is "selSchemeNo" .