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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...