|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ATLAS issueFirst of all, I didn't get any NG from ATLAS, so I'll post here, if you please be kind enouhg to point me the correct newsgroup, fell free to post :-) (not the web forum, please) It's only 2 things...First, the wirdest :) after this code: <atlas:UpdatePanel ID="p1" runat="server" Mode="conditional"> <ContentTemplate> <asp:Image ID="imgTemp" runat="server" /> </ContentTemplate> <Triggers> </Triggers> </atlas:UpdatePanel> I do not acess in the scritp to the imgTemp Object :( I enter imgTemp.ImageURL = "" and VS2005 says that imgTemp is not declared :( Second, a little bit more complicated... I have 5 images in line, and 2 buttons (asp:ImageButton) that move the images [I just change the ImageURL property for every one acording the right movement] to the right or to the left) everything is working fine without ATLAS I want to implement ATLAS to move the images without reloading the page... This is How I did it and it executes the code completely but without moving/changing the ImageURL properties on the images (if I add a msgbox() to the end of the moving code, I get the msgbox ok) <form ... > <atlas:ScriptManager ID="s1" runat="server" EnablePartialRendering="true" /> <atlas:UpdatePanel ID="p1" runat="server" Mode="conditional"> <ContentTemplate> <table> <.. code with all the 5 images and 2 imageButton called btnMoveLeft and btnMoveRight.. > </table> </ContentTemplate> <Triggers> <atlas:ControlEventTrigger ControlID="btnMoveLeft" EventName="Click" /> <atlas:ControlEventTrigger ControlID="btnMoveRight" EventName="Click" /> </Triggers> </atlas:UpdatePanel> </form> Wasn+t the propose of this working the same maner but without refreshing the hole page to move the images? I'm a really newbie at ATLAS, so please be gentle ;) -- Thank you in Advance. Bruno Alexandre (a Portuguese in Denmark) |
|||||||||||||||||||||||