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

[Solved] ScriptRegistrar support for protocol relative urls

4 Answers 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Roatin Marth
Top achievements
Rank 1
Roatin Marth asked on 18 Apr 2011, 07:08 PM
The ScriptRegistrar fails to recognize network-path references (aka "protocol relative urls"):

Html.Telerik()
    .ScriptRegistrar()
    .jQuery(false)
    .DefaultGroup(group => 
        group.Add("//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.2.min.js"))

Results in a System.IO.FileNotFoundException error:
Specified file does not exist: "~/Scripts//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.2.min.js".


4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 19 Apr 2011, 09:16 AM
Hello Roatin Marth,

 Thank you for reporting this problem. We just fixed it and uploaded a new internal build which you can download.

 I also updated your Telerik points.

All the best,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Roatin Marth
Top achievements
Rank 1
answered on 20 Apr 2011, 03:17 PM
Where are my points?
0
Atanas Korchev
Telerik team
answered on 21 Apr 2011, 08:23 AM
Hello Roatin Marth,

 It seems that I forgot to properly updated your Telerik points. All should be ok now.

Greetings,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Roatin Marth
Top achievements
Rank 1
answered on 21 Apr 2011, 01:55 PM
Hi Atanas, Thank you!
Tags
General Discussions
Asked by
Roatin Marth
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Roatin Marth
Top achievements
Rank 1
Share this question
or