DataFormatString="<input type=radio name=radio1 onClick=\"ClickRadio('{0}')\">"
解决方案 »
- 求正则匹配
- 为什么取不到控件呢?
- 关于伪静态的一个问题
- 如何查询数据库中非键字段的不重复数据.
- 我在game字段那里写了个link方法, 通过点击获得game字段值值。然后后台程序根据所得值在排序gridview ,但是运行以后点击没有任何反应 ,不知道哪里错了
- 求Lion.Web.UpLoadModule或AspnetUpload .NET组件
- 紧急求救,session 和cache无故丢失问题
- 怎么访问客户端的本地硬盘系统?
- ASP.net 下,如何调用XML模版,显示特定格式?
- 关于自定义控件的验证问题!(先100分奉上,如果能解决者,300分都没有问题)
- 一个比较高级的问题,请高手救命啊!!!有关Session反射的问题
- 请教一个数据的日期格式问题。
Private Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles DataGrid1.ItemDataBound
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
e.Item.Attributes.Add("onmouseover", "document.getElementById('temp').value='" + e.Item.Cells(0).Text + "';currentcolor=this.style.backgroundColor;this.style.backgroundColor='#ffffcc'")
e.Item.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor")
e.Item.Attributes.Add("onclick", "document.getElementById('TextBox1').value=document.getElementById('temp').value;")
End If
End Sub
<asp:RadioButton id="RB" runat="server" AutoPostBack="True" OnCheckedChanged="window.open('webform.aspx')"></asp:RadioButton>