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

2012年3月28日水曜日

Resizable Control bug?

The following code:

_lining.style.backgroundImage = 'url(invalid)'; // Keeps IE from ignoring the content-free element

in ResizableControlBehavior class is not working well with IE6. The image is being requested by browser every event the control fires (mousedown, mouseup, mousemove etc.). Check out your browser's status bar while resizing the control (watch it carefully as the text blinks very quickly) or use Nikhil's Web Development Helper with http logging on to see the requests.

There are many ways to fix this. I use solid black background with 20% opacity for additional effect.

Thanks for reporting this. Could you file an issue with this information atwww.codeplex.com?

Choose "Atlas Control Toolkit" then "Issues".

Thanks!

Resize animation with RoundedCorners

I have

<div id="div2" runat="server" style='width: 300px; height: 200px; background-color: teal; position: absolute;'>

and

<cc2:RoundedCornersExtender ID="RoundedCornersExtender1" runat="server">
<cc2:RoundedCornersProperties Radius="10" TargetControlID="div2"></cc2:RoundedCornersProperties>
</cc2:RoundedCornersExtender>

and

<cc2:AnimationProperties TargetControlID="div1">
<Animations><OnHoverOver>
<Resize AnimationTarget="div2" Width="500" Height="400" />
</OnHoverOver></Animations>
</cc2:AnimationProperties>

and when i hover over div1... only width changes. A bug?

Hi MarekG,

This is a consequence of the way that RoundedCorners works. It will wrap your target control in another div and set the height of the new div to be the same. If the inner height changes it won't propogate to the containing wrapper (i.e. you're resizing the wrapped control, but it's overflow is hidden by its wrapper so you see nothing happen).

Right now there isn't a way to work around this - but I hope to make some modifications to the Animation framework on the next release that will allow you to side step the issue.

Thanks,
Ted

2012年3月24日土曜日

Right Click popups OWA style

Hi.

I need to use atlas to allow me to display right click popups, the content of which depends on the item that was right clicked on.

Basically.. I have a repeater which lists usernames.

I want to be able to right click on the username which then displays a popup with a few options relating to the selected user.

I have figured out that the popup needs to be in a update panel, and right clicking on the username needs to fire of a webservice which returns the options.

What I am not sure of is how to code it and what Atals functions to use.

Anyone got any pointers?

Cheers

Amit

You might be able to modify the click behavior with a new click behavior that handles the right click, cancells it to disable the browser right click contxt menu, and pop a floating div with the contextual items that you require..
try this:
Handling the context menu with a custom Atlas Behavior

2012年3月21日水曜日

RoundedCornersExtender - postback flashing

I get 'flashing' when using the roundedcornerextenders

It's as if the style get's applied after the panel is loaded, which causes the panels to make a strange 'shift'

Any workarounds ?

Nothing? Where can I get official support for the toolkit?

I need to make a decision here on a project whether to use the toolkit, it all depends on support.