Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
84 views
hello

I use RadAjaxManagerProxy in a usercontrol and it dosenot work in one of mypage and i recieve error (only in IE browser):
sys.webforms.pageReqestManagerServerErrorException:An unknown error occurrred while processing the request on the server...400

I resolve this error with machinekey in web.config but when I upload my site ,again I recieve this error.


please help...

 

Princy
Top achievements
Rank 2
 answered on 08 Aug 2011
3 answers
249 views
Hi, we are scratching our heads on how to set the time. The value in the database (StartTime) is

2011-07-22 07:00:00.000

and our dateTimePicker looks like this

 <telerik:RadDateTimePicker ID="RadDateTimePicker3" runat="server" Culture="English (United States)" DbSelectedDate='<%# Bind("StartTime") %>'  >
                                 <DateInput ID="DateInput3" runat="server" />
                                 </telerik:RadDateTimePicker>


But it always displays 12:00 AM in the time picker. I looked all over the support forums and there are many many examples for the timepicker itself, but nothing all that clear on raddateTimePicker. If anyone can help, that would be greatly appreciated. Thanks!
Mira
Telerik team
 answered on 08 Aug 2011
1 answer
99 views
I'm trying to add fields to a RadFilter component, and I'm using this code:

	Telerik.Web.UI.RadFilterNumericFieldEditor testNum = new Telerik.Web.UI.RadFilterNumericFieldEditor();
        testNum.FieldName = "OrderID";
        testNum.DataType = Type.GetType("System.Int32");
 
        RadFilterQueryFilter.FieldEditors.Add(testNum);

However, when I execute, the field is not visible on the field list. What I am missing?
Andrey
Telerik team
 answered on 08 Aug 2011
7 answers
174 views
Hi,

while filtering a combox column within an item template, i received the following runtime error. This only happens on the radgrid combox column.

Microsoft JScript runtime

error: Sys.WebForms.PageRequestManagerServerErrorException: is neither a DataColumn nor a DataRelation for table DefaultView.

 


thanks,
Minh Bui
Jayesh Goyani
Top achievements
Rank 2
 answered on 08 Aug 2011
1 answer
65 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
54 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
162 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
43 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
108 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
68 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?