protected virtual void lnkDetailDetails_Click(object sender, CommandEventArgs e) { NameValueCollection query = new NameValueCollection(); DataListObject list = this.obj.DetailList; list.CurrentRow = int.Parse(e.CommandArgument.ToString()); list.SelectRow(list.CurrentRow); query.Add("SalesOrderDetailId", this.obj.DetailList.SalesOrderDetailIdProperty.EditStringValue); query.Add(QuerySource, "lnkDetailDetails"); NavigateTo(uclSalesOrderDetailView, query, ModePopup); }
public virtual void lnkDetailDetails_Command(IView tgtView, IView curView, int row) { NameValueCollection query = lnkDetailDetails_Params(row); ViewModel tgtModel = ServiceProvider.GetService <SalesOrderDetailViewModel>(); if (NavigateTo(tgtModel, tgtView, query, this, curView)) { DataListObject list = this.obj.DetailList; if (list != null) { list.SelectRow(row); } } }