G
Guest
Hello,
Does anyone know if you can programattically change the attribute of an
EditItemTemplate's html element? My template contains a textbox that I would
like to set to read-only when the user is updating. But switch it back to
not read-only when the user is adding a new record.
I've seen one MSDN article where you can create classes that implemement the
ITemplate and then insert them into the grids column collection at run time.
Is this the best solution?
Thanks,
Phillip
Does anyone know if you can programattically change the attribute of an
EditItemTemplate's html element? My template contains a textbox that I would
like to set to read-only when the user is updating. But switch it back to
not read-only when the user is adding a new record.
I've seen one MSDN article where you can create classes that implemement the
ITemplate and then insert them into the grids column collection at run time.
Is this the best solution?
Thanks,
Phillip