By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,530 Members | 891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,530 IT Pros & Developers. It's quick & easy.

editable datagrid and javascript.

P: n/a
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.

Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"Suma" <Su**@discussions.microsoft.com> wrote in message
news:4B**********************************@microsof t.com...
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.

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.