How to call popup window in asp.net mvc?

Posted by Renu123 on Stack Overflow See other posts from Stack Overflow or by Renu123
Published on 2010-05-18T06:07:23Z Indexed on 2010/05/18 6:10 UTC
Read the original article Hit count: 218

Filed under:
|

hello i have js file for the popup window. i have used in asp.net but its not working in asp.net mvc can anyone tell me how to use this code in mvc

function openUserSavedListDetailsPopUp(id) { dhtmlmodal.open('UserInfo', 'iframe', 'UserSavedListDetails.aspx?listId=' + id, '', 'width=710px,height=150px,center=1,resize=0,scrolling=0') }

on page:

 <a  href="#" onclick='openUserSavedListDetailsPopUp(<%# DataBinder.Eval(Container.DataItem, "OrderId")%>)' > hello </a>

thank you in advance

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc