Welcome Guest Search | Active Topics | Sign In | Register

grid editing server side Options
Jim Nelson
Posted: Tuesday, March 8, 2011 8:29:22 PM
Rank: Member
Groups: Member

Joined: 9/1/2010
Posts: 28
You may have already answered this. Hard to search on previous posts.

I have loaded a grid and displayed it.
I want to click on a cell in the grid and have a panel appear (that was hidden) to edit fields.
BUT, I want the panel to be processed server side. (because moving/hiding panel in java works poorly on iPad).
My question is how do I invoke a server side routine when the ClientSideOnCellSelected is fired.
In other words, i dont want to edit the grid, I just want to pass the cell value/row/col to a server side routine and let it take it from there. Then I will just redraw the grid.

Also, how do i access cell contents in server side code.

Code: C#


Thanks
eo_support
Posted: Wednesday, March 9, 2011 9:01:09 AM
Rank: Administration
Groups: Administration

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

Your first question doesn't really have anything to do with the Grid. The more generic version of your question is how to invoke a server side routine from your JavaScript. You can Google that and you should be able to find plenty of information online.

As to your second question, you would do it like this:

Grid1.Items[y].Cells[x].Value

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.