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

RadAjaxLoadingPanel changes the URL

1 Answer 59 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Asif
Top achievements
Rank 1
Asif asked on 10 Oct 2011, 06:59 AM
Hello Support

I have an serious issue related to RadAjaxLoadingPanel which changes the URL in the address bar
On my page I have an RadAjaxLoadingPanel

<telerik:RadAjaxLoadingPanel ID="LoadingPanel1" Height="200px" Width="200px" runat="server"  Transparency="30">
       <table width="100%">
           <tr>
               <td width="100%" align="center" valign="top">
                   <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
                       style="border: 0px;" />
               </td>
           </tr>
       </table>
       </telerik:RadAjaxLoadingPanel>

When the code is executed, on this line the URL of my page changes to something like
http://localhost:50049/Web_App/
 
http://localhost:50049/Web_App/http://localhost:50049/Web_App/

http://localhost:50049/Web_App/(S(mq4cwf55cmht42ypwio5dhzu))/Login.aspx?ReturnUrl=%2fWeb_App%2fdefault.aspx
/Login.aspx?ReturnUrl=%2fWeb_App%2fdefault.aspx

Because of the second changed URL my none images are not loaded. It shows me cross mark(image not found error). The unkown directory name is not found my the application. (S(mq4cwf55cmht42ypwio5dhzu))
How to stop the url rewriting the zunk values from current scenario?

The zunk value is an sessionid is added in url by default how to prevent this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 13 Oct 2011, 07:32 AM
Hello Asif,

I tried the code below and it is working fine with the latest version of the controls. It shows the image correctly and I am unable to see the problem that you are writing about. Can you test this code and let me know what is different in your case.
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server">
</telerik:RadScriptManager>
<div>
  <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" Height="200px" Width="200px" runat="server"
    Transparency="30" MinDisplayTime="50000">
    <table width="100%">
      <tr>
        <td width="100%" align="center" valign="top">
          <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
            style="border: 0px;" />
        </td>
      </tr>
    </table>
  </telerik:RadAjaxLoadingPanel>
  <telerik:RadAjaxPanel runat="server" LoadingPanelID="LoadingPanel1">
    <asp:Button runat="server" Text="submit" />
  </telerik:RadAjaxPanel>
</div>
</form>


Kind regards,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Ajax
Asked by
Asif
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or