Calling Server Method

Posted by Shoyebaziz123 under ASP.NET on 8/19/2011 | Points: 10 | Views : 833 | Status : [Member] | Replies : 1
Hi All,

Can I call Server Method in this context,


adroter.Attributes.Add("onclick", " someservermethod() "')");

if yes , what is syntax ?

Thanks




Responses

Posted by: Jpchoudhari on: 8/19/2011 [Member] Starter | Points: 25

Up
0
Down
you can use like this

adroter.Click += new EventHandler(adroter_Click);


void adroter_Click(object sender, EventArgs e)
{
throw new NotImplementedException();
}


Kind Regards,
Jay

Shoyebaziz123, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response