editable datagrid and javascript.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I have an editable datagrid. When it is in edit mode, there is a textbox in
it into which the User has to compulsorily enter value.
I have written a javascript to check this. This gets fired on "Update"
command.
It actually works fine. It asks User to enter something if he has not.
But when User indeed enters something, and the control comes back to server
side, the Value in textbox is getting lost.
Any ideas as to why this must happen and please let me know a solution for
this.

P.S.: I am not overwriting the contents of this textbox in any way.

TIA
Suma.
 
Hi Suma,

I'm not sure whether this is the cause of the problem, but it could be
because the ispostback property is not validated whenever a call to the
server is made.

Hope I understood your question correctly.


Best Regards
 
Back
Top