0
我希望能夠在JQuery UI對話框中顯示iframe內容,而不是像我目前正在做的那樣彈出,但我似乎無法找到一種方法來實現這一目標。從itemcommand打開jquery ui對話框
我目前的解決辦法是這樣的:傳遞
If e.CommandName = "CustIDCommand" Then
Dim CustIDButton As LinkButton
CustIDButton = FindControl("CustIDBtn")
Dim str As String = "<script language='Javascript'>"
str = str + "window.open('/secure/CustCC.aspx','newwin','location=no,toolbar=no,menubar=no,width=500,height=275,left=400,top=300')"
str = str + "</script>"
Page.ClientScript.RegisterClientScriptBlock(Page.GetType(), "win", str)
Session("CustID") = e.CommandArgument
End If
的ID號,因此CustCC.aspx頁面顯示正確的數據。所有工作正常,但我想加載此模式的頁面,而不是彈出。
任何幫助,不勝感激
我不知道我怎麼調用此?原諒我缺乏知識。我目前有一個鏈接按鈕在一個asp:DetailsView'代碼' 'CausesValidation =」false「>客戶ID asp:linkbutton> ItemTemplate> asp:TemplateField> This fires the above from an ItemCommand –
你應該閱讀jQuery。我發佈了一個例子的鏈接。 –