Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Deployment / January 2006



Tip: Looking for answers? Try searching our database.

How to create VB OnClick Event dynametically from ImageButton

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian - 15 Jan 2006 23:52 GMT
I am having trouble creating Imagebutton at runtime from VB.NET code behind
page.  I can create imagebutton dynamically but don't know how to create
onclick event from vb code behind page.  There is no onclick event in
Imagebutton at design time neither.  How can I create a ImageButton_Click in
my code behind page to execute the imagebutton_click event from VB.NET code
behind page?

Could you provide me a sample if possible?

Thanks in advance.

Brian
Jan Hyde - 16 Jan 2006 09:10 GMT
"Brian" <Brian@discussions.microsoft.com>'s wild thoughts
were released on Sun, 15 Jan 2006 15:52:01 -0800 bearing the
following fruit:

>I am having trouble creating Imagebutton at runtime from VB.NET

You'll need to ask in a 'dotnet' group. This one is for VB
'classic'

J

> code behind
>page.  I can create imagebutton dynamically but don't know how to create
[quoted text clipped - 8 lines]
>
>Brian

Jan Hyde (VB MVP)

Signature

A carpenter varnished without a trace (Pun of the Day)

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.