Generate Dynamic HTML Control
I've project in asp, where we are using Database to create html controls. As per the current logic, we are creating one application variable on application_onstart event, it contain all records of table containing screen name, and other html control related information. Based on the screen user has requeted we get all those records from application variable and generate the screen.
As per my knowledge this application variable contain around 8000 records, and since it is eating much time to maintain, and reducing speed, we want to remove this concept from our three tier based project.I've gone through XML, and XSLT concept, but before proceeding further,
View Replies
ADVERTISEMENT
My client wants File Uploading in ASP that i can do but the requirement says that i should have one FORM FILE FIELD first to browse the file to upload.
and the moment i click the browse button of first FILE FIELD, a second FILE FIElD is generated beneath it and when the user clicks on the second Browse button it generates the third and this process goes on. Untill the user clicks the upload button to upload all the files.
I know this sounds stupid as it is much easy to provide 5 Form File fields and if user wants more then another five is added on another page, but ti is clients requirement .
I dont know how to dynamically Generate Form FILE FIELD for browsing file to upload AT RUN TIME .
View Replies
View Related
I have a web page using frameset split into few pages. And I want to generate one page of HTML code and send it through email. My question is have to generate a HTML page using asp?
View Replies
View Related
How can I generatea a HTML page which will have contents read from a local file on server.
View Replies
View Related
how to create (generate) .html file by using asp. I am not sure if this possibility even exists... if not, is there any other way I could generate .html files? The thing is that I have to retrieve info from database and the generate .html file.
I know I could have it as .asp, but this woudl my index page and I would like to use it for search engine, which are not very happy with other extensions than .html.
View Replies
View Related
how to create (generate) .html file by using asp. I am not sure if this possibility even exists... if not, is there any other way to do it?
View Replies
View Related
I am using ASP to generate an HTML table from a database. I use FSO to output a file with an XLS extension then open it. I can set the column width and row height; I can set the font family, size, and weight. I know I can include formulas in a "cell".
What else can I do when I generate the table that will take effect when the file is opened in Excel? I'd like to do things like autofit and sorting. The client does allow Office Automation on the server so I can't write to Excel directly.
View Replies
View Related
I have a C# application where I have a client side html input:
<input name="CalText" type="text" id="CalText" />
Is there anyway I can acces the value of this control from server side inside my C#code? (please note I don't want to have runat=server for the input control).
View Replies
View Related
I am looking for a HTML Editor Cntl which I could insert into an asp page - something like the one I am using to create this thread - and ofcourse free !
View Replies
View Related
Is it possible to use ASP +/ VBScript to automatically fill in certain fields of an HTML form with data generated from what the user typed in another field?
For example, the user needs to input 24 consecutive weeks worth of forecast data. If everything is done manually, they'll have to type in a date for each of the week. I would like the form to automatically fill in the following 23 dates (each one week later than the previous field) after the user fill in the first week's date. How do I do that?
View Replies
View Related
I have a dropdownlistbox (html control) and some text fields displayed on my page. The top menu bar of my page works fine in every case (as it always be on top of every thing that i display in my page) except of DropDown Combobox (html control). WHY ?
Can not understand the reason why my combobox always displayed on top when i tried to select some other item from my menu bar (say some other page) while my menu bar always on top for other controls.
View Replies
View Related
How can i have a text box control with non html support. I mean. I have a textbox which shud not allow. web links entries ..
View Replies
View Related
I have a specific requirement.I have a html file field control in
my page..i browse for file to upload and when i close the dialog
box,the cursor position should be in the text box of that file field
control.
View Replies
View Related
I have built dynamic HTMLTable. Now I want to attach it directly to the Email Body - it is already built, so why not to use a ready table. However, I cannot find the way of getting plain HTML text out of dynamically built control. I tried to put my table between div and read div.innerHTML then - HTTP exception has been thrown.
View Replies
View Related
i'm trying to display certain labels, text boxes and dropdowns based on a session variable passed from a previous page. i'm wondering how i can do this with C# in an asp.net web app.
View Replies
View Related
Are there any free/open source ASP solutions that will allow you to dynamically convert an HTML page to a PDF?
What I'd like to do is include a "Convert to PDF" button on a .asp page that will convert whatever is there to a PDF.
Is there a free version that works well out there?
View Replies
View Related
I am currently building an emailing system into our asp management system. From this we will be able to setup mail templates (html stored in mssql database) and select who we want to send them to.The html in the database is only the middle part of the html file being sent. All the emails are based on the same design template using a single html file to which I pass a variable saying which body to get from the database <%=writeBody%>. So far this is all working fine and the emails are sending using cdo.
..createMHTMLBody
"http://localhost/helpCentric/responseSendForm.asp?"&qString
What i am trying to do now is personalise the emails and on the responseSendForm.asp I connect to the database and create variables such as fName, lName etc.I need to be able to write these variables in the html in the database which will then display in the body using the <%=writeBody%>.As you may have guess this is not working and I dont know enough aboutthe .createMHTMLBody to work out what to do.
View Replies
View Related
I have a database-driven site which I'd like to render down to HTML. Can anyone recommend a good (preferably free) tool to do this?
View Replies
View Related
I'm using CDO SYS to send email messages. I can attach a file just fine.
However, I need to attach an HTML page that's generated on the fly by my
ASP code. The attachment source code gets assembled into a VB string. How
do I attach this? I think there was an easy way in CDONTS but that's no
longer an option.
View Replies
View Related
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.
View Replies
View Related
I would like to be able to control an asp text box control's name attribute.
I know i can manually type the whole string
<input type="text" name="username" value="" />
but then i can't use the validation control on the inputs. [free javascript ]
PHP Code:
View Replies
View Related
I code that creates a calendar for each month and then it displays events from that month that are stored in a db. I need to loop through my recordset and display all the events, but I can't quite figure out how to do it. I am thinking I need to do an array. But I am not really sure.... any ideas. Here is where you can view the calendar. Code:
View Replies
View Related
I have a table having 3 columns. There is a checkbox for each line. I
need to get those lines whose checkboxes are checked, and show those
lines to another webpage. Is there any way to do that? My concern is
that all information in the table are in <tb></tb> pairs without any
name tag. Any idea?
View Replies
View Related
how I generate a new XML file that I can then use with an XSLT file. I am trying to use an XML file generated from Microsoft Project or even better generate an XML file from the project file (MPP File) itself. Which I can then use with an XSLT file
I am new to XML and want to create a project viewer using XML, ASP and XHTML. I have an idea of how this should work but would really appritiate any help someone can offer. Is it possible to take an XML file and generate it in ASP without using an XSLT file??
View Replies
View Related
I've been trying to Google this but have been getting far too many hits to be of use. Is there a slick way to generate a CSV or other Excel-friendly format and push it to the client? I'm using VBScript (and HTML and other typical stuff of course) on the ASP pages (no .NET stuff). Just a shove in the right direction is all I really need here.
View Replies
View Related
how can i generate ID(automatically) when user press the "New Record" button in my registration pages.the ID will get from the existing database and start with C01234.let says the last id in database is C01234,then when the New Record is entered,then the id number will change to C01235.
View Replies
View Related
I noticed that PHP have the ability to create PDF files without using any third partty componentys. Most notably is via FPDF. It generates PDF by using "pdf markups" / or ghostscripts .
I believe the same can be done via ASP too. One has to use response.write pdf headers. Has anyone succeeded in doing that? I have the intention to go thru PHP's FPDF and try to convert that to VBScript.
View Replies
View Related
I trying to generate a new XML file everytime a user post a value through a simple form.
The form has one textfield called "price" and I want to save a new XML file (rewriting the file if the case) using the value entered. I don't want to append the value. I saw many turorials, but none of them work for me, and everytime I try to edit them, nothing seems to work.
View Replies
View Related
Can you tell me how to generate a GUID value in ASP?
View Replies
View Related
I want to create an Excel object from an ASP page. Basically, the input parameters to the Excel would be from the ASP. I know ASP and I know VBA, but I haven't used both of them together. Here's what I would like to do -
The ASP should generate an Excel report by passing 2 parameters to the Excel application (I have done this independently; without interfacing with ASP).
I know that I can create an excel handle from the ASP as -
Set MyExcel = Server.CreateObject("Excel.Application")
I dont know where the VBA code has to go? DO I have to include it in the ASP?
View Replies
View Related
I want to be able to generate a date (day,month,year)
and add it to a DB so as to prove when a record was added(when a transaction was completed)I then want to delete a record automatically 1 day after the date was generated.
View Replies
View Related
I have a form which contains drop down box with several available selections. Based on the users selection, I would like to have a popup box appear upon the form submission that gives them some additional information about their dropdown box selection. Is this possible?If so, how do I go about doing something like this?
View Replies
View Related
i have a long recordset that i want to page through. can sql pass back say, 5 records from 20 to 25 out of 1000?
i can then pass 2 variables between the pages to dynamically generate the sql and thus page through the results. can someone post up a simple example of this if its possible?
View Replies
View Related