Adf.Web.UI.RowSelectorColumn.SetIndexValue C# (CSharp) Method

SetIndexValue() private method

private SetIndexValue ( System.Web.UI.HtmlControls.HtmlInputRadioButton radioSelector ) : void
radioSelector System.Web.UI.HtmlControls.HtmlInputRadioButton
return void
        protected virtual void SetIndexValue(HtmlInputRadioButton radioSelector)
        {
            GridViewRow row = radioSelector.NamingContainer as GridViewRow;
            if (row != null)
            {
                radioSelector.Value = row.RowIndex.ToString();
            }
        }