Hi

Author: btechathi | Posted on: 11/15/2010 5:28:29 AM | Views : 1199

Hi,
 
In ASP.Net code page, I have declared a variable like
public static string Str_msg="Microsoft"; 
and In Client Side,
 
<asp:LinkButton ID="lnkbtn" runat="server" Text="Click Me" OnClientClick=<%= "javascript:alert('Hi Welcome " + Str_msg + "')" %>></asp:LinkButton>
 
and its getting error..
 
Can any one advice me that where i am making mistake.....
 
 
Thanks & Regards
btechathi
...

Go to the complete details ...