Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
82 views
I have a simple RadTagCloud on a page which has a relatively complex layout. The items in the tag cloud are the result of a query and clicking the item perform additional queries, some of which can take some time to complete. I want to show an Ajax loader image (rotating dots) inside the ProgressTemplate of a .NET UpdatePanel. The problem I have is that clicking the link cuased the page to postback rather than showing the updater image. To illustrate this point...

I have a simple button on the page which when clicked shows that AJAX is being implemented

 Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        System.Threading.Thread.Sleep(2000)
 End Sub

However, the RadTagCloud (AutoPostBack=true) control performs a post back and reloads the page

Private Sub cloudAttractions_ItemClick(sender As Object, e As Telerik.Web.UI.RadTagCloudEventArgs) Handles cloudAttractions.ItemClick
System.Threading.Thread.Sleep(2000)
End Sub

Is there a solution to this problem?
Slav
Telerik team
 answered on 08 Aug 2011
1 answer
61 views
hi
I have a user control that is ajaxified by RadAjaxManagerProxy ,
I've also used a ToolTipManager that is ajaxified by setting it's OnAjaxUpdate property

It works well on page , but if I put this UserControl inside a ContentTemplate of a RadWindow in RadWindowManager
like this : 
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="True"
        Skin="Office2010Blue">
        <Windows>
            <telerik:RadWindow ID="ContainerBrowser" runat="server" Title="Container Browser"
                Modal="true" Behaviors="Maximize,Close,Minimize,Move,Resize">
                <ContentTemplate>
                    <uc3:SkinBrowser ID="SkinBrowser1" runat="server" SkinType="Container" /> <<-- my user control
                </ContentTemplate>
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>

I get this error : 




Cannot unregister UpdatePanel with ID 'ToolTipManager1RTMPanel' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 


Exception Details: System.ArgumentException: Cannot unregister UpdatePanel with ID 'ToolTipManager1RTMPanel' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel


Source Error: 




[No relevant source lines]
 


Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\rezaportal\4357407d\cc28616b\App_Web_zdvdvisy.0.cs    Line: 0 


Stack Trace: 




[ArgumentException: Cannot unregister UpdatePanel with ID 'ToolTipManager1RTMPanel' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel]
   System.Web.UI.PageRequestManager.UnregisterUpdatePanel(UpdatePanel updatePanel) +521276
   System.Web.UI.ScriptManager.System.Web.UI.IScriptManagerInternal.UnregisterUpdatePanel(UpdatePanel updatePanel) +49
   System.Web.UI.UpdatePanel.OnUnload(EventArgs e) +2515910
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +241
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
   System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
   System.Web.UI.Page.UnloadRecursive(Boolean dispose) +23
   System.Web.UI.Page.ProcessRequestCleanup() +43
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
   System.Web.UI.Page.ProcessRequest() +78
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.portalmanager_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\rezaportal\4357407d\cc28616b\App_Web_zdvdvisy.0.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


 




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 






I really have no idea to fix this problem
Thank you very much for your help
Marin Bratanov
Telerik team
 answered on 08 Aug 2011
10 answers
166 views
I am using a RadDateTime Picker and different controls like dropdown list etc on a ASP.Net web user control, And  I have RadAjaxLoadingPanel and RadAjaxPanel in my ASP.Net page.
Now when any event gets fired from any controls of the user control, it does display a loading panel in the main page; although the events fire properly and the page is updated.
The problem causing is that the loading panel not displaying only when the RadDateTime Picker selected the first time, Once we selected a date and try to change the selected date this time the loading panel works properly.
Note that the usercontrols are not added dynamically, they exist when the page is loaded.
Can anyone please guide me with an alternative way of achieving this? Or if I am missing something? I am not using AjaxManager in the ASP.net page.
Roshil
Top achievements
Rank 1
 answered on 08 Aug 2011
1 answer
52 views
Recently, we updated Telerik library from Q2 2010 to Q2 2011 and everything was good except the sliders i.e. pagers and only in all versions of IE (see attachments). Firefox and Chrome do not have the problem. Is there any idea how to fix that?

Thanks.
Mira
Telerik team
 answered on 08 Aug 2011
1 answer
116 views
Hello,

I have a TreeView for menu which is initialized by an XML file.
And I want to know, how can I set the selected node on load?

My problem is that the selectedNode element is readOnly :s

Can someone help me?

Thanks
Helen
Telerik team
 answered on 08 Aug 2011
1 answer
93 views

Hello,

I have a problem in changing the RotatorScrollDirection using c# code

Here is the code, I'm using:

switch (scrollDirection)
                {
                    case "Down": rotator1.ScrollDirection = RotatorScrollDirection.Down; break;
                    case "Left": rotator1.ScrollDirection = RotatorScrollDirection.Left; break;
                    case "Right": rotator1.ScrollDirection = RotatorScrollDirection.Right; break;
                    case "Up": rotator1.ScrollDirection = RotatorScrollDirection.Up; break;
                }

Is there any way to convert the string to object in order to prevent using the "switch" or "if" statements? for example, convert the string "Right" to the object "RotatorScrollDirection.Right"

Please, I need your help,
It is appreciated to send me the modified code.

Regards,
Bader

Niko
Telerik team
 answered on 08 Aug 2011
0 answers
111 views
Hi,

i want to export dropdown list from grid to Excel. Data is exporting in excel sheet but in place of dropdown list its showing the value of selected dropdownlist value but i need whole dropdownlist.

Please help

Regards,

Faisal 
faisal
Top achievements
Rank 1
 asked on 08 Aug 2011
1 answer
58 views
Hi,

i have one problem, i created a page which appear as child window in browser in that page i use RadUpload control and some other controls, i set tabindex property of all controls, when child window appears in browser i start hitting tab button from keyboard, till the focus not reaches at end control, after focus reaches end control  i hit tab button again focus gets lose it not appear in browser window or any other place in child window i continue hit tab button focus not come back in child window.

same thing i done without using rad control in our page focus on tab press normally behave it first go through all controls of child window page then go to browser window menu address bar and so on come back to child window

i want focus come back to child window with radupload control how can i do this please help.

thanks in advance
Peter Filipov
Telerik team
 answered on 08 Aug 2011
1 answer
97 views
Hello all -

I have the following scenario:

A main page using MasterPage.master.
In the main page a tab strip using multipageview.  The multipageview content is using subMaster.master.

I would like to call a RadWindow from the control in the multipageview that covers the entire browser window.  I can call one in the control page no problem, but it is only modal to the page calling it, not the main page.

Any clues to get me going in the right direction would be much appreciated.

Thanks.
Marin Bratanov
Telerik team
 answered on 08 Aug 2011
2 answers
158 views
I am trying to override the default CSS for RadGrid but still it is taking the Original RadGrid_Default style effects.Please let me know where to modify.
Waiting for response.
Shinu
Top achievements
Rank 2
 answered on 08 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?