Ask a Question related to ASP.NET Building Controls, Design and Development.
-
jorge #1
Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl.
Hello
I have the following situation: (everything is dynamic (controls.add))
1. Button.Init {
WasButtonClickFired = true
}
2. TextBox.TextChanged {
WasButtonClickFired?
}
3. ImageButton.Click {
}
I need a way to get the TextChanged event not to fire or at least to know if
the Click event of a button has been fired.
Thanks.
/ jorge
jorge Guest
-
Button Click Event Not Working
I'm a newbie to Flex. What I'm trying to do is to make a button when clicked, it prints some string. I like the code to be inside a class, if... -
button click event from inside a list
Hi, I made a custom button (CustomButton.mxml) component and I use it inside a list as a itemRenderer, like that: <mx:List id="prodList"... -
SIMULATE / FORCE A BUTTON CLICK OR EVENT
Since it's not listed in this forum, here's the answer: <cfsavecontent variable="force"> add_user.dispatchEvent({type:"click"});... -
The button(in repeater)'s click event
I want to set click event of buttons which are created by repeater ,in the event i want to remove the data of special indexitem, as follows:... -
Access the FooterTemplates TextBox control on the Button Click Event
Hello, I have the following code in the .aspx file <asp:TemplateColumn HeaderText=" FG Name"> <HeaderStyle ForeColor="White"></HeaderStyle>... -
jorge #2
Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl.
Hello
I have the following situation: (everything is dynamic (controls.add))
1. Button.Init {
WasButtonClickFired = true
}
2. TextBox.TextChanged {
WasButtonClickFired?
}
3. ImageButton.Click {
}
I need a way to get the TextChanged event not to fire or at least to know if
the Click event of a button has been fired.
Thanks.
/ jorge
jorge Guest
-
Teemu Keiski #3
Re: Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl.
Hi,
you'd know that if you'd have the processing in OnPreRender (when you know
which have been raised and which don't). Other way is to manually check
Request.Form collection if there would be ImageButton in the form post
collection data. You can't impact on order of the events.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
[url]http://blogs.aspadvice.com/joteke[/url]
"jorge" <anonymous@discussions.microsoft.com> wrote in message
news:uYXv4YcQEHA.3524@TK2MSFTNGP09.phx.gbl...if> Hello
>
> I have the following situation: (everything is dynamic (controls.add))
>
> 1. Button.Init {
> WasButtonClickFired = true
> }
>
> 2. TextBox.TextChanged {
> WasButtonClickFired?
> }
>
> 3. ImageButton.Click {
> }
>
>
> I need a way to get the TextChanged event not to fire or at least to know> the Click event of a button has been fired.
>
> Thanks.
> / jorge
>
>
>
>
Teemu Keiski Guest



Reply With Quote

