JsFunc_PositionFilesList

Dec 18, 2008 at 7:11 PM

Could someone explain how to use this? I have no diea what to write in the javascript function.

My problem is that the file list pops up way too far to the right (probably because the uploader is inside an AJAX Control Toolkit Modalpopup).

Coordinator
Dec 18, 2008 at 8:12 PM
<script type="text/javascript">
function PositionFilesListFunc(uploader){
    var pos = Flajaxian.positionFilesList(uploader);
   // you can change the default position, for example to shift 5px up and 10px right
   pos.x += 10;
   pos.y -= 5;
   return pos;
}
</script>
<
fjx:FileUploader ID="FileUploader1" JsFunc_PositionFilesList="PositionFilesListFunc" runat="server" >
    <Adapters>
        <fjx:FileSaverAdapter Runat="server" FolderName="UploadFolder" />
    </Adapters>
</fjx:FileUploader>
Dec 19, 2008 at 8:05 AM

Thanks now its working fine.

I had to set the positions exactly tho and not relative
pos.x = 8;
pos.y = 52;