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!
protectedvoidPage_Load(object sender,EventArgs e){
_currentNodeId =int.Parse(Request.QueryString["id"]);Document d =newDocument(_currentNodeId);foreach(Property p in d.GenericProperties){}}
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!
is working on a reply...