using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace MP_ADM.WebUserControls { public partial class cmp_TechSheetDetail : BaseUserControl { #region Public Properties public int IdxST { get { int answ = 0; int.TryParse(hfIdxST.Value, out answ); return answ; } set { hfIdxST.Value = $"{value}"; doUpdate(); } } #endregion Public Properties #region Protected Methods protected void Page_Load(object sender, EventArgs e) { } #endregion Protected Methods #region Public Methods public void doUpdate() { grView.SelectedIndex = -1; grView.DataBind(); } #endregion Public Methods } }