How to get file id of selected image.

  •  03-28-2005, 11:31 AM

    How to get file id of selected image.

    According to the code below i have to pass the file path to get the file id of the selected image ..

    public override string GetFileUrl(string filepath)
    {
       filepath=CalcPath(VirtualRoot,filepath);

       // try putting your code here...
       return downfile+"?fileid="+GetItemId(filepath);
    }

    Now if there are for example -- 3 images in the cute soft editor ,
    and i want to get the file id of any one of those , i mean the file id of the image which i selected ..
    then how i know what the file path of that image is ?

    actually i need the file id of the selected image , which ever image i selected from the cute soft editor ..
    so that i should be able to pass that file id to the new window , which i want to open from the customized button ..
View Complete Thread