Rowupdating event in asp net Iceland boys jerk cam

One has it's Command Name = "Update" and the other "Cancel".My problem lies in that the click on the Update Image Button posts back, but neither the Row Command nor Row Updating events get triggered.

rowupdating event in asp net-14rowupdating event in asp net-3rowupdating event in asp net-88

I don't know how many controls do I have to create and I don't know what kind of control will it be. I know that the problem is that I create the controls in the Page_Load.

What happens with this is that the source is being created every time the user submits the page.

When I click on the edit button the update and cancel button appear.

Upon modifying the values in textbox which come from Edit Item Template , the new values dont show in the event handler rowupdating(), instead I get the values which appear when the page was rendered.

Every one can use it to compare the new value with old ones.