ScriptAculoUs.Net on Sourceforge Project Hosting

All my projects are grouped under one main repository located on Sourceforge, together with my main project, BusyBoxDotNet. The source code can be accessed via Subversion.

Here are the links:

QuickStart Guide to SVN

Getting (checking out) the source
  1. Install TortoiseSVN
  2. Create a new folder - preferably in the same directory where you keep your Visual Studio projects - called ScriptAculoUs.Net - or whathever
  3. Right click on the folder just created
  4. Click on "SVN Checkout"
  5. Type "http://busybox.svn.sourceforge.net/svnroot/busybox/trunk" in the textbox "URL of repository"
  6. Click OK. You should have all the source ready to be compiled
Staying up to date with code changes
  1. Right click on the folder where you checked the sources out
  2. Click on "SVN Update"
How do I submit a change I think you may find useful?

In version control jargon, this is called submitting a patch, that is, a small file containing only the changes made to the original code, so that it becomes easy and fast for the project members to review, evaluate and test them, and eventually include them in the code base.

These are the steps to create a patch using TortoiseSVN:
  1. Get the latest version of the source code - important in order not to make changes which may already have been done
  2. Make your changes to the code
  3. Right click on the folder where you checked out the source
  4. On the TortoiseSVN context menu click on "Create Patch..."
  5. Select the files where you have made changes and continue
  6. You are asked to save the file containing the patch, so save it and give it a meaningful name
  7. Contact me and I'll be glad to review your patch!
Scott Hanselman furthermore wrote a more detailed post about creating a patches.

If you're interested in contributing the project or just give feedback or suggestions for future improvements you can even contact me via this link.
Published 05 August 2006 09:55 PM by simoneb

Comments

# SimoneB's Blog said on 05 August, 2006 10:02 PM
If you don't know what LightBoxes are check out the list at blinklist. Among them two implementantions...
# SimoneB's Blog said on 05 August, 2006 10:05 PM
UPDATE: 29/07/06: Added a new boolean property, CacheSuggestions, which lets you choose whether to cache...
# SimoneB's Blog said on 09 August, 2006 11:33 PM
Yesterday I got a link on my news aggregator pointing to a new article by Sam Judson on Coding4Fun, which...
# jlg said on 07 September, 2006 06:10 AM
Hello SimoneB. I think I have posted my first comment on the wrong blog. I compile source but when i put the new dll in my project, it doesn't work I am not sure but i think that the file "SuggestionHandler.cs" is missing in your SVN
# simoneb said on 07 September, 2006 07:18 AM

That's because that file is no longer needed by the new API, and you should remove the reference to it in the web.config file.

My fault for not having updated the documentation to reflect the new API btw.

# jlg said on 07 September, 2006 09:28 AM
Great ! work fine. you modify a lot of things ! methodname and TextControlParameter : there are replaced with the event Mycontrol_Autocomplete. Is it the last version ?: - the bug when you click the scrolling bar is coming back (the autocomplete disepear when you ckick on the scrolling bar) - I don't find the CacheSuggestions ? Thanks (PS : very good job...)
# simoneb said on 07 September, 2006 10:00 AM

Right jlg, that's exactly what has changed.

You no longer need to bring parameters with you since the state of the page is automatically restored on the server-side and is accessible in the body of the event handler.

The CacheSuggestions property no longer exists because the ASP.NET callback mechanism (the one I switched towards) doesn't allow you such a level of control. Suggestions are never cached then.

The bug affecting the scrolling bar has appeared again because I found out that it worked great on IE, but not at all on FF. I checked out the original script.aculo.us repository and discovered that they are working on that already, but it seems that they haven't been able to find a complete solution either.

# nickyg622 said on 07 September, 2006 02:36 PM
Thanks - this is a great control... I'm new to this and was wondering how to specify the Method used, now that methodname parameter is gone. I apoligize if this is simple, but I'm learning...
# nickyg622 said on 07 September, 2006 05:16 PM

One other question... If I have 2 autocomplete boxes on the page, each with an autocompleteProgress control, each time EITHER of the autocomplete boxes fires, BOTH progress indicators show up.  

I'm using the latest version from the SVN.

Thanks!

# simoneb said on 07 September, 2006 08:15 PM

Hi Nicky,

I haven't published any documentation for the new API yet, but you can see the new control in action in the screencast available at this post: http://dotnetslackers.com/community/blogs/simoneb/archive/2006/08/28/460.aspx.

The Method property is no longer in use, and now you can use an event handler to subscribe to the Autocomplete event (or just double click the AutocompleteTextBox control in the page designer).

The AutocompleteProgress control works the same way the Atlas UpdateProgress does, so it appears for every AutocompleteTextBox that are on the page; I simply chose to implement it this way, but it should be trivial to make it so it can be linked to a single AutocompleteTextBox.

Anyway you can always use the Image property, which shows an animated image next to the control itself.

