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 user control and declared some parameters, i created a macro for that user control. and accessing that macro in one of the master page.
Now i want to access those parameters on the server side of the master page. how i can do that ?
sudeer,
Possibly using Page.FindControl to get the macro and using dynamic object if you are using umbraco>=4.7 that should then allow you access to the properties? Only guessing here as I have never tried it.
Regards
Ismail
Hi,
Thanks for ur reply...
i got the solution. how i did is..just override the macro parameters with the user controls property values
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
how to Access the user controls parameters in the master page server side ?
I have a user control and declared some parameters, i created a macro for that user control. and accessing that macro in one of the master page.
Now i want to access those parameters on the server side of the master page. how i can do that ?
sudeer,
Possibly using Page.FindControl to get the macro and using dynamic object if you are using umbraco>=4.7 that should then allow you access to the properties? Only guessing here as I have never tried it.
Regards
Ismail
Hi,
Thanks for ur reply...
i got the solution. how i did is..just override the macro parameters with the user controls property values
is working on a reply...