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

[Solved] Silverlight RadUpload Javascript error

7 Answers 90 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Martinet
Top achievements
Rank 1
Martinet asked on 29 Jun 2009, 08:58 AM
Hello all.

I try to use your project silverlight radupload (http://demos.telerik.com/aspnet-ajax/upload/examples/silverlight/SilverlightUpload.zip) and when i launch it, i have a javascript error :

Erreur : $ is not a function
Fichier Source : http://localhost:2510/WebSite5/Default.aspx
Ligne : 107

i think lines of error are :
var $ = $telerik.$;
and
var downloadFile = $("<a class='download-file'></a>")

when the scrit try to make an attribute on "downloadfile" variable the error comes.

How can i do ?

Thank you, best regards.

(I'm french sorry for my bad english)


7 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 29 Jun 2009, 09:08 AM
Hello Martinet,

Please follow the article on how to include jQuery to your page.

All the best,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Martinet
Top achievements
Rank 1
answered on 29 Jun 2009, 09:12 AM
Thank you very mutch !

0
Martinet
Top achievements
Rank 1
answered on 29 Jun 2009, 09:22 AM
sorry but when i try to insert jquery with lines :

   <Scripts>
       
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
       
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
   
</Scripts>

in rad script manager, an error say:
Unknow server tag 'asp:scriptreference'

... sorry ...



0
Martinet
Top achievements
Rank 1
answered on 29 Jun 2009, 10:13 AM
Please ... i need that to continue my work ...
0
Veselin Vasilev
Telerik team
answered on 29 Jun 2009, 02:44 PM
Hello Martinet,

Maybe there is a mismatch of the versions in your project. Please make sure that you are using the Telerik assembly from the Bin35 folder of your installation (that is for .NET 3.5).
Its version should end in .35 like 2009.1.402.35



Regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Henry
Top achievements
Rank 1
answered on 12 Jul 2009, 04:54 PM
Hi Veselin,
  In the demo, it provides the XAP, project files, and the HTTP handler, as see below.

  1. A Silverlight application (XAP) which contains RadUpload for Silverlight. We provide a ready for use xap file and its Visual Studio project (should you need to customize it).
  2. The HTTP handler which saves the files uploaded by RadUpload.

My question is that for production use, do I need to purchase the Silverlight RadUpload seperately too? Or is this free to use for RadControls for ASP.NET AJAX?

Many Thanks,
Henry Wu

0
Ivo
Telerik team
answered on 13 Jul 2009, 02:29 PM
Hello Henry,

If you have a Telerik Premium Collection license you can safely use all ASP.NET AJAX and Silverlight controls. If you have only a RadControls for ASP.NET AJAX license you need to purchase a RadControls for Silverlight license as well.

For more details on licensing and available purchase options please refer to http://www.telerik.com/purchase.aspx

Best wishes,
Ivo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Upload (Obsolete)
Asked by
Martinet
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Martinet
Top achievements
Rank 1
Henry
Top achievements
Rank 1
Ivo
Telerik team
Share this question
or