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();
}
}