Copied to clipboard

Flag this post as spam?

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


  • Mark 4 posts 24 karma points
    Jul 06, 2013 @ 16:21
    Mark
    0

    Acces Usercontrol property id within the usercontrol

    Hi guys, i would like to retrieve the property.Id of the current usercontrol within itself.. I am trying to build a photo gallery which one could attach to a mediafolder. Then on save i would like to auto generate thumbnails with a path something like '/documentId/uc_propertyId/mediaId.ext'.. Doing so without hardcoding any ids or aliases, because of situations in which there are two galleries on the same document.

    Thnx in advance!

    protected void Page_Load(object sender, EventArgs e)
    {
        _currentNodeId = int.Parse(Request.QueryString["id"]);
        Document d = new Document(_currentNodeId);
    
        foreach (Property p in d.GenericProperties)
        {
    
        }
    }

     

Please Sign in or register to post replies

Write your reply to:

Draft