473,320 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

WebControl, Server side events

Hi,

I am new to WebControls, I am trying to implement a control that wil raise a
server side event resulting from a client side action, The broblem is that
the event shoudl be triggered as a result of a mouseup indication of a
certain <DIV> and not by an <INPUT type=submit> element in combination with
the IPostBackEventHandler interface....
How can this be achived?
Is it possible to get a server side indication as a result of client side
mouse up event?

Any pointers help or samples would be appriciated...

--
Nadav
http://www.sophin.com
Nov 16 '05 #1
1 1269
Hi Nadav,

If you have server control which will call post back on your webform, you
can find javascript function 'function __doPostBack(eventTarget,
eventArgument)'. Call that function on your client side mouse up event, then
you can raise a server side event.

"Nadav" wrote:
Hi,

I am new to WebControls, I am trying to implement a control that wil raise a
server side event resulting from a client side action, The broblem is that
the event shoudl be triggered as a result of a mouseup indication of a
certain <DIV> and not by an <INPUT type=submit> element in combination with
the IPostBackEventHandler interface....
How can this be achived?
Is it possible to get a server side indication as a result of client side
mouse up event?

Any pointers help or samples would be appriciated...

--
Nadav
http://www.sophin.com

Nov 16 '05 #2

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

Similar topics

5
by: Mong | last post by:
Hi, I have a webform with various asp controls on it such as textboxes and dropdownlists. I'm fairly new to asp.net coming from VB6 and am wondering when it's best to use client side events and...
0
by: Lucas, Todd | last post by:
Hello everyone! I'm having a problem with a WebControl that I'm designing for a Menu. I've been at it for about 3 weeks now, and can't seem to get around this problem. So I'm hoping that someone...
2
by: MilanB | last post by:
Hello I use DropDownList (webControl) for choosing user account type for my site. I set desired value, and disable control, in order to disable user to modify it. Is there any possibility to...
11
by: Henrry Pires | last post by:
Hello to all I'm trying to make a webcontrol. I need to put on it 4 butons and one label but i have no idia how to make it. I already wrote some windowsformrs controls and it is very diferent...
0
by: Demetri | last post by:
I have created a web control that can be rendered as either a linkbutton or a button. It is a ConfirmButton control that allows a developer to force a user to confirm if they intended to click it...
3
by: Bob | last post by:
Hi, I 'm starting asp.net and i saw two ways to make buttons. Which way to use? Are the htmlbuttons in specific case better than webbuttons? Are there advantages? Thanks Bob htmlbutton:...
2
by: Peregrin | last post by:
Hello world. I will try to explain my problem. I've a webcontrol with an interface which provides a choice of methods. After including the webcontrol in a special aspx page, I want to call an...
12
by: Eric Layman | last post by:
Hi, What's the difference between a normal web element: <input type="text" id="txtname" name="txtname" runat="server"> vs webcontrol text box: <asp:Textbox id="username" Columns="10"...
0
by: JohnK82 | last post by:
Hi guys I have a webcontrol that displays an article in multiple parts. You can jump back and forward between the parts (I call them sheets) by clicking on a label. Each sheet has a label. The...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.