Edit button Problem in gridview

Posted by Bhanubysani under Regular Expressions on 8/8/2011 | Points: 10 | Views : 3364 | Status : [Member] | Replies : 7
hi

i have a page it contains a dropdown list to display departments.when user selects a department i wrote selected changed evnmt to dispaly corresponidng departments using gridview..

my problem is in gridview i given a chance to user to edit employee details..my problem is when i clicked edit button the corresponding item template is not raising when i double clicked it executing..

plz help me in solving the problem

Regards,
Bhanu Prakash Bysani



Responses

Posted by: Hmanjarawala on: 8/8/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi, are you using EditItemTemplate for editing purpose?

if yes then have u re-assign datasource in RowEditing Event?

plz try to assign datasource on RowEditing event also.

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

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

Posted by: Chikkanti on: 5/23/2012 [Member] Starter | Points: 25

Up
0
Down
hi... please refer....
http://chikkanti.wordpress.com/2011/11/11/editupdatedelete-in-gridview-using-edm-with-linq/

chikkanti

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

Posted by: Johnbhatt on: 7/6/2012 [Member] Starter | Points: 25

Up
0
Down
Dear Bhanubysani,

Please post your Code for ASPX Gridview and RowClick event.

John Bhatt
Glad to Know, Free to Share.....
http://www.johnbhatt.com

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

Posted by: Patel28rajendra on: 7/7/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

use Row_Editing Event for that
For more help please post your Code

Regards

R D Patel

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

Posted by: Kotra.Ramakrishna on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
Go to Gridview properties make sure Row_Editing event is attached are not.

Can u send u r grid veiw markup & Edit event code.

Thanks & Regards
Ramakrishna.k

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

Posted by: Hariinakoti on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
hi Bhanubysani ,
use row_editing event

Thanks & Regards
Hari

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

Posted by: Kedarasp on: 9/17/2012 [Member] Starter | Points: 25

Up
0
Down
Try the following website for your reference:

http://www.aspdotnet-suresh.com/2011/02/how-to-inserteditupdate-and-delete-data.html

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

Login to post response