Welcome Guest Search | Active Topics | Sign In | Register

Values from a Grid Cell Options
Reza Khan
Posted: Friday, April 17, 2009 5:33:10 AM
Rank: Member
Groups: Member

Joined: 4/15/2009
Posts: 13
Hi Support ,

I have a grid control on a web form in server mode.I have a button in one of the columns in the grid which calls the grid_itemCommand server event.

How do I extract the values from the columns/cells from the selected row from the server ?

I am thinking its something like:

String s = e.Item.Cells[0].Value.ToString();

Kind regards

Reza

R Khan
eo_support
Posted: Friday, April 17, 2009 7:50:29 AM
Rank: Administration
Groups: Administration

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

I believe your code is correct, except that you want to check whether the cell has a value first (whether it is null).

Thanks
Reza Khan
Posted: Friday, April 17, 2009 8:21:12 AM
Rank: Member
Groups: Member

Joined: 4/15/2009
Posts: 13
eo_support wrote:
Hi,

I believe your code is correct, except that you want to check whether the cell has a value first (whether it is null).

Thanks


Yep , it works , I am loving your product !

Another question , I have a TabStrip with various Pageview controls , how do I set focus to any particular PageView ?

Cheers again.

Reza

R Khan
eo_support
Posted: Friday, April 17, 2009 9:22:10 AM
Rank: Administration
Groups: Administration

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

You would set the TabStrip's SelectedIndex property:

http://doc.essentialobjects.com/library/1/eo.web.tabstrip.selectedindex.aspx

The reference section contains information about every public object/property. So you may want check that first next time.

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.