List of client side function of extenders and controls for client side

Hello All,
I am using AJAX control toolkit for my current project. Now I need to find out what client side functions I can call on an extender. Lets say I am using a PopControlExtender. Now I want to show the popup from a JS funtions.
If I can do a guess then it would be something like this
$find('ppce').show();

From where I can find what client side functions I can call on those extensders. This is really a frusterating thing. I learn about extenders only from Learn tutorials, no help here and there. Can anybody please tell me where are documentations about all the extenders in the toolkit, and what JS functions are availble on each of them.
Thank You,
Shail

0
ShailAtlas
8/19/2008 2:11:14 PM
📁 asp.net.ajax_control_toolkit
📃 17816 articles.
⭐ 1 followers.

💬 6 Replies
👁️‍🗨️ 2741 Views

I wrote about how to discover the APIs and methods available here :
How Do I learn more about the AjaxControlToolkit Controls ?


Phani Raj
http://blogs.msdn.com/PhaniRaj
0
Phanatic
8/19/2008 4:37:43 PM

Hello,
Thanks for your answer. I know this one, and I can tell you a better in FireBug. Use latest FF and Firebug and use it explore. But I have time constraints, I cannot do that. A great work is always useless without a very basic documentation Sad
Thank You,
Shail

0
ShailAtlas
8/19/2008 5:25:53 PM

Hi Shail,

Based on your description, what you need is the documentation of client side about the AJAX Control Toolkit. If I have misunderstood you, please feel free to tell me, thanks.

The ASP.NET AJAX Control Toolkit is a shared source project built on top of the Microsoft ASP.NET AJAX framework. It is a joint effort between Microsoft and the ASP.NET AJAX community that provides a powerful infrastructure to write reusable, customizable and extensible ASP.NET AJAX extenders and controls, as well as a rich array of controls that can be used out of the box to create an interactive Web experience.

Currently we have a documentation which  focus on usage, for senior development, you would better dip into the source code.

For example in your case, you need to know more about the PopupControlExtender,  you shall take a look at the PopupControlBehavior.js and thePopupBehavior.js file.

You can download the AjaxControlToolkit-Framework3.5.zip which is the full release package with complete source code to all controls and see the sample website release notes for more details. You can also refer to the Source Code on the web. For example: http://www.codeplex.com/AjaxControlToolkit/SourceControl/FileView.aspx?itemId=109562&changeSetId=37283

Best regards,

Zhi-Qiang Ni


Microsoft Online Community Support

Please remember to click €œMark as Answer€ on the post that helps you, and to click €œUnmark as
Answer€ if a marked post does not actually answer your question.
0
Zhi
8/22/2008 6:49:39 AM

Zhi-Qiang Ni - MSFT:
you shall take a look at the PopupControlBehavior.js and thePopupBehavior.js file.
 

Hello,
So for all controls of my interest, I need to see the JS files in their source projects ?
May be as you said I need to learn more about the Behaviour and Extenders.

Thank You,
Shail

0
ShailAtlas
8/22/2008 7:08:41 AM

Hi,

Yes, that€™s what I means, for example, the show() method is on this page: http://www.codeplex.com/AjaxControlToolkit/SourceControl/FileView.aspx?itemId=151115&changeSetId=37283 

    show : function() {
        /// 
        /// Show the popup
        /// 
        
        // Ignore requests to hide multiple times
        if (this._visible) {
            return;
        }
        
        var eventArgs = new Sys.CancelEventArgs();
        this.raiseShowing(eventArgs);
        if (eventArgs.get_cancel()) {
            return;
        }
        
        // Either show the popup or play an animation that does
        // (note: even if we're animating, we still show and position
        // the popup before hiding it again and playing the animation
        // which makes the animation much simpler)
        this._visible = true;
        var element = this.get_element();
        $common.setVisible(element, true);
        this.setupPopup();
        if (this._onShow) {
            $common.setVisible(element, false);
            this.onShow();
        } else {
            this.raiseShown(Sys.EventArgs.Empty);
        }
    },
Best regards,

Zhi-Qiang Ni


Microsoft Online Community Support

Please remember to click €œMark as Answer€ on the post that helps you, and to click €œUnmark as
Answer€ if a marked post does not actually answer your question.
0
Zhi
8/22/2008 7:15:47 AM

Here you go , this is an initial draft to document the controls.
Documentation for the AjaxControlToolkit


Phani Raj
http://blogs.msdn.com/PhaniRaj
0
Phanatic
8/27/2008 4:18:52 AM