Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - do you know how i to create events dynamicaly?

 
Thread Tools Search this Thread
Old 08-05-2004, 05:31 PM   #1
Default do you know how i to create events dynamicaly?


hello friends, i am writing a page aspx and creating controls dinamicaly and
then
i must to create for each control the events as well.

Anybody to know how?????

happy day

lion




leon
  Reply With Quote
Old 08-05-2004, 05:41 PM   #2
Lucas Tam
 
Posts: n/a
Default Re: do you know how i to create events dynamicaly?
"leon" <> wrote in
news::

> hello friends, i am writing a page aspx and creating controls
> dinamicaly and then
> i must to create for each control the events as well.
>
> Anybody to know how?????


Use AddHandler to add event handlers to controls.



--
Lucas Tam ()
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/


Lucas Tam
  Reply With Quote
Old 08-05-2004, 05:51 PM   #3
leon
 
Posts: n/a
Default Re: do you know how i to create events dynamicaly?
but it is in VB, I need in C#?

lion


"Lucas Tam" <> wrote in message
news:Xns953C81434C6nntprogerscom@140.99.99.130...
> "leon" <> wrote in
> news::
>
> > hello friends, i am writing a page aspx and creating controls
> > dinamicaly and then
> > i must to create for each control the events as well.
> >
> > Anybody to know how?????

>
> Use AddHandler to add event handlers to controls.
>
>
>
> --
> Lucas Tam ()
> Please delete "REMOVE" from the e-mail address when replying.
> http://members.ebay.com/aboutme/coolspot18/





leon
  Reply With Quote
Old 11-30-2004, 06:10 AM   #4
Michelle Hlaing
 
Posts: n/a
Default Re: do you know how i to create events dynamicaly?
In the Visual Studio Help, search for:

1)Creating an Event Handler at Run Time in Web Forms Pages
2) Creating Event Handlers at Run Time for Windows Forms

Hope that helps,

Michelle

***Disclaimer: This posting is provided "as is" with no warranties and confers no rights.***
--------------------
>From: "leon" <>
>References: <> <Xns953C81434C6nntprogerscom@

140.99.99.130>
>Subject: Re: do you know how i to create events dynamicaly?
>Date: Thu, 5 Aug 2004 11:51:47 -0500
>Lines: 26
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
>Message-ID: <>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 200.75.94.158
>Path: cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTF EED01.phx.gbl!TK2MSFTNGP08.phx.gbl!

TK2MSFTNGP10.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:252376
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>but it is in VB, I need in C#?
>
>lion
>
>
>"Lucas Tam" <> wrote in message
>news:Xns953C81434C6nntprogerscom@140.99.99.130...
>> "leon" <> wrote in
>> news::
>>
>> > hello friends, i am writing a page aspx and creating controls
>> > dinamicaly and then
>> > i must to create for each control the events as well.
>> >
>> > Anybody to know how?????

>>
>> Use AddHandler to add event handlers to controls.
>>
>>
>>
>> --
>> Lucas Tam ()
>> Please delete "REMOVE" from the e-mail address when replying.
>> http://members.ebay.com/aboutme/coolspot18/

>
>
>





Michelle Hlaing
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to burn copy CD/DVD and create Data/Audio/Video Disc? dvdloveri Software 6 07-27-2009 07:58 AM
how to create os image in same drive using symantech ghost 11. manojgj Hardware 0 02-28-2008 08:47 AM
How to create a short clip from a .VOD file? zalek DVD Video 3 01-24-2007 06:50 PM
DVD Verdict reviews: LEMONY SNICKET'S A SERIES OF UNFORTUNATE EVENTS and more! DVD Verdict DVD Video 0 05-02-2005 09:17 AM
Press Release - Visual CertExam Suite Makes It Easy to Create and Take Professional Practice Tests David Johnson A+ Certification 0 10-19-2004 05:03 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46