朋友,当我想要点击按钮的事件它去Html代码 [英] Friends When I Want To Go To Click Event Of A Button Its Going To Html Code
本文介绍了朋友,当我想要点击按钮的事件它去Html代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
感谢高级
解决方案
它有一个简单的解决方案。
签入源文件(.aspx ) CodeBehind 属性正确指向default.aspx.cs。
示例:
<%@ Page 语言 = C# CodeBehind = default.aspx.cs
希望,它有助于els请告诉我:)
dear friends i am using Visual to develop my web application when i double click or click from click event in property of a button its just going to HTML code of page not going to default.aspx.cs page to write code for button
thanks in advanced
解决方案
It has a simple solution.
Check in the source file (.aspx) that CodeBehind attribute correctly points to "default.aspx.cs".
Example:
<%@ Page Language="C#" CodeBehind="default.aspx.cs"
Hope, it helps else let me know :)
这篇关于朋友,当我想要点击按钮的事件它去Html代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文