This is a migrated thread and some comments may be shown as answers.

RadUpload - upgrade from older version questions

3 Answers 55 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Lenny_shp
Top achievements
Rank 2
Lenny_shp asked on 03 Jul 2012, 01:45 PM
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!

3 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 04 Jul 2012, 09:30 AM
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.
0
Lenny_shp
Top achievements
Rank 2
answered on 05 Jul 2012, 12:55 PM
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. 
0
Kate
Telerik team
answered on 10 Jul 2012, 12:15 PM
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.
Tags
Upload (Obsolete)
Asked by
Lenny_shp
Top achievements
Rank 2
Answers by
Kate
Telerik team
Lenny_shp
Top achievements
Rank 2
Share this question
or