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。我发布了一个例子的链接。 –