Gridview Delete button shown without any record

Posted by Pcjoshi under ASP.NET on 6/30/2015 | Points: 10 | Views : 526 | Status : [Member] | Replies : 3
Hi,
Gridview Delete button shown without any record
I am getting a problem in editable gridview
when click on button which is in my form
gridview delete button also shown without any record .
how to resolved it?




Responses

Posted by: Sheonarayan on: 6/30/2015 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Not sure however it may be to do with EnableViewState property, if not when you are clicking on the button of the form ensure that you are not setting data to the GridView.

Also ensure that the delete button is in the GridView columns not outside it. This is just a guess as I can not see the entire code here.

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Loretta on: 7/2/2015 [Member] Starter | Points: 25

Up
0
Down
[LINK=http://essayexpert.us/best-essay-writing-services.html]Essay writing service UK helps me a lot and they suggest some great writing ideas. Please use their writings to score excellent grades.

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjitha21 on: 7/2/2015 [Member] Starter | Points: 25

Up
0
Down
Not sure however it may be to do with EnableViewState property, if not when you are clicking on the button of the form ensure that you are not setting data to the GridView.

Also ensure that the delete button is in the GridView columns not outside it. This is just a guess as I can not see the entire code here.

http://www.onlinemarketingcourse.in/seo-training-in-chennai/

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response