Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
115 views
Hi -

We are experiencing an issue, which I am able to reproduce in your demo, where creating a recurring event that has a duration greater than its frequency causes rendering issues.  For example, an event that is a week long and happens every hour.  More extremely, try this scenario:

1. Create a new event with a start of 9/14/2005 11:00 AM and a finish of 9/14/2012 1:00 PM.
2. Add hourly recurrence (recurring once every hour).
3. Navigate to some date in the scheduler that comes before 9/14/2012.

The above scenario, while I realize it is unrealistic in a practical sense (but of course, everyone has users who will try it), causes the recurring events to overlap and ultimately "stack up" to epic proportions.  It crashed my browser when I tried it in your demo.  The same thing happens in our application, and we are getting this error as well (which I imagine you may have seen in your own error logs when I tried it in your demo):

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value
at System.Web.UI.WebControls.Unit..ctor(Double value, UnitType type)
at Telerik.Web.UI.Scheduler.Views.SchedulerAllDayTable.CreateAllDayCells(WebControl row, Dictionary`2 appointmentControls)
at Telerik.Web.UI.Scheduler.Views.SchedulerAllDayTable.AddRow(IList`1 allDaySlots, Dictionary`2 appointmentControls)
at Telerik.Web.UI.Scheduler.Views.Week.Renderer.CreateAllDayContent(WebControl allDayContentWrapper)
at Telerik.Web.UI.Scheduler.Views.Week.RendererBase.AddAllDayRowContent(SchedulerTopTable topTable)
at Telerik.Web.UI.Scheduler.Views.Week.Renderer.GetInnerContent()
at Telerik.Web.UI.Scheduler.Views.Week.Renderer.GetContent()
at Telerik.Web.UI.RadScheduler.CreateContent()
at Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource)
at Telerik.Web.UI.RadScheduler.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Looking at the exception, it looks like what might be happening is that your code is trying to determine how tall the control needs to be based on how many events need to be rendered, and the .NET Unit structure itself is saying "that's too big."

Microsoft Outlook enforces a rule with recurrence where duration must be less than or equal to frequency.  That solves this issue.  Is there any reason the RadScheduler doesn't do the same?

Is there any known workaround here or are we expected to code our own validation for this on top of the RadScheduler?

Thanks,
John


Nikolay Tsenkov
Telerik team
 answered on 20 Dec 2010
1 answer
115 views
Hi,
I'm using RadControls for ASP.NET Q2 2007. I have a treeview control with checkboxes. It's working fine in IE7 and Firefox. But in IE8, the checkbox and icon for the treenode are not aligned to the treenode text. That makes the vertical lines between nodes not continuous. It doesn't look right.
Please give some help on this issue.
Thanks,
Nikolay Tsenkov
Telerik team
 answered on 20 Dec 2010
2 answers
50 views

The following error occurs and I have made some initial research;

Line: 1707 Error: 'get_element()' is null or not an object

This occurs only when tree is not loaded and user clicks to go on other screen. I have made some analysis on this function and this is due to missing parameter attributes.
When the error occurs the second parameter in this f-tion o in the in the _contex attribute in most of the values has nulls.
In line 1670 all this values are transferred to variable e;

 

 

var e=o.get_context();
And finally in line 1707 when
e.get_element() is called, function fails.

I have noted that this event (
onNodeLoadingSuccess) happens after TreeViewNodePopulating and before TreeNodePopulated and a possible solution is if I could check the context and cancel tree loading.

I have tried it this way but seems like context element is locked because it only has value {..} but nothing else can be seen.

 

function TreeViewNodePopulating(sender, eventArgs) {
var _contextElement = eventArgs.get_context();

Could you tell me how to access this context element and check it value and if it’s null I could cancel the whole tree loading process.
Btw the tree loading is successful but after user press ok on this error and the tree reloads itself.

 

 

Additional information:
Tree view is client loaded trough web service
Telerik version 2010.2.826.35

Best Regards
Deni Spasovski

 

 

Nikolay Tsenkov
Telerik team
 answered on 20 Dec 2010
1 answer
86 views
We are using Telerik Radgrid in our application. We identified that there are many js files which are getting loaded on the page when use the Telerik.Web.UI dll.  These js files are loaded as ScriptResource.axd reference files dynamically.

Since we are only using telerik Radgrid we decided to set the EnableEmbeddedScripts property to false. Hence we set the property in web.config as below:
             <appSettings>
                     <add key="Telerik.EnableEmbeddedScripts" value="false"/>
             </appSettings>

We also gave the script reference as below: Note that we are also using AJAXToolkit script manager, and it is not possible to remove that.

             <ajaxToolkit:ToolkitScriptManager ID="masterPageScriptManager" runat="server" AsyncPostBackTimeout="1200"
            EnableScriptGlobalization="true" ScriptMode="Release">
            <CompositeScript ScriptMode="Release">
                <Scripts>                   
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />                 
                </Scripts>
            </CompositeScript>
        </ajaxToolkit:ToolkitScriptManager>

After this settings we identified that all the functionality of Radgrid is working fine, except filter functionality.

Is there any other js file which we need to add in above Script tag ? Or is there any other specific configuration we need to do for fitler functionality ?
Simon
Telerik team
 answered on 20 Dec 2010
1 answer
152 views
As disabling the embedded scripts, application would require references to many javascripts.
Is it possible to refer files responsible for RadGrid through AjaxScriptManager.

Please let me know which JS files are needed and where to find them to make all the functionality of a Rad Grid working. Also if [jQueryPlugins.js] is required, please let me know where can I find it as well.
Simon
Telerik team
 answered on 20 Dec 2010
1 answer
121 views


Hi 
In our application whenever the user clicks on submit button we display  till the result set in rad grid .
We are using rad ajax panel in the application on most of the pages.
We have been facing issues intermittantly that  ajax loading panel keeps on moving  on click of submit button .
The only solution to this is that the users have to close the browser and relogin.

I came across the following on teleric forums.
http://www.telerik.com/community/forums/aspnet/ajax/loading-image-gets-stuck.aspx

Following are the versions of the controls which we are using,
RadAjax.Net2.dll      1.7.2.0 
RadCalendar.Net2.dll  2.1.2.0 
RadComboBox.Net2.dll  2.7.2.0 
RadGrid.Net2.dll     4.6.2.0 
RadWindow.Net2.dll   1.8.2.0 
RadTabStrip.Net2.dll 3.5.2.0 
RadSplitter.Net2.dll 1.2.2.1 
RadMenu.Net2.dll     4.3.2.0 
RadInput.Net2.dll    2.0.2.0 
RadWindow.Net2.dll  1.8.2.0

Please provide your suggestion how this issue can be resolved,

regards,
Sandeep
Sebastian
Telerik team
 answered on 20 Dec 2010
4 answers
141 views
I have multiple panels on a page.  Normally I only need to refresh one panel at a time from editing customer info.  However, in the instance when I want to make a payment, I need to update several panels.

When a popup window closes I've tried the following to refresh my panels, but only the first panel gets refreshed.  Anyone have any idea how to refresh multiple panels in this instance? 

                    ajaxManager = $find("<%=MakePaymentButtonPanel.ClientID %>");
                    ajaxManager.ajaxRequest("MakePayment");
                    ajaxManager = $find("<%=MakePaymentPanel.ClientID %>");
                    ajaxManager.ajaxRequest("MakePayment");
                    ajaxManager = $find("<%=PaymentsMadePanel.ClientID %>");
                    ajaxManager.ajaxRequest("MakePayment");                   
Travis
Top achievements
Rank 1
 answered on 20 Dec 2010
1 answer
86 views
Hi,

I have a RadMenu on a master page and I want to show a Rad loading panel when RadMenu is clicked. I am using RadAjaxManager and am successful with main RadMenu. However I cannot get the loading panel to fire when RadMenuItems are clicked.

Can somebody guide me in the right direction?

Andrew
Pavlina
Telerik team
 answered on 20 Dec 2010
2 answers
79 views
I want a GridMaskedColumn to accept any 3 characters. ### is accepting only 3 numbers. Any thoughts.....
Smiely
Top achievements
Rank 1
 answered on 20 Dec 2010
1 answer
73 views
Hi,

I want to add an additional column to Calendar, just like in attached image. I tried to use ShowRowHeaders but I don't know how to move column to the right side.

Best Regards
Mira
Telerik team
 answered on 20 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?