Welcome Guest Search | Active Topics | Sign In | Register

Query : Grid Postback Options
Manjiri
Posted: Thursday, March 24, 2011 12:44:03 AM
Rank: Member
Groups: Member

Joined: 1/10/2011
Posts: 12
hello,

when i enter values in a column of a grid, i want textbox on my form to refresh with the total of column values in grid. but it happens only when i click on save/update button. what do i do if i wnat to see the total in textbos once i finish entering values in the grid column and press enter key?

thanks
eo_support
Posted: Thursday, March 24, 2011 9:09:58 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You will need to handle the column's ClientSideEndEdit event. Inside that event you can do your calculation with Javascript and update other cells accordingly.

Thanks!
Manjiri
Posted: Friday, March 25, 2011 12:03:55 AM
Rank: Member
Groups: Member

Joined: 1/10/2011
Posts: 12
i know ClientSideEndEdit event is to be handled and javascript code gfoes there to update cell value. what i want is on editing/entering cell value and pressing ENTER key, my textbox on form should get reflected with the total of entered values in the grid column. what is to be done to achieve this? where should i write my code?

thanks
eo_support
Posted: Friday, March 25, 2011 9:31:22 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You still write your code in ClientSideEndEdit. Enter key ends edit mode, which triggers ClientSideEndEdit.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.