I have textboxes which is bounded runtime in datagrid.I add validator at runtime.When I click on save button,validation fired.But when i click on edit button,validation not fired.
I am adding textbox again at runtime when i click on edit button as per my requirement.
I have two columns in grid.
For Each ditem In dg_unit.Items
dim txt as textbox=ctype(ditem.cell(1).control(0),textbox)
it gives an error.Out of specified argument.
I am not getting how exctely it would be happened?
becoz i am adding textbox in cell(1) of grid.
what is excetly problem?if u eill get some idea,pls help me.