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

Editing Single Cell on GridView

P: n/a
Now here is the requirement to edit single Cell in the datagrid.

Im an trying to create a arithematic datagrid which will calculate the
area and the cost relating to it.

The functionality when I click on a cell of the grid. That cell only
turn to edit mode.
Im using Ajax.net for the purpose.

I Know that this could be done with edit button and creating
templates. But what if i want to edit only that cell which i clicked
on ...

Please help. Thanks for replying me...

Sep 12 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Please help

Sep 13 '07 #2

P: n/a
On Sep 12, 1:32 pm, jack <gautams.m...@gmail.comwrote:
The functionality when I click on a cell of the grid. That cell only
turn to edit mode.
Im using Ajax.net for the purpose.
So, what's your problem exactly? A bit of sample code could help
Sep 13 '07 #3

P: n/a
One issue resolved and another has come.

Im able to get the textbox with I click on Template column Label. by
adding onclick in the label attribute.
The value from the textbox is replaced in the label.

Now when I click on the server side button im able to get the initial
value of the label and not the new replaced value.

How to get the new value from the label when i have changed the value
in the client side throught javascript function.
Sep 14 '07 #4

P: n/a
On Sep 14, 7:37 am, jack <gautams.m...@gmail.comwrote:
The value from the textbox is replaced in the label.
How to get the new value from the label
If label has the same value as in the textbox, you can take the one
from the textbox, right?

You also could set a hidden value by js (<input type=hidden....) and
take its value from the code-behind

Sep 14 '07 #5

P: n/a
Right It worked.. :-)

Sep 14 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.