editable datagrid and javascript.

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.
 
K

Keef

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top