Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
112 views
 I upgraded the RadControls for ASP.NET to Q1 2009.  Everything worked fine.  I download RadControls for ASP.NET AJAX version 2009.3 1103 release.  I tried replacing a grid with the ajax grid and it tells me of course I needed a script manager.  So i added the RadScripManager.  When I try to load the page I get the following error. 

Unable to cast object of type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'.

I'm sure I have a lot of fluff in the web config file and bin folder, but I really don't know what to change.

Thanks for any help.
Veselin Vasilev
Telerik team
 answered on 04 Dec 2009
2 answers
74 views
I am using RadScheduler for the first time.

I am trying to understand if its possible to use the scheduler depending on their privileges.
(Well in my case) Could a user only view the scheduler, an admin update / edit / delete / add an appointment (have all the privileges) ?
What would be the best approach to this?

And also any information or a sample on using different tables to fetch data into the scheduler, would be greatly appreciated. I am trying to pull up data into a scheduler depending on different users. And each type of user will be identified by their location and there are admins in that particular location who could modify the events in the scheduler. There are also general admins who could have access to all the locations. So its three different scenarios.

Thanks for your inputs in advance.

Sant.
Sant Ra
Top achievements
Rank 1
 answered on 04 Dec 2009
3 answers
584 views
Hi,

I am using Visual Studio 2008, Rad Conrtols for ASP.NET AJAX Q2 2009 and .net Framework 3.5 and C# Programming.
I am using RAD Grid to display the data and in line mode to edit the data.
i want to always have an emptyrow in the grid so that when the user doule clicks on this empty row, the grid goes into edit mode, user clicks on save and the new row is added.
If there are any rows in the grid already, user can edit the rows by double clicking in a cell and when double click on the empty row user can type in new data.
Thus when clicked on save button, the data in the empty row is added and the data in the other rows is updated.

Thanks,
RKS
Roland
Top achievements
Rank 1
 answered on 04 Dec 2009
1 answer
92 views
What is the best method to use when exporting the schedulers appointments when populating the data via a
WCF service?  

When trying to use the Export post-back ExportToICalendar method the radscheduler does not have the appointments collection populated.

Peter
Telerik team
 answered on 04 Dec 2009
3 answers
205 views
Hello,

I postback MVC views using JQuery.  I have a RadComboBox control within this MVC view that posts back, and replaces the UI, with JQuery code.  The control works, but when I replace the content returned from JQuery, the RadComboBox stops working.  I'm assuming I need to call $create to make this work... any advice on that?

Thanks.
Georgi Krustev
Telerik team
 answered on 04 Dec 2009
1 answer
184 views
Hi,

I'm getting the folllowing error when adding a RadDock control to a RadDockZone in Page_Init.

What I'm doing:

Default.aspx
...uses LoadControl() to load -> Layout.ascx (contains a RadDockLayout with a RadDockZone)
......Layout.ascx then dynamically creates and adds a RadDock to the zone

The error only happens if I load the dock in Page_Init. If I load in Page_Load it works.

The markup from Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">  
        </telerik:RadScriptManager> 
        <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder> 
    </div> 
    </form> 
</body> 
</html> 
 

The code behind from Default.aspx:
using System;  
using System.Web.UI;  
 
public partial class _Default : System.Web.UI.Page  
{  
    protected void Page_Init(object sender, EventArgs e)  
    {  
        Control layout = LoadControl("Layout.ascx");  
        if (layout != null)  
        {  
            PlaceHolder1.Controls.Add(layout);  
        }  
    }  
}  
 

The markup from Default.aspx:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Layout.ascx.cs" Inherits="Layout" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<telerik:RadDockLayout ID="DockLayout1" runat="server">  
    <table border="1" cellpadding="0" width="800">  
        <tr> 
            <td width="100%" valign="top">  
                <telerik:RadDockZone ID="DockZone1" runat="server" BorderStyle="None">  
                </telerik:RadDockZone> 
            </td> 
        </tr> 
    </table> 
