How to call popup window in asp.net mvc?
- by Renu123
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