Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Closed Issue: new Position Action (Animation) [9954]

$
0
0
A new animation action allowing for setting the position of a target id to the rendered position of another control will allow for better animating objects relatively to HTML flow positioned objects. A SizeAction would follow nicely.
Example:
<PositionAction AnimationTarget="Curtain" FromTarget="ContentTable" />
<SizeAction AnimationTarget="Curtain" FromTarget="ContentTable" />
<StyleAction AnimationTarget="Curtain" Attribute="display" Value="block" />
<StyleAction AnimationTarget="ContentTable" Attribute="visibility" Value="visible" />
<Resize Duration="1" AnimationTarget="Curtain" Height="0" />

Now I'm doing this with the following C# code:

ScriptManager.RegisterStartupScript(this, typeof(Page), "SetRectCURTAIN", string.Format(@"Sys.Application.add_load(function() {{
$common.setBounds($get('{1}'), $common.getBounds($get('{0}')));}});", ContentTable.ClientID, Curtain.ClientID), true);
Comments: This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please create a new inquiry.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>