Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • sudeer 24 posts 42 karma points
    Oct 27, 2011 @ 09:38
    sudeer
    0

    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 ?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 27, 2011 @ 09:54
    Ismail Mayat
    0

    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

  • sudeer 24 posts 42 karma points
    Oct 27, 2011 @ 11:41
    sudeer
    0

    Hi,

    Thanks for ur reply...

    i got the solution. how i did is..just override the macro parameters with the user controls property values

     

Please Sign in or register to post replies

Write your reply to:

Draft