Mustafa, you need to add a Click event handler to your button every time the page 
loads.  

Your code will look something like this:

AddHandler Edit_EDU.Click, AddressOf myClickHandler

Here's an article with more info and a sample:
http://www.samspublishing.com/articles/article.asp?p=102148&seqNum=3

Greg Ewing [MVP]
www.citidc.com


Original Message:
>From: "Mustafa Ali Bamboat" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [AspNetAnyQuestionIsOk] getting hold of a control inside a tablecell
>Date: Wed, 02 Jun 2004 08:47:42 -0000

>HI Friends,
>
>I have created a button at design time to my  table. But how do I
>read an event when user click on it?
>
>Here I'm in enclosing the code, which create a button at design time 
>
>************************************
>        Dim Cell as New TableCell
>        Dim Edit_EDU as New Button
>
>        Edit_EDU.Text="    Edit     "
>        Edit_EDU.ID = "btn_Edit_EDU"
>
>        Cell.Controls.Add(Edit_EDU)
>
>        Dim Row as New TableRow
>        Table1.Rows.Add(Row.Cells.AddAt(0,Cell))
>************************************
>Please help me out,
>Looking forward to your reply.
>Regards,
>Mustafa Bamboat
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to