0

我是 ASPX 的新手,我在开发代码时遇到了问题。请看下文。如何在删除按钮旁边设置一个文本框?

testTypeNode.Text = testTypeNode.Text & "" & _
                    " <img src=""../images/delete_16x.ico""" & _
                    " style=""text-align:bottom; cursor:pointer;"" alt=""Delete TestType""" & _
                    " title=""Delete TestType"" onclick=""javascript:if(confirm('`enter code here`Are you sure you want to delete? Any running tests will be aborted!'))" & _
                    " {" & ClientScript.GetPostBackEventReference(btnDeleteTestType, "" & sequenceNode.Value.ToString & _
                    WordSeparationChar & testTypeNode.Value.ToString & "") & ";};"" />"
4

1 回答 1

0

答案是:

testTypeNode.Text = testTypeNode.Text & "" & _
                                                            " <img src=""../images/delete_16x.ico""" & _
                                                            " style=""text-align:bottom; cursor:pointer;"" alt=""Delete TestType""" & _
                                                            " title=""Delete TestType"" onclick=""javascript:if(confirm('Are you sure you want to delete? Any running tests will be aborted!'))" & _
                                                            " {" & ClientScript.GetPostBackEventReference(btnDeleteTestType, "" & sequenceNode.Value.ToString & _
                                                            WordSeparationChar & testTypeNode.Value.ToString & "") & ";};"" />" & _
                                                            " <input type = ""text"" id = ""txtExperimentalStressdays"" name =""ExperimentalStressdays"" size = ""5"" title=""Please enter the Experimental Stressdays"" onclick="javascript:IsNumeric()/>"
于 2012-04-17T13:46:57.670 回答