How to hide column from gridview on edit click?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
"I m using asp.net gridview,when user clicks on edit button the dropdownlist column should get hide.what should i do to make it hide? I have attached the code below.The gridview contains students data and gridview will display records according to the classwise data selected by the user.i have tried on OnRowDataBound to hide the column but its not working for me.Is there any way where i can hide particular column OnRowEditing event"
<asp:GridView ID="GridView1" runat="server" DataKeyNames="id"
CssClass="table table-bordered table-striped"
AutoGenerateColumns="False"
HorizontalAlign="Center" CellPadding="4"
EmptyDataText="No Record Found....."
onrowcancelingedit="GridView1_RowCancelingEdit"
onrowediting="GridView1_RowEditing"
onrowupdating="GridView1_RowUpdating"
ForeColor="#333333"
GridLines="None"
OnPageIndexChanging="OnPageIndexChanging" PageSize="15"
AllowPaging="true" >
<PagerSettings Position="Bottom" />
<AlternatingRowStyle BackColor="White"
ForeColor="#284775"
/>
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="chkRow" runat="server"/>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Sr.No">
<ItemTemplate>
<asp:Label ID="lblId" runat="server"
Text='<%#Container.DataItemIndex+1%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Name">
<ItemTemplate>
<asp:Label ID="lblFullName" runat="server"
Text='<%#Eval("Name") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ack">
<ItemTemplate>
<edititemtemplate>
<asp:DropDownList
ID="Drpacknowledgement" AutoPostBack="True"
onselectedindexchanged="Drpacknowledgement_SelectedIndexChanged"
runat="server">
<asp:ListItem>--Select--</asp:ListItem>
<asp:ListItem>Received</asp:ListItem>
<asp:ListItem>Reject</asp:ListItem>
</asp:DropDownList>
</edititemtemplate>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Edit/Update">
<ItemTemplate>
<asp:LinkButton ID="LkB1" runat="server"
CommandName="Edit">Edit</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="LkB2" runat="server"
CommandName="Update">Update</asp:LinkButton>
<asp:LinkButton ID="LkB3" runat="server"
CommandName="Cancel">Cancel</asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
Codebehind:
protected void GridView1_RowEditing(object sender,
GridViewEditEventArgs
e)
{
try
{
string Id =
GridView1.DataKeys[e.NewEditIndex].Value.ToString();
GridView1.EditIndex = e.NewEditIndex;
ViewState["Id"] = Id;
EditRecord();
}
catch (Exception ex)
{
}
}
c# asp.net
add a comment |
"I m using asp.net gridview,when user clicks on edit button the dropdownlist column should get hide.what should i do to make it hide? I have attached the code below.The gridview contains students data and gridview will display records according to the classwise data selected by the user.i have tried on OnRowDataBound to hide the column but its not working for me.Is there any way where i can hide particular column OnRowEditing event"
<asp:GridView ID="GridView1" runat="server" DataKeyNames="id"
CssClass="table table-bordered table-striped"
AutoGenerateColumns="False"
HorizontalAlign="Center" CellPadding="4"
EmptyDataText="No Record Found....."
onrowcancelingedit="GridView1_RowCancelingEdit"
onrowediting="GridView1_RowEditing"
onrowupdating="GridView1_RowUpdating"
ForeColor="#333333"
GridLines="None"
OnPageIndexChanging="OnPageIndexChanging" PageSize="15"
AllowPaging="true" >
<PagerSettings Position="Bottom" />
<AlternatingRowStyle BackColor="White"
ForeColor="#284775"
/>
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="chkRow" runat="server"/>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Sr.No">
<ItemTemplate>
<asp:Label ID="lblId" runat="server"
Text='<%#Container.DataItemIndex+1%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Name">
<ItemTemplate>
<asp:Label ID="lblFullName" runat="server"
Text='<%#Eval("Name") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ack">
<ItemTemplate>
<edititemtemplate>
<asp:DropDownList
ID="Drpacknowledgement" AutoPostBack="True"
onselectedindexchanged="Drpacknowledgement_SelectedIndexChanged"
runat="server">
<asp:ListItem>--Select--</asp:ListItem>
<asp:ListItem>Received</asp:ListItem>
<asp:ListItem>Reject</asp:ListItem>
</asp:DropDownList>
</edititemtemplate>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Edit/Update">
<ItemTemplate>
<asp:LinkButton ID="LkB1" runat="server"
CommandName="Edit">Edit</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="LkB2" runat="server"
CommandName="Update">Update</asp:LinkButton>
<asp:LinkButton ID="LkB3" runat="server"
CommandName="Cancel">Cancel</asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
Codebehind:
protected void GridView1_RowEditing(object sender,
GridViewEditEventArgs
e)
{
try
{
string Id =
GridView1.DataKeys[e.NewEditIndex].Value.ToString();
GridView1.EditIndex = e.NewEditIndex;
ViewState["Id"] = Id;
EditRecord();
}
catch (Exception ex)
{
}
}
c# asp.net
add a comment |
"I m using asp.net gridview,when user clicks on edit button the dropdownlist column should get hide.what should i do to make it hide? I have attached the code below.The gridview contains students data and gridview will display records according to the classwise data selected by the user.i have tried on OnRowDataBound to hide the column but its not working for me.Is there any way where i can hide particular column OnRowEditing event"
<asp:GridView ID="GridView1" runat="server" DataKeyNames="id"
CssClass="table table-bordered table-striped"
AutoGenerateColumns="False"
HorizontalAlign="Center" CellPadding="4"
EmptyDataText="No Record Found....."
onrowcancelingedit="GridView1_RowCancelingEdit"
onrowediting="GridView1_RowEditing"
onrowupdating="GridView1_RowUpdating"
ForeColor="#333333"
GridLines="None"
OnPageIndexChanging="OnPageIndexChanging" PageSize="15"
AllowPaging="true" >
<PagerSettings Position="Bottom" />
<AlternatingRowStyle BackColor="White"
ForeColor="#284775"
/>
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="chkRow" runat="server"/>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Sr.No">
<ItemTemplate>
<asp:Label ID="lblId" runat="server"
Text='<%#Container.DataItemIndex+1%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Name">
<ItemTemplate>
<asp:Label ID="lblFullName" runat="server"
Text='<%#Eval("Name") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ack">
<ItemTemplate>
<edititemtemplate>
<asp:DropDownList
ID="Drpacknowledgement" AutoPostBack="True"
onselectedindexchanged="Drpacknowledgement_SelectedIndexChanged"
runat="server">
<asp:ListItem>--Select--</asp:ListItem>
<asp:ListItem>Received</asp:ListItem>
<asp:ListItem>Reject</asp:ListItem>
</asp:DropDownList>
</edititemtemplate>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Edit/Update">
<ItemTemplate>
<asp:LinkButton ID="LkB1" runat="server"
CommandName="Edit">Edit</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="LkB2" runat="server"
CommandName="Update">Update</asp:LinkButton>
<asp:LinkButton ID="LkB3" runat="server"
CommandName="Cancel">Cancel</asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
Codebehind:
protected void GridView1_RowEditing(object sender,
GridViewEditEventArgs
e)
{
try
{
string Id =
GridView1.DataKeys[e.NewEditIndex].Value.ToString();
GridView1.EditIndex = e.NewEditIndex;
ViewState["Id"] = Id;
EditRecord();
}
catch (Exception ex)
{
}
}
c# asp.net
"I m using asp.net gridview,when user clicks on edit button the dropdownlist column should get hide.what should i do to make it hide? I have attached the code below.The gridview contains students data and gridview will display records according to the classwise data selected by the user.i have tried on OnRowDataBound to hide the column but its not working for me.Is there any way where i can hide particular column OnRowEditing event"
<asp:GridView ID="GridView1" runat="server" DataKeyNames="id"
CssClass="table table-bordered table-striped"
AutoGenerateColumns="False"
HorizontalAlign="Center" CellPadding="4"
EmptyDataText="No Record Found....."
onrowcancelingedit="GridView1_RowCancelingEdit"
onrowediting="GridView1_RowEditing"
onrowupdating="GridView1_RowUpdating"
ForeColor="#333333"
GridLines="None"
OnPageIndexChanging="OnPageIndexChanging" PageSize="15"
AllowPaging="true" >
<PagerSettings Position="Bottom" />
<AlternatingRowStyle BackColor="White"
ForeColor="#284775"
/>
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="chkRow" runat="server"/>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Sr.No">
<ItemTemplate>
<asp:Label ID="lblId" runat="server"
Text='<%#Container.DataItemIndex+1%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Name">
<ItemTemplate>
<asp:Label ID="lblFullName" runat="server"
Text='<%#Eval("Name") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Ack">
<ItemTemplate>
<edititemtemplate>
<asp:DropDownList
ID="Drpacknowledgement" AutoPostBack="True"
onselectedindexchanged="Drpacknowledgement_SelectedIndexChanged"
runat="server">
<asp:ListItem>--Select--</asp:ListItem>
<asp:ListItem>Received</asp:ListItem>
<asp:ListItem>Reject</asp:ListItem>
</asp:DropDownList>
</edititemtemplate>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Edit/Update">
<ItemTemplate>
<asp:LinkButton ID="LkB1" runat="server"
CommandName="Edit">Edit</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="LkB2" runat="server"
CommandName="Update">Update</asp:LinkButton>
<asp:LinkButton ID="LkB3" runat="server"
CommandName="Cancel">Cancel</asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
Codebehind:
protected void GridView1_RowEditing(object sender,
GridViewEditEventArgs
e)
{
try
{
string Id =
GridView1.DataKeys[e.NewEditIndex].Value.ToString();
GridView1.EditIndex = e.NewEditIndex;
ViewState["Id"] = Id;
EditRecord();
}
catch (Exception ex)
{
}
}
c# asp.net
c# asp.net
asked Jan 3 at 8:59
MeetaliMeetali
114
114
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
use Rowcommand for button click.
https://www.codeproject.com/Tips/564619/%2FTips%2F564619%2FExample-of-gridview-rowcommand-on-Button-Click
<asp:GridView ID="GridView1" runat="server" DataKeyNames="id"
CssClass="table table-bordered table-striped"
AutoGenerateColumns="False"
HorizontalAlign="Center" CellPadding="4"
EmptyDataText="No Record Found....."
onrowcancelingedit="GridView1_RowCancelingEdit"
onrowediting="GridView1_RowEditing"
onrowupdating="GridView1_RowUpdating"
ForeColor="#333333"
GridLines="None"
OnPageIndexChanging="OnPageIndexChanging" PageSize="15"
OnRowCommand="GridView1_RowCommand"
AllowPaging="true" >
<PagerSettings Position="Bottom" />
<AlternatingRowStyle BackColor="White"
ForeColor="#284775"
/>
<asp:TemplateField HeaderText="Edit/Update">
<ItemTemplate>
<asp:LinkButton ID="LkB1" runat="server" CommandName="Edit"
CommandName="Edit">Edit</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="LkB2" runat="server"
CommandName="Update">Update</asp:LinkButton>
<asp:LinkButton ID="LkB3" runat="server"
CommandName="Cancel">Cancel</asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Edit")
{
//do your stuff here
GridView1.Columns[5].Visible = false;
}
}
add a comment |
If I understand your question correctly, I think this will do the trick
protected void GridView1_DataBound(object sender, EventArgs e)
{
if (GridView1.EditIndex > -1)
GridView1.Columns[5].Visible = false;
else
GridView1.Columns[5].Visible = true;
}
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54019065%2fhow-to-hide-column-from-gridview-on-edit-click%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
use Rowcommand for button click.
https://www.codeproject.com/Tips/564619/%2FTips%2F564619%2FExample-of-gridview-rowcommand-on-Button-Click
<asp:GridView ID="GridView1" runat="server" DataKeyNames="id"
CssClass="table table-bordered table-striped"
AutoGenerateColumns="False"
HorizontalAlign="Center" CellPadding="4"
EmptyDataText="No Record Found....."
onrowcancelingedit="GridView1_RowCancelingEdit"
onrowediting="GridView1_RowEditing"
onrowupdating="GridView1_RowUpdating"
ForeColor="#333333"
GridLines="None"
OnPageIndexChanging="OnPageIndexChanging" PageSize="15"
OnRowCommand="GridView1_RowCommand"
AllowPaging="true" >
<PagerSettings Position="Bottom" />
<AlternatingRowStyle BackColor="White"
ForeColor="#284775"
/>
<asp:TemplateField HeaderText="Edit/Update">
<ItemTemplate>
<asp:LinkButton ID="LkB1" runat="server" CommandName="Edit"
CommandName="Edit">Edit</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="LkB2" runat="server"
CommandName="Update">Update</asp:LinkButton>
<asp:LinkButton ID="LkB3" runat="server"
CommandName="Cancel">Cancel</asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Edit")
{
//do your stuff here
GridView1.Columns[5].Visible = false;
}
}
add a comment |
use Rowcommand for button click.
https://www.codeproject.com/Tips/564619/%2FTips%2F564619%2FExample-of-gridview-rowcommand-on-Button-Click
<asp:GridView ID="GridView1" runat="server" DataKeyNames="id"
CssClass="table table-bordered table-striped"
AutoGenerateColumns="False"
HorizontalAlign="Center" CellPadding="4"
EmptyDataText="No Record Found....."
onrowcancelingedit="GridView1_RowCancelingEdit"
onrowediting="GridView1_RowEditing"
onrowupdating="GridView1_RowUpdating"
ForeColor="#333333"
GridLines="None"
OnPageIndexChanging="OnPageIndexChanging" PageSize="15"
OnRowCommand="GridView1_RowCommand"
AllowPaging="true" >
<PagerSettings Position="Bottom" />
<AlternatingRowStyle BackColor="White"
ForeColor="#284775"
/>
<asp:TemplateField HeaderText="Edit/Update">
<ItemTemplate>
<asp:LinkButton ID="LkB1" runat="server" CommandName="Edit"
CommandName="Edit">Edit</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="LkB2" runat="server"
CommandName="Update">Update</asp:LinkButton>
<asp:LinkButton ID="LkB3" runat="server"
CommandName="Cancel">Cancel</asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Edit")
{
//do your stuff here
GridView1.Columns[5].Visible = false;
}
}
add a comment |
use Rowcommand for button click.
https://www.codeproject.com/Tips/564619/%2FTips%2F564619%2FExample-of-gridview-rowcommand-on-Button-Click
<asp:GridView ID="GridView1" runat="server" DataKeyNames="id"
CssClass="table table-bordered table-striped"
AutoGenerateColumns="False"
HorizontalAlign="Center" CellPadding="4"
EmptyDataText="No Record Found....."
onrowcancelingedit="GridView1_RowCancelingEdit"
onrowediting="GridView1_RowEditing"
onrowupdating="GridView1_RowUpdating"
ForeColor="#333333"
GridLines="None"
OnPageIndexChanging="OnPageIndexChanging" PageSize="15"
OnRowCommand="GridView1_RowCommand"
AllowPaging="true" >
<PagerSettings Position="Bottom" />
<AlternatingRowStyle BackColor="White"
ForeColor="#284775"
/>
<asp:TemplateField HeaderText="Edit/Update">
<ItemTemplate>
<asp:LinkButton ID="LkB1" runat="server" CommandName="Edit"
CommandName="Edit">Edit</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="LkB2" runat="server"
CommandName="Update">Update</asp:LinkButton>
<asp:LinkButton ID="LkB3" runat="server"
CommandName="Cancel">Cancel</asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Edit")
{
//do your stuff here
GridView1.Columns[5].Visible = false;
}
}
use Rowcommand for button click.
https://www.codeproject.com/Tips/564619/%2FTips%2F564619%2FExample-of-gridview-rowcommand-on-Button-Click
<asp:GridView ID="GridView1" runat="server" DataKeyNames="id"
CssClass="table table-bordered table-striped"
AutoGenerateColumns="False"
HorizontalAlign="Center" CellPadding="4"
EmptyDataText="No Record Found....."
onrowcancelingedit="GridView1_RowCancelingEdit"
onrowediting="GridView1_RowEditing"
onrowupdating="GridView1_RowUpdating"
ForeColor="#333333"
GridLines="None"
OnPageIndexChanging="OnPageIndexChanging" PageSize="15"
OnRowCommand="GridView1_RowCommand"
AllowPaging="true" >
<PagerSettings Position="Bottom" />
<AlternatingRowStyle BackColor="White"
ForeColor="#284775"
/>
<asp:TemplateField HeaderText="Edit/Update">
<ItemTemplate>
<asp:LinkButton ID="LkB1" runat="server" CommandName="Edit"
CommandName="Edit">Edit</asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="LkB2" runat="server"
CommandName="Update">Update</asp:LinkButton>
<asp:LinkButton ID="LkB3" runat="server"
CommandName="Cancel">Cancel</asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Edit")
{
//do your stuff here
GridView1.Columns[5].Visible = false;
}
}
answered Jan 3 at 12:53


