Ask a Question related to ASP.NET General, Design and Development.
-
Dane Dickey #1
Raising an Event via Code
Our web application has a user control on a web page to
display hierarchical data and allow the user to "drill-
down" the hierarchy tree. The user control is a datalist,
with an image button("+" or "-" sign like windows
explorer), a checkbox and a label. Currently when the
page first loads, the highest level (one item) is
displayed (with a "+" image). The user has to click the
plus sign to expand the hierarchy. The user would like
for it to expand once by default, displaying the parent
(with a "-" image) and the first generation of children
(with "+" images) in the tree. I need to raise the
datalist_ItemCommand and get the tree to expand when the
page first loads. How should I raise this event?
Thanks
Dane
Dane Dickey Guest
-
Raising a click event
I created a custom control - inheriting from WebControl. How do I give this control a click event for the user of the control to put some code... -
raising Page event with customs webcontrol
Hello, I'm trying to raise a Page level event from a custom webcontrol. I can get the event to fire but the context of the even is within the... -
Event raising question
Hi, I have a question regarding events in a composite web control. In windows forms when I programmatically set the SelectedIndex property of a... -
dynamic linkbuttons event not raising - newbie
Hi, I am creating a custom server control, and it dynamically creates lots of LinkButtons, and then I try to subscribe to the click event doing... -
raising event
Assuming you have an event handler written for the "ontextchanged" event of the textbox, why don't you just call it directly? -- HTH, Kevin... -
Natty Gur #2
Re: Raising an Event via Code
Hi,
use java script to simulate click on the image button.
Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114
Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377
Know the overall picture
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest
-
Natty Gur #3
Re: Raising an Event via Code
Hi,
use java script to simulate click on the image button.
Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114
Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377
Know the overall picture
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest



Reply With Quote

