Not Displaying Properly

Thread is closed for posting
2 posts, 0 answers
  1. Jeffrey
    Jeffrey avatar
    1 posts
    Member since:
    Jan 2009

    Posted 11 Jan 2009 Link to this post

    I have a sharepoint site with a web part using the Upload control. On my test server it works fine.

    On my live server the upload control only displays the add and delete button at the bottom of the control with no text. The file selection and remove input/buttons do not appear at all.

    I have checked I have the skin uploaded and when I change the css it changes the layout.

    I also made a non sharepoint page and added a rad control pointing to the dll in the gac and this worked fine on the live server.

    From this I can assume my dll in the gac is working and the skins for the control are working but I am not sure why it doesn't display the entire control.

    I looked at the html it produces on both servers and they match and now I have notice that a javascript function is missing on my life server. I am not sure why this script is on my test server but not my live server.

    Any info that may lead me in the right direction will be appreciated.


    Missing Javascript from live server below

    <script type="text/javascript">  
    window['FileUpload2'] = new RadUploadNameSpace.RadUpload([  

  2. Erjan Gavalji
    Erjan Gavalji avatar
    1455 posts

    Posted 12 Jan 2009 Link to this post

    Hi Jeffrey,

    The code that is missing in the production server is the RadUpload client-side initialization script. This is the code that creates the RadUpload client-side object and runs the creation of the file inputs.

    RadUpload for ASP.NET "Classic" renders the scripts together with the control HTML. Does your page have some special rendering (overriding the Render method)?

    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top