Event Handling,
Can you please help me with event handling (for eg: capture key press, mouse overs, mouse_over drop-down menu, on_click drop down box) in asp.
View RepliesCan you please help me with event handling (for eg: capture key press, mouse overs, mouse_over drop-down menu, on_click drop down box) in asp.
View RepliesI want to handle events of the AO Connection object in my ASP page. How can I do it?
View Replies View RelatedI have some checkboxes that are generated from the results of a database search. At the moment, the checkboxes are part of a table making up a form. Users are going through the form, clicking the boxes and saving to the database at the end with the 'Submit' command button.
Is it possible to save the changes as the checkboxes are clicked? I suppose I'd need to write some dynamic ASP event handling at the same time as creating the checkboxes.. Code:
I currently have an event calendar that works fine so far.One thing i would like to improve is that when there is an event on that date,i wish it to be highlighted with a different color. Code:
View Replies View RelatedIs there a way to enter an error in the windows event application log.
View Replies View RelatedI have been looking for a solution on the web about the error we got in the following:
Script Engine Exception. A ScriptEngine threw
expection 'C0000005' in 'IActiveScript::Close()'
from 'CActiveScriptEngine::FinalRelease()'..
It looks like that many people have the same problem and no one seems to know why it happened and how to solve it. So far, I cannot get any useful and specific pointers/solutions on the web, not even on the Microsoft site. If someone has the same error and is able to fix it, please provide solution.
We are running Win 2000 server with SP4 and IIS 5.0. Our server is loaded with all the updated patches from MS. We are also using COM+ with IIS.
When i click a anchor tag which will shows a particular data from database and display it in same page using ajax. Code:
View Replies View RelatedI wrote this code:
<%@ Language=VBScript %>
<%
Response.Write "<SELECT id=Customer name=Customer
onchange=""text152='abc'"">"
Response.Write "<OPTION value=1>One"
Response.Write "<OPTION value=2>Two"
Response.Write "<OPTION value=3>Three"
Response.Write "</SELECT>"
Response.Write "<BR>"
Response.Write "<INPUT type=""text"" id=text152 name=text152>"
Response.Write "<BR>"
%>
But change the SELECT,onchange event not been called
A button has to be clicked if a selection in drop down list has been changed. If not, a pop up message pops and reminds the user you need to click the button before continue. Can this be done in some ways?
View Replies View RelatedWhen a user changes the value in a select statement, I would like to update the recordset using a onchange event. Could someone please point me in the right direction? Would like to stay away from forms if possible.
<select style="width: 200px; font-size: 10px;" name="selStat" size="1">
<option value="<% = rs("Status") %>"><% =rs("Status") %></option>
<option value="CLOSED">CLOSED</option>
</select></td>
sql="UPDATE dbE SET Status = 'CLOSED' WHERE EMAILid = 25"
Is it possible to send an event to an IIS/ASP application from an ActiveX/COM component? Assume that the ActiveX/COM is created when the Application starts (as an application scope variable initialzed in global.asa), and it is deactivated when the application stops.
What I need to do is to register an ASP function as an event handler with the ActiveX so that it can receive the event when raised by the component.
I've got an ASP3 (IIS6) site, in which some scripts need to generate temporary files in order to work. Now, the fact is: I would like those temporary files to be deleted when a user's session ends (even though i've got infinite hosting space, i feel it somewhat impolite to leave GB's of useless temp files ;-) ).
The Session_OnEnd event, though, seems to have some problems in doing this:
1. I found in MSDN that it couldn't call Server.MapPath(). Not a big problem, I hardcoded the base path and everything should have worked well. 2. The FileSystemObject.DeleteFile() method, though, seems to suffer from the same problem: i get no error output on Session.Abandon() but the files are still there. Is there any workaround for this problem?
Does anyone have any code or know of any code to check if a value entered in a textbox is a number using the onkeydown event. If not, I want to return an error message.
View Replies View RelatedI have been web-enabling alot of an access database with forms and asp. In the database, there is a field in the record stating weather it's open or closed. By default, the value is open. When the record is changed to closed, I want to have an email sent -- confirmation (record number and column values) page to the email address in the record.
I would like to have this automated and scheduled to run every night. It would go through the database to see which records = closed by "completed_date" type of thing. And each record that was closed have the email sent to address in the record. how this can be done?
I have a asp.net treeview inside an updatepanel and I need to capture the right mouse click event. I have a context menu that will become visible on the right mouse click and I need to know what node was right clicked - can anyone give an example ?
View Replies View RelatedI'm working on an intranet and now i have a page call incident reporting. In this form, users will fill in a form for a particular incident and one person is responsible for the incidents posted.
is there a way to notify the responsible person that new incident has been posted so that the person can check for that?i mean some sort of message box that can appear or other method that can notify the person for that incident.
I have an ASP.NET application in which I would like to call my button click event on the page load if certain criteria are met. What is the correct syntax to be able to programmatically have my imgSubmitSearch button clicked? I tried the obvious, Call imgSubmitSearch, but intellisense doesn't like that due to the sender / e arguments.
Private Sub imgSubmitSearch_Click(ByVal sender As System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs) Handles imgSubmitSearch.Click .
I have been trying to find a script on the net that would allow me to handle directory listings through ASP. I'm basically looking to change the default generated pages when browsing directories. Eventually I would love to be able to change which directories/files show based on permissions and be able to allow uploads to current directory listings.
View Replies View RelatedI am attempting to use url's on a database driven webpage - the url's are really ugly (created by mapquest) - I have tried to put " quotes " around the urls in the database as well as without - but all i get is a blank about page, can anyone help.
Here is my code:
<td><a href="<%Response.Write(rs("Directions"))%>" target="_blank">Directions</a></td>
i need to insert, in a onClick event of a submit button in a form, a
call to an ASP script, like follows:
<INPUT TYPE="SUBMIT" NAME="btnSend"
A_Function_Or_Sub_in_VBScript %>">
the problem is that teh event triggers only event on the client page,
not on the server..how to solve the problem???
I have a active server page where records are displayed from a query. The
display right now is read only. However, with text box this display can also
be edited. The first column shows category while the second category shows
category total sales.
I would like to double click on category field to get
to another asp page that would show the details of sales for that category
value double clicked.
My question is: If there is any double click event that would allow me to
pass values to open another asp page.
I want to add an event reminder email feature that will go to the users that have already signed for the event a day before.
Can someone please help me as to how to start on this code?
I am working on an asp page and am having trouble with several things. First, I connect to Oracle and populate a combobox with the field values. No problem there. The next thing I want to do then using the onchange event is update 2 textboxes with the min and max (on same form) with the min and max values from the database. The form is created dynamically using vbscript. When the user changes the value in the combo box I need the text boxes to automatically update with the min/max values. Thoughts?
View Replies View RelatedI'm using a VB combo box in an ASP/VBScript app
<OBJECT ID="cmbLocation" NAME="cmbLocation" WIDTH=238 HEIGHT=23 CLASSID="CLSID:8BD21D30-EC42-11CE-9E0D-00AA006002f3">
<PARAM NAME="VariousPropertyBits" VALUE="746604571">
<PARAM NAME="DisplayStyle" VALUE="3">
<PARAM NAME="Size" VALUE="2540;635">
<PARAM NAME="MatchEntry" VALUE="2">
<PARAM NAME="ShowDropButtonWhen" VALUE="2">
<PARAM NAME="FontCharSet" VALUE="0">
<PARAM NAME="FontPitchAndFamily" VALUE="2">
<PARAM NAME="FontHeight" VALUE="232">
<PARAM NAME="LimitToList" VALUE="No">
</OBJECT>
I'm using the _change event to copy the combobox value to a hidden input box called txtLocation
<script type="text/vbscript">
function cmbLocation_change()
addForm.txtLocation.value = location_array(addForm.cmbLocation.listindex)
addForm.btnLocation.focus()
end function
</script>
Is there a keypress event for the combobox?
I wanted to view the Event View log in a web page. I think using
OBJECT tag it can be done in HTML but I need to pass some PARAM
values.
I just dont know how to go about it.
If anyone can suggest a doc or some link on how to view objects like
these in a webpage i could manage it on my own.
I have found this message in Event Viewer on my Windows 2000 server.
Error: File/Test/upload/upload.asp Line 85 Out of memory. Unable to allocate required memory..
It seems to be the cause of a problem I have had uploading and downloading files through an ASP page using Binary Stream Objects. Anyone got any ideas about how to solve this?
"You can add special event handlers in global.asa that will get run automatically when special Active Server Pages events occur"
how do i write event on asp that is linked to like session_onstart?
which event is fired when a browser is closed. i want to call asp page which deleet some files on the server. i tired using onunload event but it aslo get fired when a page is refreshed. the thing should work in netsacpe also.
View Replies View Relatedis there any free components available that I can use on my HelpDesk, where
the employees can select a date and fill in data if they are out of the
office for the day, everyone will be able access it and see where who is
I want to intercept the submit event for field validation to cancel this
action if validation failes. I tried to script using the submit method and
also use the FireEvent("OnSubmit") method but neither option submited the
form. Is there another way to do this?
I need to clear the shopping cart when the application is closed. The shopping cart is DB driven and is only used by the employees of the company. below is the code, am i missing some thing here as this is not getting executed. Code:
View Replies View Relatedhow can set the combo so that when i click it, the code
<%
dim cStr
cStr = cboType
rs.Open "Select * from tblProduct Where type='" & cStr & "'",db
%>
I have a drop down menu and it is populated with different subdivisions...Those subdivisions are associated with an ID. I need a drop down box that once the subdivision is selected it will change the ID in a hidden textfield. Any thoughts or ideas on how to do this?
View Replies View Related