>>>在对话中输入一个值后按确定把值写入刚点击的那个值on the client side, you could do, (but you need to add code to update the server side)<script language="javascript">
function DataGrid1.onclick()
{
var e = event.srcElement;
if (e.tagName == "TD")
{
var s = prompt("please enter a new text", e.innerText);
if (s != null)
e.innerText = s;
}
}
</script>alsp see Creating a Details Popup Window Grid in a DataGrid
http://www.dotnetjunkies.com/Tutorial/ShowContent.aspx?cg=7DA11F1D-2621-4A97-BB64-B46284E27DC3&forumId=4179
function DataGrid1.onclick()
{
var e = event.srcElement;
if (e.tagName == "TD")
{
var s = prompt("please enter a new text", e.innerText);
if (s != null)
e.innerText = s;
}
}
</script>alsp see Creating a Details Popup Window Grid in a DataGrid
http://www.dotnetjunkies.com/Tutorial/ShowContent.aspx?cg=7DA11F1D-2621-4A97-BB64-B46284E27DC3&forumId=4179
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货