This is a migrated thread and some comments may be shown as answers.

Control disppearing when using rad ajax manager

6 Answers 83 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
andieje
Top achievements
Rank 1
andieje asked on 16 Sep 2009, 05:38 PM
Hello

I have my page set up very simply. All of the controls on the page except the top menu and page title are inside an asp.net panel.
All of the controls in the panel that perform a postback are set up via the ajax manager to trigger an ajax postback where the target control is the panel itself. The page is set up to use a default loading panel which is used by every control that can trigger a postback.

One of the controls inside the panel is 'not working.' This is a third party control. When you click a control to trigger postback, the loading panel is displayed and all of the controls inside the panel 'disappear' except this third party control. When the postback is finished, the page is displayed and all of the other controls are visible except now the third party control has gone.

The third party control is from aspmap. It consists of a map object which displays a map and a toolbar object which zooms and pans the map. The map control works perfectly. It is the zoombar control that isn't working

Any help is much appreciated

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 17 Sep 2009, 06:29 AM
Hi andieje,

Can you verify if this control can work normally with plain UpdatePanel?

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
andieje
Top achievements
Rank 1
answered on 17 Sep 2009, 09:39 PM
Hi

The vendors said this:

The ZoomBar control was designed to work outside update panels when you use AJAX, because it has client-side state. We did not test it inside update panels, probably it will not work.

-------------

What i have done is move the zoom bar so that it is outside of the panel updated by the postback. The page works better now in that the zoom bar does not disappear when a page request is performed. However, even though the zoombar is positioned outside of the panel in terms of its location in the html, the zoombar is positioned on top of the panel in a browser window when the page is rendered. This is because the zoombar has a positioning property which is set to be on top of the map it is associated with and the map is inside the panel. When i put a loading panel over the top of the asp.net panel, the zoombar is still visible on top of the loading panel and it looks stupid. Is there anything I can do about this? Is there anyway I can set the z index of the loading panel so that it is on top of everything in that area of the page? The zoombar z index has to be 190 minimum.

I tried setting the z index of the loading panel to above 190 like so but it made no difference

 <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" 
        Width="75px" style=" z-index: 1000;">  
        <img  src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' 
            style="border: 0px; z-index: 1000;" /> 
    </telerik:RadAjaxLoadingPanel> 


thanks

0
andieje
Top achievements
Rank 1
answered on 25 Sep 2009, 10:49 PM
Hello

I would be very grateful for some help on this. I did post my last comment over a week ago.

I am going to try to hide the control using javascript. Using the rad ajax manager, how do i have some javascript that is executed as soon as the ajax postback is triggered and then have some other javascript triggered when the ajax postback is complete. My aim is to hide the control using javascript when the postback is triggered and then display it again after the postback.

As i said in my previous post, setting the z index of a panel to a hig value made no difference

many thanks
0
Pavlina
Telerik team
answered on 26 Sep 2009, 03:28 PM
Hi Andieje,

At client-side you can execute your own JavaScript functions at certain stages of the AJAX request. Additionally you can use a generic JavaScript function to make explicit AJAX requests to the server from the client. Please find more information about client side API in the following link.

If your problem(s) persists, it will be best if you can send us a simple running project (incl. CSS, images, skins, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.

All the best,

Pavlina
the Telerik team

 


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
andieje
Top achievements
Rank 1
answered on 28 Sep 2009, 01:29 PM
Hello

Unfortunately some of the help files are not working. The pages are missing when you click them. This applies to the Help installed on my machine so i presume they share the same web pages.

See GetAjaxEventReference - the page won't load

Please can this be fixed as I can't proceed without this information.

0
Pavlina
Telerik team
answered on 28 Sep 2009, 01:52 PM
Hello Andieje,

At this point in order to progress in the resolution of this problem I will ask you to open a formal support ticket and send us a simple working project. Thus we could help you further in resolving it.

Best wishes,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Ajax
Asked by
andieje
Top achievements
Rank 1
Answers by
Vlad
Telerik team
andieje
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or