onclick ="checkAll(this);" & " Check_Click(this)"意思是 [英] onclick = "checkAll(this);" & "Check_Click(this)" mean
本文介绍了onclick ="checkAll(this);" & " Check_Click(this)"意思是的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请告诉我"checkAll(this);
"和给定上下文中的"Check_Click(this)
"?试图将行从一个gridview转移到另一个复选框.在给定条件下出现错误.
Please tell me what is the mean of "checkAll(this);
" & "Check_Click(this)
" in the given context? trying to transfer the rows from one gridview to another from checked checkboxes. getting error n the given terms.
<asp:GridView ID="gvAll" runat="server"
AutoGenerateColumns = "false" Font-Names = "Arial"
Font-Size = "11pt" AlternatingRowStyle-BackColor = "#C2D69B"
HeaderStyle-BackColor = "green" AllowPaging ="true"
OnPageIndexChanging = "OnPaging" PageSize = "10" >
<Columns>
<asp:TemplateField>
<HeaderTemplate>
<asp:CheckBox ID="chkAll" runat="server" onclick = "checkAll(this);"
AutoPostBack = "true" OnCheckedChanged = "CheckBox_CheckChanged"/>
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="chk" runat="server" onclick = "Check_Click(this)"
AutoPostBack = "true" OnCheckedChanged = "CheckBox_CheckChanged" />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField = "CustomerID" HeaderText = "Customer ID"
HtmlEncode = "false" />
<asp:BoundField DataField = "ContactName" HeaderText = "Contact Name"
HtmlEncode = "false" />
<asp:BoundField DataField = "City" HeaderText = "City"
HtmlEncode = "false" />
</Columns>
<AlternatingRowStyle BackColor="#C2D69B" />
</asp:GridView>
推荐答案
尝试以下操作:
将记录从一个网格视图传输到另一个网格视图
寻找有关checkAll(this);
和Check_Click(this)
??的更多详细信息?
阅读以下文章:
在ASP.Net GridView中使用JavaScript控制
Try following:
Transfer records from one gridview to another gridview
Looking for more detail regardingcheckAll(this);
andCheck_Click(this)
??
Read the following article:
Using JavaScript with ASP.Net GridView Control
这篇关于onclick ="checkAll(this);" & " Check_Click(this)"意思是的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文