ラベル trigger の投稿を表示しています。 すべての投稿を表示
ラベル trigger の投稿を表示しています。 すべての投稿を表示

2012年3月28日水曜日

Resizable Control Extender

I have a Panel with scrollbars set to auto, a TreeView control with enough nodes to trigger the scroll bars,

and a Resizable Control Extender attached to the Panel.

The Resizable Control Extender will work perfectly as long as you don't scroll the Tree.

If you scroll the Tree the Handle will move vertically by the amount of the Tree scroll.

If you scroll too far the handle will disapear from the screen leaving you without a way to resize the Panel.

Does anyone know of a way to keep the handle in it's original postion?

Thanks,

Larry

Can you post your code?? Even I am stuck on a similar issue...may be we might be able to help each other.

Karamchand

2012年3月24日土曜日

Rewiring Animation in the client side

I have a case where I have button A and button B that trigger four animations each. Can I in the client side rewire the animations so that all of them are triggered by button B? Or any other similar combination. I am trying to change the _onClickHandler references, but for a reason that I haven't figured out, it is not working. Let me know if any of you have done a similar thing.

Thanks

Hi ,

I have the perfect link for youSmile.

Check out this post which talks about how to use the AnimationExtender from the Client-Side

http://blogs.msdn.com/phaniraj/archive/2007/04/13/animations-how-many-ways-do-i-call-thee.aspx

Hope this helps


Yeah I saw that article, but that wasn't really my problem. Basically what I ended up doing is something along the lines of:

// get the animation that will be rehooked to another button
var anim = $find('animBehaviorID');

$addHandler($get('newbutton'), 'click', anim._onClickHandler);