Then create the template for editing as follow:<obout:GridTemplateID="GridTemplate1"runat="server"ControlID="CountryEdit"ControlPropertyName="value"><Template><asp:TextBoxrunat="server"ID="CountryEdit"style="width: 110px;"CssClass="ob_gEC"/><br/><asp:RequiredFieldValidatorrunat="server"Display="Dynamic"id="rfvCountry"controlToValidate="CountryEdit"errormessage="Required"text=""/></Template></obout:GridTemplate>