开发者

Master and content pages with javascript in asp.net 2.0

Hi i'm 开发者_如何转开发very new to .net programming.I want to run a javascript from a content page containing a button. I'm able to display a button but dont know how to bind action. Help me in this regard.


I think it should be easy to Attach a JavaScript function to the control by doing the following:

<asp:Button ID="Button1" runat="server" Text="Button" 
    OnClientClick="javascript:JSFunctionName();" />

If you have a specific problem then let me know ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