Shawn Burke's Blog

Pushing the new stuff

New Toolkit Release - The Hits Just Keep On Comin'!

New Toolkit Release - The Hits Just Keep On Comin'!

  • Comments 7

 

Last night we released our 10301 Toolkit package.  David Anson already wrote up a great post describing what's in there, but I thought I'd highlight some of the great stuff the team has done.  We do almost all of our prioritization based purely on customer feedback from CodePlex Issue Tracker and the Forums, and it is really great to be able to turn things around this quickly.   We pay a lot of attention to the issue voting on CodePlex.

We added two new components: ListSearch and SlideShow.

In addition we now have localization support, theming support, and (finally!) a built-in mechanism for removing comments and whitespace from the JavaScript files, which results in quite a bit smaller download sizes for the AJAX pages.  This is an issue that I've been concerned about for a while, so it's great to get a solution in place here.

 

Leave a Comment
  • Please add 5 and 7 and type the answer here:
  • Post
  • Shawn Burke's Blog からです。 New Toolkit Release - The Hits Just Keep On Comin'! V1.0 と同時にリリースされた AJAX Control

  • AJAX Control Tool Kitに2つのコントロールが追加されたようです。

  • AJAX Control Tool Kitに2つのコントロールが追加されたようです。

  • Can SlideShow work with VB.net? I'm not topo smart with C#.  I substituted this C# code ...

       <script runat="Server" type="text/C#">

           [System.Web.Services.WebMethod]

           [System.Web.Script.Services.ScriptMethod]

           public static AjaxControlToolkit.Slide[] GetSlides()

           {

               return new AjaxControlToolkit.Slide[] {

               new AjaxControlToolkit.Slide("images/Blue hills.jpg", "Blue", "Go Blue "),

               new AjaxControlToolkit.Slide("images/Sunset.jpg", "Sunset", "Setting sun"),

               new AjaxControlToolkit.Slide("images/Winter.jpg", "Winter", "Wintery..."),

               new AjaxControlToolkit.Slide("images/Water lilies.jpg", "Water lillies", "Lillies in the water"),

               new AjaxControlToolkit.Slide("images/VerticalPicture.jpg", "Sedona", "Portrait style picture")};

           }

       </script>

    with the vb code below. I get errors that GetSlides is not a method. ...

       <script runat="Server" type="text/VB">

           <System.Web.Services.WebMethod()> _

           <System.Web.Script.Services.ScriptMethod()> _

           Public Function GetSlides() As AjaxControlToolkit.Slide()

               Return New AjaxControlToolkit.Slide() _

              {New AjaxControlToolkit.Slide("images/Blue hills.jpg", "Blue", "Go Blue "), _

               New AjaxControlToolkit.Slide("images/Sunset.jpg", "Sunset", "Setting sun"), _

               New AjaxControlToolkit.Slide("images/Winter.jpg", "Winter", "Wintery..."), _

               New AjaxControlToolkit.Slide("images/Water lilies.jpg", "Water lillies", "Lillies in the water"), _

               New AjaxControlToolkit.Slide("images/VerticalPicture.jpg", "Sedona", "Portrait style picture")}

           End Function

       </script>

    Everything else works fine.  Please advise.  I have the latest version of the toolkit (downloaded a few days ago)

    Thanks!

  • Only thing I see wrong is that it needs to be "Public Shared Function GetSlides()". Try that.

  • Hey Shawn, That fixed the error. Thanks.

    However, now when I change the image file names, the slideshow continues to display the images from the previous image list. Is there a way to clear the list of images from memory and reload with a new list?

    Thanks!

  • Hey Shawn... I think there is a bug in the slideshow.  To see what I mean try this.

    Where the .jpg files are hard coded into the SlideShow.aspx page, note the order of the photos.  Now run the app and see that the photos are displayed in order. So far so good...

    Close the app and edit the order of files.  Just swap two file names nothing more.  Now re run the app.  Note that the order of the photos displayed did not change.  It is the same as before the code was edited.  

    You can further demonstrate this bug by placing a different .jpg file in the SlideShow/images folder and change the code to point to the new file.

    You'll find that the new .jpg file is not picked up and the display will show the same original .jpg files.

    Now here is the strange thing. Shut down VS 2005 and reboot your PC.  Fire up VS 2005 and run the SampleWebsite.  You will find that the changes are now working and you will see the new photo displayed.

    It is crazy.  I FTP all of my files to my hosting site and they work.  But if I make a change and need to display a different .jpg file name, it won't unless my hosting site reboots their servers.

    I have spent several hours on researching this.  Do you have any advice?

    Thanks!  

Page 1 of 1 (7 items)