在 ContinueClick 代码中,它给出错误“控件必须位于
页面的控件树中。参数名称:控件”
$('#' + btnContinueClientID).click(function ()
{
ToShowAlertMessage()
}
function ToShowAlertMessage(controlName, segmentID, passengerID) {
$.post("/JQuerySeatMap.aspx",
{ ClickedControl: controlName,
str1: str1,
str2: str2,
str3: str3
},
public string ContinueClick(string str1, string str2, string str3)
{
ScriptManager.RegisterStartupScript(this, GetType(), "ClientScript", "alert('Alert
Message.');, true);
}
But in the ContinueClick code it gives an error "The control must be in the control tree
of a page. Parameter name: control"