Setting menuitem Value property using external source

Not Answered This post has 0 verified answers and 1 reply

Top 150 Contributor
Posts: 47
andrewhore Posted: Fri Sep 30, 2011 @ 9:40 AM
Is it possible to set a menuItem's Value property by pulling it from an external resource?

I can set the menuItem's Text property from a resource string as in:

<ComponentArt:MenuItem Text="<%$ Resources: SantStrings, LIB_CopySearch %>" Value="105"/>

Is there a similar syntax that would allow be to set the Value property from an enumeration in a DLL or a function call to a DLL using jquery or other trick?

All Replies

Top 10 Contributor
Posts: 6,694
stephen Posted: Mon Oct 3, 2011 @ 7:29 AM

I'm not 100% sure I'm reading this right, but if I am, no, there is no syntax to set the text from a dll inline in a webform- you'd set that in code.  To clarify what you're asking, though: are you able to get the value from your source to display in, say, a textbox? And if so, how? Knowing that would help me understand your scenario better, I think. 

Stephen Hatcher, Developer Support Manager
Page 1 of 1 (2 items)