SakSak
687629
687629
add a comment |
add a comment |
If I understand your question correctly, I think this will do the trick
protected void GridView1_DataBound(object sender, EventArgs e)
{
if (GridView1.EditIndex > -1)
GridView1.Columns[5].Visible = false;
else
GridView1.Columns[5].Visible = true;
}
add a comment |
If I understand your question correctly, I think this will do the trick
protected void GridView1_DataBound(object sender, EventArgs e)
{
if (GridView1.EditIndex > -1)
GridView1.Columns[5].Visible = false;
else
GridView1.Columns[5].Visible = true;
}
add a comment |
If I understand your question correctly, I think this will do the trick
protected void GridView1_DataBound(object sender, EventArgs e)
{
if (GridView1.EditIndex > -1)
GridView1.Columns[5].Visible = false;
else
GridView1.Columns[5].Visible = true;
}
If I understand your question correctly, I think this will do the trick
protected void GridView1_DataBound(object sender, EventArgs e)
{
if (GridView1.EditIndex > -1)
GridView1.Columns[5].Visible = false;
else
GridView1.Columns[5].Visible = true;
}
answered Jan 3 at 9:46


Jeppe SpanggaardJeppe Spanggaard
838
838
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54019065%2fhow-to-hide-column-from-gridview-on-edit-click%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown