Rebuilding AJAX Toolkit

Last post 06-19-2007 4:42 PM by HampsterVT. 6 replies.

Sort Posts:

  • Rebuilding AJAX Toolkit

    05-31-2007, 8:38 PM
    • Member
      14 point Member
    • HampsterVT
    • Member since 02-09-2007, 5:41 PM
    • Posts 15

     Hi all,

    First let me say this stuff's awsome and has some great potential especially since you guys ship the source (cue standing ovation).

    I have the current release of the toolkit as well as the current release of the AJAX extensions.

     

    I have an accordion inside a scrollable div with custom scrollbars (ooooh...) It works fine in IE6, IE 7, Mac Firefox as well as safari however it doesn't work in the PC version of firefox.  

    What I mean by "work" is scroll and only show the content that is within the limits of the div.

    After hours of searching and testing I realized it was because I have autoSize parameter set to none which means that the accordion control will have an overflow set to auto as well as all of the content panes.

     

    Now if I change it to one of the other two parameters Fill, and limit  the header panes will no longer show up outside of the div but the content panes will.

     

    Long story short I had to modify the the javascript in the source to set it all to overflow:hidden... now I imagine I might run into issues with that but I'll cross that bridge when I get there.

     

    So now that I made the change I need to rebuild the project.

    I got the following errors: 

    Error    1    'opacity' is not a known CSS property name.    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\SampleWebSite\StyleSheet.css    402    2    C:\...\SampleWebSite\
    Error    2    'filter' is not a known CSS property name.    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\SampleWebSite\StyleSheet.css    403    2    C:\...\SampleWebSite\
    Error    3    'filter' is not a known CSS property name.    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\SampleWebSite\StyleSheet.css    427    2    C:\...\SampleWebSite\
    Error    4    'opacity' is not a known CSS property name.    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\SampleWebSite\StyleSheet.css    428    2    C:\...\SampleWebSite\
    Error    5    'lemonchiffon' is not a valid value for the 'background-color' property.    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\SampleWebSite\StyleSheet.css    738    23    C:\...\SampleWebSite\
    Error    6    'lemonchiffon' is not a valid value for the 'background-color' property.    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\SampleWebSite\StyleSheet.css    759    23    C:\...\SampleWebSite\
    Error    7    The namespace 'AjaxControlToolkit' already contains a definition for 'AnimationExtender'    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\AjaxControlToolkit\AnimatedModalPopup\AnimatedModalPopupExtender.cs    21    18    AjaxControlToolkit
    Error    8    The namespace 'AjaxControlToolkit' already contains a definition for 'AnimationScripts'    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\AjaxControlToolkit\AnimatedModalPopup\AnimatedModalPopupScripts.cs    22    25    AjaxControlToolkit
    Error    9    The namespace 'AjaxControlToolkit' already contains a definition for 'AnimationExtenderDesigner'    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\AjaxControlToolkit\AnimatedModalPopup\AnimatedModalPopupExtenderDesigner.cs    16    18    AjaxControlToolkit
    Error    10    The namespace 'AjaxControlToolkit' already contains a definition for 'AnimationJavaScriptConverter'    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\AjaxControlToolkit\AnimatedModalPopup\AnimatedModalPopupJavaScriptConverter.cs    20    20    AjaxControlToolkit
    Error    11    The namespace 'AjaxControlToolkit' already contains a definition for 'Animation'    C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\AJAX Control Toolkit\AjaxControlToolkit\AnimatedModalPopup\AnimatedModalPopup.cs    28    18    AjaxControlToolkit

     

    errors 1-6 are just stylesheet errors so those aren't a big deal

     

    errors 7-11 got me a little worried.

     

    Any help would be greatly appriciated 

     

  • Re: Rebuilding AJAX Toolkit

    06-05-2007, 11:55 PM

     Hi,

    It's strange, can you compress the project you modified and send to me via email? 

  • Re: Rebuilding AJAX Toolkit

    06-13-2007, 10:50 AM
    • Member
      14 point Member
    • HampsterVT
    • Member since 02-09-2007, 5:41 PM
    • Posts 15

     all I did was open up the AjaxControl Toolkit project that microsoft ships edit some javascript and rebuilt and then I got the errors that I listed above.  The only changes I made pertain to the accordion control just in the javascript file.  I tried to mark where I made the changes.

     

    How should I email you the project raymond I'm not seeing away to add attachments through your blog.

     

    Matt 

  • Re: Rebuilding AJAX Toolkit

    06-13-2007, 11:41 PM

     Matt,

    I got your mail, and found that there are classes with the same name existing in the project.

    For example: AnimatedModalPopup/AnimatedModalPopupExtenderDesigner.cs and Animation/AnimationExtenderDesigner.cs are defining the same class AjaxControlToolkit.AnimationExtenderDesigner

    You need to eliminate all those duplicated classes.

  • Re: Rebuilding AJAX Toolkit

    06-14-2007, 12:48 PM
    • Member
      14 point Member
    • HampsterVT
    • Member since 02-09-2007, 5:41 PM
    • Posts 15

     I know that there are classes that exist with the same name.  I was afraid to change them because I was modifying what microsoft shipped.  Why would microsoft send out a project that couldn't be recompiled. 

     

    So, with that in mind should all I have to do is delete those duplicate classes and them I'm good to go?

     

    Thanks,

    Matt 

  • Re: Rebuilding AJAX Toolkit

    06-14-2007, 9:02 PM
    Matt, where did the AnimatedModalPopup come from? Was it added by you? I can't find it in the original source of AjaxControlKit.
  • Re: Rebuilding AJAX Toolkit

    06-19-2007, 4:42 PM
    • Member
      14 point Member
    • HampsterVT
    • Member since 02-09-2007, 5:41 PM
    • Posts 15

     The only modification I made was to the accordion behavior .js file everything else is exactly as it was when I first downloaded it in the website.  However I believe Animated Modal Popup is one of the original controls that they released.

     

    There is the possibility that things may have been moved around since when I first installed so I'll try to reinstall and let you know if I'm still have the issue.

     

    Thanks,

    Matt 

Page 1 of 1 (7 items)