I have a grid row builder in an MVC helper class. Now, assigned to one of the rows is a link to javascript code:
var link = string.Format(HTTPUtiltiy.UrlDecode(U.linkText), userId.linkText, row.ID);
sb.Append(string.Format("<a ref \javascript:openWin('{1}'\" title=\"User Edit\">{0}</a>", row.USERID, link));
_____________________________________________________________________________
View:
var link = Url.Action("EditUser", EditUser");
_____________________________________________________________________________
Simple controller:
public ActionResults UserEdit (id)
{
var user = new UserModel();
user = UserDAL.GetUserByID(id)
return View(user);
}
Now, when the controller opens the javascript window it displays the View in full screen. How can I make it look more like a dialog?
Thanks,
Steve Holdorf