Tips & Tricks for ASP.NET - C#

Google site Search
Dynamic Image Button Click

ImageButton ibSend = new ImageButton();

ibSend.ImageUrl = "images/bt_send.gif";
ibSend.ID = "ibSend";

ibSend.Click += new ImageClickEventHandler(ibSend_Click);

//Tip: after putting += just press tab twice visual studio will create the below.

   void ibSend_Click(object sender, ImageClickEventArgs e)
    {
       //blah blah blah
    }



Arvixe offers ASP.net hosting that's good for testing plugins. Here is a good arvixe review if you want to know more.

Comments
Dann Says:-
“ Nice dude ”
 
 
Write Comments
Name  
Email    
Comments  

Other Titles