Hello Telerik Team,
I m getting the HTTP Exception: Request is not available in this context.
Since, I can't send the whole code, I can explain on a high level where I am getting this issue:
I m trying to interact between two userControls inside a Radpageview. When sending the request from one control(RadtreeView) to Grid and rebinding it..I m getting this at the point where I bind this grid to a placeholder.
I see that the data is getting binded to the control properly but before rendering on to the page, I m coming across this error.
I m not using HttpContext.Current.Request anywhere in my code. It is rendered on to my IE with IIS7.0
Any help on this will greatly be appreciated.
I m getting the HTTP Exception: Request is not available in this context.
at System.Web.UI.Page.get_Request()
at Telerik.Web.UI.RadGrid.BrowserIsCrawler()
at Telerik.Web.UI.RadGrid.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.ControlCollection.Add(Control child)
at Class.Data.GetDataControl(Page& Page, Control& ctrlRef, HttpServerUtility& Server) in
C:\inetpub\wwwroot\Class\Data.vb:line 56
at Controls.ResultsControl.DefineGridStructure(XmlDocument& xmlDoc, Page& Page, PlaceHolder&
phlaceholder1, HttpServerUtility& server) in C:\inetpub\wwwroot\Controls
\ResultsControl.ascx.vb:line 65
at Controls.ListingResultsControl.page_Init(Object sender, EventArgs e) in C:\inetpub\wwwroot\Controls\ResultsControl.ascx.vb:line 14
at System.Web.UI.Control.OnInit(EventArgs e)
at System.Web.UI.UserControl.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.ControlCollection.AddAt(Int32 index, Control child)
at Class.Handler.Submit(RadMultiPage& tabMultiPage, XmlDocument docRequest) in C:\inetpub\wwwroot\Class\Handler.vb:line 113
at Controls.TreeControl.GetTypes() in C:\inetpub\wwwroot\Controls
\TreeControl.ascx.vb:line 293
at Controls.TreeControl.RadTreeView1_NodeClick(Object sender, RadTreeNodeEventArgs e) in C:
\inetpub\wwwroot\Controls\TreeControl.ascx.vb:line 152
at Telerik.Web.UI.RadTreeView.RaiseEvent(Object eventKey, RadTreeNodeEventArgs e)
at Telerik.Web.UI.RadTreeView.OnNodeClick(RadTreeNodeEventArgs e)
at Telerik.Web.UI.RadTreeView.RaisePostBackEvent(String eventArgument)
at Telerik.Web.UI.RadTreeView.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint)
I m trying to interact between two userControls inside a Radpageview. When sending the request from one control(RadtreeView) to Grid and rebinding it..I m getting this at the point where I bind this grid to a placeholder.
I see that the data is getting binded to the control properly but before rendering on to the page, I m coming across this error.
I m not using HttpContext.Current.Request anywhere in my code. It is rendered on to my IE with IIS7.0
Any help on this will greatly be appreciated.