Welcome Guest Search | Active Topics | Sign In | Register

How do I make a textBox receives the ID Grid? Options
Makrosystem
Posted: Friday, May 18, 2012 8:00:26 AM
Rank: Newbie
Groups: Member

Joined: 11/17/2011
Posts: 9
Hi,

How do I pass the ID Grid to a TextBox?
How do I make a textBox receives the ID Grid?

Thank you!
eo_support
Posted: Friday, May 18, 2012 8:44:21 AM
Rank: Administration
Groups: Administration

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

I am not sure if I understand your question. If you want to get the Grid's ID, you use it's ID property. If you want to set a TextBox's content, you set the TextBox's Value property.

Thanks
Makrosystem
Posted: Friday, May 18, 2012 9:12:02 AM
Rank: Newbie
Groups: Member

Joined: 11/17/2011
Posts: 9
In Gridview I use

TextBox.Text Grid.SelectedDataKey = ["id"]. ToString ();

What is the syntax of the EO Grid?
eo_support
Posted: Friday, May 18, 2012 9:16:50 AM
Rank: Administration
Groups: Administration

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

You will do something like this:

Grid.Items[Grid.SelectedItemIndex].Key

Obviously there are other things such as you must check whether Grid.SelectedItemIndex is non-negative first (when there is no selected item, Grid.SelectedItemIndex is -1). You can take a look of the reference section to find out more details about each properties.

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.