Editing Single Cell on GridView : DOTNET
This is a discussion on Editing Single Cell on GridView within the DOTNET forums in Framework and Interface Programming category; 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......
| DOTNET Discussion forums related to Microsoft Dot net technologies, CSharp and other related items |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| 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... |
|
#2
| |||
| |||
| Please help |
|
#3
| |||
| |||
| On Sep 12, 1:32 pm, jack <gautams.m...@gmail.com> wrote: > 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 |
|
#4
| |||
| |||
| 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. |
|
#5
| |||
| |||
| On Sep 14, 7:37 am, jack <gautams.m...@gmail.com> wrote: > 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 |
|
#6
| |||
| |||
| Right It worked.. :-) |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting value of a GridView cell | usenet | CSharp | 4 | 11-16-2007 05:11 PM |
| Is there a way to format a cell in a GridView? | usenet | DOTNET | 3 | 10-23-2007 05:25 PM |
| get cell value within gridview | usenet | DOTNET | 14 | 10-18-2007 01:18 PM |
| Selected cell in Gridview | usenet | DOTNET | 2 | 08-08-2007 06:46 PM |
| Gridview - Pull value from one cell in one row | usenet | DOTNET | 4 | 08-05-2007 01:47 PM |
All times are GMT -5. The time now is 08:45 AM.




