Groups > Asp .Net > ASP.NET Atlas Framework discussion > Re: Problem with asp adrotator in updatepanel of Atlas CTP July




Problem with asp adrotator in updatepanel of Atlas CTP July

Problem with asp adrotator in updatepanel of Atlas CTP July
Sat, 23 Sep 2006 09:15:35 +000
I have a small testpage with a Atlas timer control and and update panel
In the update panel I have a timer.ascx (showing the time) and also an ASP
adrotator
Purpose is to change the add every 2 seconds without a postback. (timer control
interval set at 2000 ms)

 When I use the Microsoft.web.Atlas.dll from March (2.05.0727.60309) it works
perfectly.

When I use the Microsoft.web.Atlas.dll from the CTP of July (2.05.0727.60725)
the following happens:

When the page first loads it shows an add and the date time.

After the timer interval has elapsed the time control displays the new time but
the adrotator disappears.

The timer.asx keeps updated every 2 seconds.
Post Reply
Re: Problem with asp adrotator in updatepanel of Atlas CTP July
Sat, 23 Sep 2006 19:13:39 +000
Solved it, found solution elsewhere on the web.

For those still seeking:

Add a section to the update panel like this:

  <Triggers> 
        <atlas:ControlEventTrigger ControlID="Adrotator1"
EventName="AdCreated" /> 
</Triggers>
Post Reply
Re: Problem with asp adrotator in updatepanel of Atlas CTP July
Mon, 25 Sep 2006 07:10:43 +000
Another "bug" showed up:

I am using the timer control to update the adrotator (which resides in an update
panel) in a masterpage every 4 seconds.

When I use a datagrid in the content page, also in an update panel; together
with an updateprogress control from Atlas

then everytime the timer control event happens I see the updateprogress tekst. I
don't want the updateprogress to show every 4 seconds for the adrotator.

It would be nice if the updateprogress control could be bound to none, one or
more update panels,

just like the validation controls can be grouped based on the value of the
valdationgroup property.
Post Reply
about | contact