</telerik:RadDockLayout> 
 

The code behind from Layout.ascx:
using System;  
using System.Web.UI;  
 
using Telerik.Web.UI;  
 
public partial class Layout : System.Web.UI.UserControl  
{  
    protected void Page_Init(object sender, EventArgs e)  
    {  
        //this causes error  
        RadDock dock = new RadDock();  
        RadDockZone zone = FindControl("DockZone1") as RadDockZone;  
        zone.Controls.Add(dock);  
    }  
 
    protected void Page_Load(object sender, EventArgs e)  
    {  
        //this works  
        //RadDock dock = new RadDock();  
        //RadDockZone zone = FindControl("DockZone1") as RadDockZone;  
        //zone.Controls.Add(dock);  
    }  
 
}  
 

The error I'm getting is:

Value cannot be null.
Parameter name: key

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.ArgumentNullException: Value cannot be null.
Parameter name: key

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: key]
   System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) +44
   System.Collections.Generic.Dictionary`2.FindEntry(TKey key) +7455633
   System.Collections.Generic.Dictionary`2.ContainsKey(TKey key) +4
   Telerik.Web.UI.RadDockLayout.SetRegisteredDockParents(Dictionary`2 parents, Dictionary`2 indices) +317
   Telerik.Web.UI.RadDockLayout.Page_InitComplete(Object sender, EventArgs e) +169
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnInitComplete(EventArgs e) +8698006
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +467

The problem seems to be internal to the RadDockLaout control. Any idea what is happening? 

I'll attach the actual files to a support ticket so you guys can try running them.

Thanks.

-Al
apb
Top achievements
Rank 1
 answered on 04 Dec 2009
3 answers
94 views
I use a radTree whose nodes have ExpandMode set to ServerSideCallBack.

At the client-side, I am able to fire _node.expand(); method to actually expand a given treeNode, but I am struggling to find a way for the notification of when the expand operation gets completed. That will help me in accessing the child nodes of a mode in Javascript.

Please let me know if there is any way.

Thanks,
Saurabh.
Yana
Telerik team
 answered on 04 Dec 2009
0 answers
104 views
2009.3.1103.35 w/IE8

<RadComboBox ID="cbo" runat="server" 
      Filter="Contains" MarkFirstMatch="true" AllowCustomText="false" NoWrap="true"> 
</RadComboBox> 

The list has about 500 items and there is NO lazy load involved.
The problem is that after I searched for a name (say 1 found), then I used the scroll bar to scroll down, it seems to go into search mode again and repopulates the display with the same name that was found.   (while sort of locking up the IE)

It seems I am hitting the same bug reported here:  

http://www.telerik.com/community/forums/aspnet-ajax/combobox/fix-items-loaded-on-demand-can-be-added-multiple-times-on-scroll-q3-2009-issue.aspx

Confirmed this issue is fixed in 2009.3.1201.35
Lenny_shp
Top achievements
Rank 2
 asked on 04 Dec 2009
3 answers
264 views

Hello,

I'm using IIS 7.0, I would like to ask the difference between the integrated mode pipeline and classic mode pipeline reated to the handlers for RadCaptcha (classic mode works without adding any handlers for RadCaptcha) in web.config? Any performance issue related? Or both just do the same thing?

Here's the handler that I should add in web.config for integrated mode:
<handlers>  
     
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.CaptchaImageHandler" />  
</handlers>

And what the difference between the type's values below:
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.CaptchaImageHandler" verb="*" validate="false" />

 

<

 

add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>

Any answer or help for this would be appreciated.

Regards,

Omar Suria

 

 

Pero
Telerik team
 answered on 04 Dec 2009
12 answers
537 views
I can not get an AdvancedEditTemplate to open when modal="true" is set. Is there a limitation with this?
Peter
Telerik team
 answered on 04 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?