private void uclStreamList_OnStreamClick(decimal streamID) { staticStream = new SQMStream().CreateNew("").Load(streamID); pnlStreamSearch.Visible = false; uclStreamList.BindStreamRecList(staticStream.RecList); uclStreamHdr.BindStreamRecHdr(staticStream.Data); uclSearchBar.SetButtonsEnabled(false, false, true, true, false, false); SetupPage(); }
protected void btnStreamSearch_Click(object sender, EventArgs e) { uclStreamList.BindSuppStreamList(SQMStream.SelectSuppStreamList(SessionManager.UserContext.WorkingLocation.Company.COMPANY_ID, SessionManager.UserContext.WorkingLocation.Plant.PLANT_ID, tbStreamSupp.Text, tbStreamPart.Text)); }