Welcome Guest Search | Active Topics | Sign In | Register

How to bind lefticon url of context menu Options
Hub
Posted: Monday, December 16, 2013 2:01:14 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Hello,

I a customizing a databound context menu. I am successfully binding the default test property and the value property with the following statements
ContextMenu_Objects.DataFields = "Bdl_Trade|Bdl_Name"
ContextMenu_Objects.DataSource = Bndlts

Dim binding As New EO.Web.DataBinding()
binding.DataField = "Bdl_id"
binding.Property = "Value"
ContextMenu_Objects.Bindings.Add(binding)

However, i do not know how to bind the lefticon url property:

Dim binding2 As New EO.Web.DataBinding()
binding.DataField = "Bdl_Url"
binding.Property = "????????????????????????????"
ContextMenu_Objects.Bindings.Add(binding2)

Is it possible to approach it this way (what binding.property should i use)? if not, how can i do this?

Thanks for your help

Hubert
eo_support
Posted: Monday, December 16, 2013 2:33:43 PM
Rank: Administration
Groups: Administration

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

I believe you would use "LeftIcon_Url". Basically you concatenate the properties name together with "_".

Thanks!
Hub
Posted: Monday, December 16, 2013 3:31:20 PM
Rank: Advanced Member
Groups: Member

Joined: 3/16/2010
Posts: 101
Perfect!
Thank you.


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.