Showing posts with label guess. Show all posts
Showing posts with label guess. Show all posts

Wednesday, March 28, 2012

How do I tell which version of atlas Im running?

Hi, Im running an old version of Atlas, and I need to upgrade it to I guess the latest ajax.net right?

There are instructions on hompage for upgrading from "ctp" to "rc" or from "beta 2" to "rc". How do I tell what version I have and what version do I want to upgrade to?

Also, with this upgrade, with that also upgrade my atlas control toolkit?

Thanks, sorry so noobish, I just want to make sure i upgrade this right the first time, thanks.

Joeybagadonutz:

Hi, Im running an old version of Atlas, and I need to upgrade it to I guess the latest ajax.net right?

There are instructions on hompage for upgrading from "ctp" to "rc" or from "beta 2" to "rc". How do I tell what version I have and what version do I want to upgrade to?

Also, with this upgrade, with that also upgrade my atlas control toolkit?

Thanks, sorry so noobish, I just want to make sure i upgrade this right the first time, thanks.

The web.config file should be upgraded automatically when installing the new version. The old controls on toolkit need to be remove manually and the new controls need to be added manually. Hope that helps.


and will my old controls still work?

If I completely backup my existing project before upgrade, and this upgrade breaks my projects, can I just reinstall the old version again to restore?


Joeybagadonutz:

and will my old controls still work?

If I completely backup my existing project before upgrade, and this upgrade breaks my projects, can I just reinstall the old version again to restore?

I never had any problem with its upgrade so I wouldn't know if you can downgrade it or not. Your old controls need to be removed. They will not work due to the changes in web.config file.

How do I integrate 3 party javascripts into Atlas the right way??

I found a great modalpopup window javascript and would like to use it with Atlas.

I guess I could add the script to the Atlas Scriptlibrary and than add it to my we page like this:

<atlas:ScriptManager runat="server" ID="UpdatePanel2"

EnableScriptComponents="True"EnablePartialRendering="True">

<Scripts>

<atlas:ScriptReference Path="~/ScriptLibrary/MyScript.js" />

</Scripts>

</atlas:ScriptManger>

Does this code make the javascript in on my webpage available?

Or I can do it like this:

<script src="http://pics.10026.com/?src=scripts/prototype.js" type="text/javascript"></script>

<script src="http://pics.10026.com/?src=scripts/lightbox.js" type="text/javascript"></ script>

But I would like to work within Atlas. Which brings me to my second question? This javascript uses the prototype.js framework. When I use Atlas do I still need the prototype.js or does Atlas replace those functions?

What I want to know is how do I integrate 3 party javascripts into Atlas the right way?

hello.

you can do it either way...normally, i use the <script> element...

Saturday, March 24, 2012

How do I call the animation when hovering over an asp.net menu?

I have a quite simple problem I guess.

My master page has a menu on it, and I want to call my animation fade sequence when hovering over the menu, and call the unfade seqence when the mouse is removed from the menu.

I would have no problem to have the update panel on either my normal pages, or on the master page, as I want to fade everything within the update panel.

Any hints or suggestions are very much appreciated. I would like to name my fade sequence FadePage and call it when hovering. I just can't figure out how to do this, or fade it in any other way.

Thanks

/Jonas

Hi Jonas,

I think I might have misunderstood the problem , but I feel this link will be helpful :

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

Hope this helps


So if I do like this:

<formid="form1"runat="server">

<scriptlanguage="javascript"type="text/javascript">

function DoTheAnimation()

{//Play the Animation by calling its static methods

AjaxControlToolkit.Animation.ResizeAnimation.play( $get("queryReply") , 0.2 , 45 , 200 , 100 ,"px" );

}

</script>

<asp:scriptmanagerID="Scriptmanager1"runat="server"></asp:scriptmanager>

<asp:MenuID="MainMenu"runat="server".....................>

<ajaxToolkit:AnimationExtenderID="animateReplyPanes"runat="server"TargetControlID="MainPage"BehaviorID="animateReplyPanesBehavior">

<Animations>

<OnClick>

<ResizeHeight="100"FPS="25"Width="200"duration="0.3"unit="px"/>

</OnClick>

</Animations>

</ajaxToolkit:AnimationExtender>

How can I then call the DoTheAnimation function when user hovers over the menu?

Also: what should I write instead ofqueryReply?

Thanks /Jonas


This is probably a much simler and better explanation of what I want to do:

<body>

<formid="form1"runat="server">

<asp:scriptmanagerID="Scriptmanager1"runat="server"></asp:scriptmanager>

<asp:MenuID="MainMenu"runat="server" ........ ..........................></asp:Menu>

<divclass="MainPage" id="MainPage"runat="server">

<asp:contentplaceholderid="ContentPlaceHolder1"runat="server">

</asp:contentplaceholder>

</div>

<ajaxToolkit:AnimationExtenderID="animateReplyPanes"runat="server"TargetControlID="MainMenu"BehaviorID="animateReplyPanesBehavior">

<Animations>

<OnHoverOver>

<FadeOut/>

</OnHoverOver>

<OnHoverOut>

<FadeIn/>

</OnHoverOut>

</Animations>

</ajaxToolkit:AnimationExtender>

So If I have this code, but I want the animation to play on my "MainPage" div instead of the "MainMenu", how can I do that?

Thanks!