Hi,
I have an existing asp.net user control A and I need to use it inside another asp.net user control B. The problem here is that I cannot edit the codes inside the user control A.
My user control A contains a button click event function.
I have a button inside my user control B. I want to fire the button click event from user control A when I click on the button from user control B.
...
Search Result
Collapse
29 results in 0.0025 seconds.
Keywords
Members
Tags
-
Events disabled when did cut and paste? VB
In a form, when I cut a control (a label) which has an event attached to it (click event), i noticed that the event attached to it doesnt work anymore when you paste it (the label I cut). why? how to resolve this? -
Record Selectors Event
Hello,
I have a form (frm_Main) with 2 subforms on it (subform1 and subform2) and I want to select a record on subform1 and show related data on subform2, based on a field in common. So far so good, all the logic behind this is working perfectly... The problem is that I can't trigger an event when I select a record on subform1 so I can update the recordsource on subform2. Is there anyone with a brillient ideia how can help me??? ;)... -
Javascript "Concurrency"
I need the opposite of this. What I want to happen is the page loads, div_a hides after 3 seconds and then div_b hides after 3 more seconds. If I set both timeouts to 3 seconds, they happen together as if the clock starts from page load, not when the last event finished like other scripting, eg Python. I have to wait 3 seconds for the first and 6 seconds for the second per the last line of code.
Code:var ta = 3000; var
-
Skip or cancel onclick event in FF
Hi,
I have linkbutton with JS validations on onclick event. I need cancel or skip this event dinamically on the client. I cant rewrite logic of this linkbutton. I need disable this event which depend on some conditions from another elements on the page(dropdown, textbox...).
I need something like this.
Example:
function fired from other element, not from linkbutton.
Code:function someFce(linkButtonID)
-
Michael R started a topic Looking for a way to get event's arguments without using [Event Procedure]in AccessLooking for a way to get event's arguments without using [Event Procedure]
Hello.
I need to get an event argument, for example, current button state, without using [Event Procedure] sub arguments.
Is it possible?
background: I have a big amount of similar controls and each one of them should react in a similar way on MouseDown event. I'm using "=MouseDownSub( "TextXX")" instead of [Event Procedure] in the MouseDown property for each control in controls Te... -
How do I implement a form closing event?
What I want to do is open up a new form to retrieve two values from a user through NumericUpDown controls. This controls open in a new form and I have managed to retrieve these values on my new form. When the "OK" button is pressed the values of the NumericUpDown controls are put into variables on my main form.
What I want to do is check whether the form has been closed from within my main form but I'm not sure how to do... -
Why is onclick event not firing when button clicked?
Hi,
I have the following code and no matter what I do onclick event for button is not firing. I tried deleting the button, the pages. Redid the code. Moved the web project to a different computer and nothing. It worked a few hours ago.
Code on the web control .ascx:
Code:<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddNewPlaylist.ascx.cs" Inherits="WebControls_AddNewPlaylist"
-
How to move image on report using Detail OnFormat Event?
I have a problem of changing the placement of an embedded image for a report/print. The initial left measurement of the image format is set to 0. I desire to move the image to the right during a Detail section On Format Event.
Starting with a simple command to move the embedded OLE field 1 inch to the right I have set up a Detail On Format Event of:
Code:Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Last edited by MMcCarthy; Nov 25 '10, 06:29 PM. -
User Control Events
Hi,
I am working on Windows Form.
I have a user control, which has an Image(PictureBo x) and a label.
Now When i am using it on the form and i have attached an click event on the user control.
When i click on the control the click event works fine, but when i click on the image or label inside the user control, it calls the events of the image and label respectively. But i don't want to call... -
MouseEnter Event
Hi,
I am creating a panel at run time.
Inside that panel i am creating 2 lables.
I had attached mouseenter and mouseleave events for label as well as panel.
Now I want to call the events of mouseenter of lable, when the mouse enters the panel.
How to i do that .......? -
Which form event fires after any field is updated?
I'm trying to find which event fires after any of the textboxes are updated on my form. I have an average field, and any time a user changes any one of the 20 textboxes I want it to update.
Or, is there a better way to do this?
I have tried Form_AfterUpdat e, Form_DataChange but no luck -
how to call JavaScript function in user control ?
simply i take one user control and register it in one page
now in this page i write a JavaScript function like this
Code:function sethere() { document.getElementById('<%=(test1.FindControl("TextBox1")).ClientID %>') = document.getElementById('<%=(test3.FindControl("TextBox1")).ClientID %>').value; }
now how to call it in user control,user...Last edited by Frinavale; Jun 25 '10, 03:07 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags. -
open webpage and simulate key press events
I have been trying to merge two command scripts, and have gotten nothing. I am trying to use javascript commands to open a new window on Firefox, and on that opened window simulate a Tab key press.
This is the full script that I have come up with so far to open two windows, with the websites being yahoo.com and google.com. ***To fully help me please copy this script, paste to Notepad, save as a .html file and run it on Firefox. You... -
Unable to get event to fire.
I have been unable to get the following code to work. The AddEventClicked event is always null. I have done stuff like this often in the past but for some reason I can't get it to work here. I get no errors. The only thing I can think of is that the problem has something to do with the event not being subscribed to on postback. What am I doing wrong? Thanks.
Code:public partial class _Default : System.Web.UI.Page {