RadUpload - upgrade from older version questions

Thread is closed for posting
4 posts, 0 answers
  1. Lenny_shp
    Lenny_shp avatar
    343 posts
    Member since:
    Jul 2006

    Posted 03 Jul 2012 Link to this post

    Hi,

    I am upgrading VS2003 project created in 2007 with much older version of RadUpload control. New will be VS2010/Latest Telerik controls. It use to have CSS I could make control apperance changes. Now with latest upload control I can't find anything. I searched help for how to change control width in run time and help suggested to use MinWidth=.... I applied this in source but control remained same width in run time. How can I do this and why help suggestion doesn't work? Also clicking on any part of control poping up file select dialog, how to change it to popup file selection dialog only on button click?

    Thanks!
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 04 Jul 2012 Link to this post

    Hi Leonid,

    Indeed we have introduced major changes in our controls since the version that you are trying to upgrade from. Can you please clarify if you are using the RadUpload control or the RadAsyncUpload control with the latest version of our controls?  In case you will need to change the width of the input in the AsyncUpload, for instance you can use the CssClass property in the code behind as follows:
    AsyncUpload1.CssClass = "new";

    here is also css class selector that you will need to use so that the width of the input can take effect:
    div.new .ruInputs .ruFileWrap .ruFakeInput
           {
               width: 300px ;
           }
     
    I would also suggest that you refer to our on-line help for the two controls:

    Please note that the control from 2007 are the classic asp.net controls while the latest ones are asp.net ajax and there is major change in the implementation of the latest ones. The pop up dialog that enables you to select files from different folders is the default behavior of both the RadAsyncUpload control and the RadUpload control.


    Kind regards,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Lenny_shp
    Lenny_shp avatar
    343 posts
    Member since:
    Jul 2006

    Posted 05 Jul 2012 Link to this post

    I don't need Ajax functionality on this screen; it is uploading files one in month and nothing fancy required. I just need it to behave and look same as before and yes it is RadUpload control. It looks shirked and any click on it produced File selection dialog, even click away of button. Please let me know how to fix this. 
  5. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 10 Jul 2012 Link to this post

    Hi Leonid,

    Thank you for getting back to me.

    Let me explain in more details. The version of the controls that you are upgrading from is quite different compared to the latest one. Thus, the differences in the behavior, appearance and functionality of the controls. 
    The behavior that you encounter with the RadUpload control - a pop up showing on click of the input - is intended by design and the scenario that you are trying to accomplish (a dialog popup to open only on click of the button) is not supported.

    However, I noticed that you mention that a file selection dialog opens even if you click away from both the button and the input, if this is the case, then this is not the expected (normal) behavior of the control. Thus, I would kindly ask you for either a live url or a simplified runnable project that we can explore locally and help you out with the issue.

    All the best,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top