473,473 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

any clickable control

Hi all,

Is there a webcontrol or an htmlcontrol available that does a postback on a
onclick but is more generic that a button? For example I would like to be
able to postback when I click on a div, or on a table cell.
I found out that I cannot use the HTMLGenericControl as it does not have a
'click' event.

TIA,

Corno
Nov 18 '05 #1
1 1192
Try with an image

<input type="image" src="..." />

On the click event of the image call MySend

<SCRIPT language="javascript">

function MySend()

{

document.F.action="yourpage.asp"
document.F.method="POST"
document.F.submit()

}

</SCRIPT>

On the
"Corno" wrote:
Hi all,

Is there a webcontrol or an htmlcontrol available that does a postback on a
onclick but is more generic that a button? For example I would like to be
able to postback when I click on a div, or on a table cell.
I found out that I cannot use the HTMLGenericControl as it does not have a
'click' event.

TIA,

Corno

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Tipper | last post by:
I am trying to create a clickable image for use within an MFC VC++ application. The requirement is for the control to generate messages on click or double click etc for different areas of the...
9
by: Paul W | last post by:
I'm using a Table webcontrol to display a 'grid' to the user. Various cells should be 'clickable' by the user (to run javascript). How can I make this happen? (currently I use the background cell...
0
by: DC Gringo | last post by:
I have a clickable image that I would like to convert into a server control. I need to preserve all of its existing front-end functions as well. OnClick I want to run a Sub on the server side, in...
1
by: Nathan Sokalski | last post by:
I have navigation that is made out of a table. I did this so that I could dynamically create my "buttons" (the cells formatted using CSS) and avoid creating a new graphic every time I changed the...
1
by: Adrian | last post by:
Hi All I have some text that I want to parse and display in such a way that a user can click on different bits and depending what the click on call the relevant sub. is the Rich Text Box the...
2
by: Progman | last post by:
How do you include a clickable image on an html page?
3
by: The alMIGHTY N | last post by:
I have a set of radio buttons that are not clickable in Internet Explorer. I dynamically generated them using DOM functions. The arrValues array below stores integers. obj4 =...
1
by: Sharon | last post by:
I'm using the PropertyGrid control, and I want it to show a button. But I set the PropertyGrid.SelectedObject with a object that as a Button property, the PropertyGrid shows the buttons properties,...
7
by: Jeff Gaines | last post by:
I have spent the day learning how to use Zend Development Environment. I can now produce a list of files in a directory, filtered by extension, and apparently clickable. Unfortunately clicking on...
3
by: crazychrisy54 | last post by:
Hi there I just wondered if there is any way using GD to insert a clickable button or some clickable text into a image? It is possible to create images for buttons but what if you want a...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.