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

Script# / ScriptSharp

4 Answers 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karl Maynard
Top achievements
Rank 1
Karl Maynard asked on 22 May 2012, 10:53 AM
Having spend way to many hours fighting with the javascript intellisense in VS2010 i am currently looking into ScriptSharp again - though there have been posts in the past I havent seen any comments recently.

If you havent heard of ScriptShart, you can read an overview of it here: http://projects.nikhilk.net/ScriptSharp - i quote,

"Script# is a C# compiler that generates JavaScript (instead of MSIL) for use in Web applications or other script-based applications such as Windows Vista Sidebar gadgets. The primary goal of Script# is to provide a more productive scripting environment for developing Ajax applications that are more maintainable over the long term by leveraging various aspects of the C# development model....."

Is there anyone using / wanting to use ScriptSharp with the telerik client side apis??

Does anyone have ScriptSharp libraries for the Telerik controls (if so, are you willing to share) ?

Is there anyone interested in working together with me to build a set of import libraries for ScriptSharp (my main interest is obviously only in the controls and the mehtods & properties that i need to use, but i am willing to invest some extra time adding all the methods & properties).

...or, what are your feelings about ScriptSharp (and other similar tools), is it a waste of time/effort?? I would love to hear the Telerik communities views on the matter.

4 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 29 May 2012, 10:52 AM
Hi Karl,

I already answered to your post in the other thread on the subject. For convenience I will paste my answer here as well.

At present, we do not provide Script# ImportLibrary for RadControls for ASP.NET AJAX because it was not wildly requested by our clients. I have logged this into our PITS and if reasonable amount of users vote for it we will consider adding such resource with the controls distributions. Here you can find the PITS Issue: Public URL.

On a side note, if you are willing to created and maintain Script# ImportLibrary for RadControls and post it as a CodeLibrary you will compensated either with Telerik points or other way.

All the best,
Dobromir
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
Karl Maynard
Top achievements
Rank 1
answered on 29 May 2012, 11:01 AM
Thanks for your reply. I am continuting to work on making this all work, and will share my progress so far...

I have successfully managed to get the ScriptSharp working with the Telerik controls, though so far i have only added code to allow it to understand the RadWindow and RadWindowManager plus a couple of the global methods.

There was a slight issue with the RadMenu controls and the standard javascript library (mscorlib.js) that ships with Script# as this is basically an old version of the Micorsoft.Ajax.js library. After tracking down the issues and removing various of the definitions that occur in both libraries everything seems to be working fine.

Once i have completed the code that allows the Telerik RadControls Clientside API methods & properties to be used in ScriptSharp I will publish the final project(s).


0
Nick
Top achievements
Rank 1
answered on 12 Feb 2013, 01:16 AM
Have you made any progress on this? Which library are you porting? How much work is remaining? I might be able to help.
0
Karl Maynard
Top achievements
Rank 1
answered on 17 Feb 2013, 10:04 AM
Currently, I have put this project back on the shelf following conversations with Nik Hilk and the slightly new direction that Script# is being taken.

The work i have done so far is for the 0.7.0 - 0.7.4 versions of Script#

The main issue I came across is that the project had moved away from being compatible with the ASP.net AJAX library - its own core library (mscorlib.js) overwrote a key part of the ASP.net AJAX library. I managed to work around this problem but it sounded like it was going to become harder to make it function correctly with the RadControls for ASP.NET Ajax which is heavily dependant on the stanard ASP.net AJAX library from Microsoft.

I did have Nik send me the old libararies which matched the ASP.NET Ajax library, but they require some work to bring them in line with ASP.net 4.0. I havent returned to look at the latest versions of Script# due to pressures of other work, so I am not sure how much (if any) of my work so far is reusable, but i hope to get back to using this or a similar method to develop javascript in the future.

As far as creating libraries for the Telerik controls, I have generated a library that covers: Sys.Debug, RadGrid, RadSplitter, RadPane, RadWindow (including confirm & alert).

If you are interested in looking at what i have so far, I will be happy to share what i have so far.

/karl.




Tags
General Discussions
Asked by
Karl Maynard
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Karl Maynard
Top achievements
Rank 1
Nick
Top achievements
Rank 1
Share this question
or