Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a usercontrol that i use via a macro on my page.the macro has a parameter "top" (number), but how can i retreive the "top" from the macro in my usercontrol?I have created a public propperty in my usercontrol but its not getting set....
Hi!
Are you using getters/setters for your properties used by your macro? Look at this example:
private string _myProperty; public string MyProperty { get { return _myProperty; } set { _myProperty = value; } }
Patrik
yes i doo, and its CASE SENSITIVE... doooooohhhhhh...So now its working....
Sorry, thanks for help ;-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
retreiving parameter from macro in usercontrol
I have a usercontrol that i use via a macro on my page.
the macro has a parameter "top" (number), but how can i retreive the "top" from the macro in my usercontrol?
I have created a public propperty in my usercontrol but its not getting set....
Hi!
Are you using getters/setters for your properties used by your macro? Look at this example:
Patrik
yes i doo, and its CASE SENSITIVE... doooooohhhhhh...
So now its working....
Sorry, thanks for help ;-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.