Hi,
I am using webdata grid in visual studio 2010
i bind the grid by using entity datasource
in my grid i have totally 4 columns and the third column only Editable by user and want to update in DB
when i run the application to that page i can see that the grid is binded and the i make the third column as empty(that happens from DB itself)
if i enter some value in the third column(edit) and press enter
it firing to this event gvVendorParameters_RowUpdating in code behind page
after pressing F5 one error throws in web page like one window that i have attached here please see that
In the sametime now i am going to say this in two case
case 1:
if i enter some value in the third column and i suppose to click the button under that grid in the same page it does not works means(it does not firing to code behind while i have a breakpoint there)
case 2:
if i didnt enter the value for that third column and i just selecting the row, after that pressing the enter button in the same place it works fine means it get firing to the code behind
What i want to do ?
if i enter the value for the third column and pressing "enter button" it want to store it in DB and all the events want to work(button,check box,radio btn etc...)
how to proceed with this and i reminding i used entity datasource to bind the WebDataGrid
and please help me how to proceed
Hi Saravana Kumar,
If you need any further assistance on the matter please do not hesitate to ask.
Hello Saravana Kumar,
It has been some time since your post but in case that you still need assistance I will be happy to help.
I suggest that you make sure you have set the EnableUpdate property of the entity data source to true. Then you can make use of the AutoCRUD feature of the grid. Please let me know if this helps and in case you need further assistance on the matter, I would need a small isolated sample, demonstrating the behavior you have described.