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

[Solved] Error executing child request for handler 'System.Web.UI.Page

0 Answers 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Prabhu
Top achievements
Rank 1
Prabhu asked on 11 Aug 2010, 02:19 PM
Hi All,

I have upgraded my Telerik RAD controls version from 2009.2.701.20 to 2009.2.713.20(Trial Version) in my application.
While running the application i got the error "Error executing child request for handler 'System.Web.UI.Page" in the following line.   

public

 

static string RadControl<T>(this HtmlHelper htmlHelper, Action<T> initializeControl)   

 

 

where T : WebControl, ISkinnableControl, new()  

 

return ControlRenderer.GetControlHtml(CreateControl(initializeControl)); =>> Error appears here

 }
I have the following namespaces in the page

 

using

 

Telerik.Web;

 

 

 

using

 

Telerik.Web.UI;

 

 

 

using

 

Telerik.Web.UI.Common;

 

 

Also in the following function:

 

public static void RenderTelerikDatePicker(this HtmlHelper html, string name, object value, Action<Telerik.Web.UI.RadDatePicker> initializeControlAction)

 

{

 

object defaultValue = DefaultValue(html, name);

 

 

if (string.IsNullOrEmpty(defaultValue as string))

 

{

defaultValue = value;

}

 

ViewDataDictionary ViewData = new ViewDataDictionary();

 

ViewData[

"Id"] = name;

 

ViewData[

"DateValue"] = defaultValue;

 

ViewData[

"InitializeControlAction"] = initializeControlAction;

 

ViewData[

"ControlStyle"] = "telerik";

 

ViewData[

"EmbeddedScripts"] = false;

 

html.RenderPartial(

"HLDatePickerView", ViewData);  =>> Error appears here 

 

}

 


 

 

Do i need to add anything with this?
Could anyone help me to solve this issue...

Thanx in advance!
Regards
Pravels

 

 

Tags
General Discussions
Asked by
Prabhu
Top achievements
Rank 1
Share this question
or