Ask a questionAsk a question
 

Questiondownloading files from document libray

  • Wednesday, November 04, 2009 7:38 AMdevendra.sv Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    hi,
    when i a downloading a files from document library in IE it is showing redonly and edit poopup.
    where as in Mozilla it is showing  popup in  save file,open with options.


    But in text file cases(both browsers) if i click on  Type link filed and name link filed of document library it is not opening  popup window.


    If i click on Name link filed --> Send to--> Download copy then in both cases it is displaying as pop up window.

    so if i want to set this one as default property of type link filed and name link filed . what to do.


    so pl help how to open popup window intextfile case.

    thanks

All Replies

  • Wednesday, November 04, 2009 9:52 AMdevendra.sv Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Has Code
    hi,
    i changed  edited document library in SP designer  and i changed

    <xsl:otherwise><A onfocus="OnLink(this)" HREF="{@FileRef}" onclick="return DispEx(this,event,'','','','','{ddwrt:ListProperty(&quot;DefaultItemOpen&quot;)}','{ddwrt:MapToControl(&quot;&quot;, string())}','{@HTML_x0020_File_x0020_Type}','','{ddwrt:GetUserID('CheckoutUser')}','{$Userid}','{ddwrt:ListProperty(&quot;ForceCheckout&quot;)}','{$FieldIDAFOVUB}','{ddwrt:CurrentRights()}')"><xsl:value-of select="ddwrt:UrlBaseName(string(@LinkFilename))" />
    
    TO

    <xsl:otherwise><A onfocus="OnLink(this)" HREF="{@FileRef}" ><xsl:value-of select="ddwrt:UrlBaseName(string(@LinkFilename))" />
    

    BUT still i am unable to get pop up window for text files.

    can any one pl help me in this

    Thanks