maybe you can do it like this In Page_Load event ImageButton1.Attributes.Add("onclick", "javascript:alert('yes')");
D
dotnetBeginer
@dotnetBeginer
Posts
-
Call Javascript and asp .net click event also
maybe you can do it like this In Page_Load event ImageButton1.Attributes.Add("onclick", "javascript:alert('yes')");