# jrblack10 said on 20 December, 2006 10:00 AM

I found your ScriptAculoUs.Net while looking for a LightBox solution with .NET.  This looks like what I have been looking for and contemplated building my self.

Your ScreenCast demo shows is it immediately showing full size image files, not a list of thumbnail images and then clicking on a thumbnail to see the LightBox with ability to advance forward or backward.  Is it possible to link via thumbnail images?  Are the other samples available?

Thanks for sharing and offering this code.

# jrblack10 said on 20 December, 2006 02:42 PM

Ooops, sorry, just found the group property and then all works the way I was getting at.  Now to find a way to dynamically add these [LiteBoxImageLink] based on files in a folder.

Thanks again for sharing.

# simoneb said on 20 December, 2006 07:02 PM

jrblack10, use the LiteBoxAlbum control.

# jrblack10 said on 21 December, 2006 01:11 PM

simoneb, but if I am correct, with the LiteBoxAlbum control, it loads the first image in the current folder and then you advance forward or backward.

What I want to do is show thumbnails and upon clicking on a thumbnail image, be able to advance next or previous from that point.  If you have a album of 20 or 50 pictures, you may not want to view the first 15 or 45 so you can finally see the last 5.  I also do not see a way to order the images that are shown via the LiteBoxAlbum.

If LiteBoxAlbum is flexible enough to do as I have described, then fine, else I will find a way to dynamically add LiteBoxImageLink's from files in a directory or in an XML data file.

Thanks again.

# simoneb said on 21 December, 2006 06:11 PM

No, LiteBoxAlbum doesn't do that, but you can use the LiteBoxImageLink control to show the thumbnails.

# jrblack10 said on 22 December, 2006 07:51 AM

Now... if LiteBoxAlbum had a property that indicated which image file to start with, then you could display thumbnails with links to page passing parameter to start with that image in LiteBoxAlbum...  Just an idea.

# simoneb said on 22 December, 2006 01:05 PM

You are free to create and submit a patch.

# amorano said on 25 February, 2007 02:00 AM
The SVN link is no more. This project still alive?
# simoneb said on 25 February, 2007 06:23 AM

Yes, sorry for not notifying it but I've grouped all my projects under one main repository located here: http://sourceforge.net/projects/busybox

# SimoneB's Blog said on 21 March, 2007 07:29 PM

Yesterday I got a link on my news aggregator pointing to a new article by Sam Judson on Coding4Fun ,

# Sandip said on 23 June, 2007 08:58 AM
I had download code from SVN. now trying bulid it with VS2005(C#) but it gives me compile errors. Tell me why
# simoneb said on 23 June, 2007 09:53 AM

I'm not a magician Sandip, I can't tell you why it isn't compiling. On my machine it compiles. Can you tell me what the compiler is complaining about?

# XM said on 18 July, 2007 03:49 AM
Ciao Simone! I think Sandip is compiling the whole solution instead of the TextBoxAutocompleter project only (that happened to me also). There are some missing references for test projects. This control is really cool stuff, thanks a lot! XM
# Chuck said on 27 July, 2007 03:14 PM
I'm having trouble using the AutocompleteTextBox control inside of a multiview control. I'm a somewhat .net n00b, so forgive me if I am missing something obvious. The autocompletetextbox works fine if I initialize the ActiveViewIndex to the view that contains the autocompletetextbox but if I start on another view and then change views the Autocomplete event never fires. Any suggestions where to start looking? Thanks!
# simoneb said on 27 July, 2007 05:30 PM

Chuck, I think it's something with the control, not you. I never tested it into a MultiView so I bet there would be something to change. I don't have any time right now, please fill a bug report on sourceforge and switch over to another autocomplete solution.

# Chuck said on 30 July, 2007 01:41 PM
The actual culprit may be the fact that I wrapped the MultView controls inside of an update panel. I submitted the bug request. I think I can live with a whole page refresh since otherwise your control is great!
# simoneb said on 30 July, 2007 08:19 PM

Chuck, that might definitely be the problem, it's not straightforward to make different Ajax implementations work together. I'll have to give it a look when I have some free time. Again, if you need it to work inside an UpdatePanel you should definitely switch over to the AutocompleteExtender supplied by Microsoft itself.

# Paulo Cunha said on 31 October, 2007 05:15 PM

Hi, Simone.

I'm trying to use the BusyBox control in my project and I found out that there are times it would be useful to "skip" the behavior of the BusyBix for certain postbacks. Is it possible? Do you have a suggestion on how to achieve this?

By the way, nice work :)

# simoneb said on 05 November, 2007 08:58 PM

Hi Paulo, to achieve it you'll need to show the BusyBox manually, or if you choose one of the predefined modalities there's no way you can stop it from appearing.

This site

Search

Go

This Blog

News

Syndication

Sponsors

  • MaximumASP