Ritu Dhiman

Ritu Dhiman

  • NA
  • 3
  • 0

Datagrid Update Problem

Jul 20 2006 1:51 AM

hi

i m facing an unusual problem while developing asp.net application with vb.net as code behind. i m using tabstrip  with multipage control.their are 5 tabstrip objects having 5 different datagrids on each one of 5 pageviews. some validations are also done on each of them like textboxes within datagrids shud be integer ,while cliking add button no field sgud be empty in footer template etc.now the problem is

i m using editcommand column within datagrid. all buttons like edit,cancel,add delete are working except update button.when i click on update button neither this event {Public Sub DgrdTreasury_UpdateCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DgrdTreasury.UpdateCommand}

and nor this{

Public Sub DgrdTreasury_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DgrdTreasury.ItemCommand}

fires means nothing happens.

what i guess is this is because when i click update button it starts validation of all the datagrids because they r placed on same page but in different pageviews.now if wat i guess  is true then how to set causevalidation as false in editcommand column as their is no builtin property like causevalidation. wat shud i do please suggest