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

Ajax Update Panel

3 Answers 206 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
DK
Top achievements
Rank 2
DK asked on 26 Jun 2009, 11:35 AM
hi
i am using telerik ajax update panel.
on button click the progress bar or the  loading image is of the size  of the table cell in which the buttn is .
for example i have following code.

<table>
<tr>
<td>
<asp:button id="btnsearch" runat="server" />
</td>
<td>
<asp:button id="btnNewUser" runat="server" />
</td>
</tr>
</table>
this table contains so many fileds ,i m not going to write all those.
now the problem appears when i use the following code

<

 

telerik:RadAjaxLoadingPanel InitialDelayTime="0" ID="panLoading" runat="server" EnableSkinTransparency="true" BackgroundPosition="Center"

 

 

Transparency="20" BackColor="#E0E0E0">

 

 

<table style="height:100%; width:100%; z-index:1024">

 

 

<tr >

 

 

<td>

 

 

<asp:Image ID="Image1" runat="server" AlternateText="Loading..." BorderWidth="0px"

 

 

ImageUrl="Images/WebResource.gif"></asp:Image>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</telerik:RadAjaxLoadingPanel>


with the button

 

<

 

td colspan="2" align="left">

 

 

 

 

 

<br />

 

 

 

 

 

<telerik:RadAjaxPanel ID="panNewUser" runat="server" LoadingPanelID="panLoadNewUserPage">

 

 

 

 

 

<asp:Button ID="btnNewUser" runat="server" Text="New User" />

 

 

 

 

 

</telerik:RadAjaxPanel>

 

 

 

 

 

</td>

 



then the image appears only for that cell in which the button is.
please solve my problem.

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 26 Jun 2009, 12:47 PM
Hello Dharmendra,

You can set IsSticky="true" to avoid this behavior.

For more information, visit the following link:
AJAX Loading Panel

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
DK
Top achievements
Rank 2
answered on 26 Jun 2009, 02:09 PM
thanks for help.
every thing now working fine.
but the problem is here the gif image is stationary.
it is not  displaying as it is.
when i open in the  image viewer it is running.
but when it is shown in the update progress bar it is not working.

image is from your site

http://www.telerik.com/help/aspnet-ajax/images/Vista.gif

please help me as soon as possible.
Thnaks in advance
0
Daniel
Telerik team
answered on 26 Jun 2009, 02:38 PM
Hello Dharmendra,

I created a sample website that illustrates how to center the loading image on the screen. Test it on your end and let me know whether this helps.

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
DK
Top achievements
Rank 2
Answers by
Daniel
Telerik team
DK
Top achievements
Rank 2
Share this question
or