
I discovered this problem today and believe it may be of benefit to the community...
I have a RadFileExplorer and have implemented my own FileBrowserContentProvider that bounces off our database.
Very often when I click on a folder the ajax loading doughnut appears and does not go away. If I repeatedly click on another folder and then back to the original the doughnut will disappear and the directory listing will appear successfully.
The problem never occurs on a folder with no subfolders or files. But it does occur if the folder has a single subfolder or file.
When it stops working it is associated with an exception appearing in the Visual Studio output window....
A first chance exception of type 'System.Runtime.Serialization.SerializationException' occurred in WebDev.WebHost.dll
I enabled exception breaking on this exception and the stack trace showed....
WebDev.WebHost.dll!Microsoft.VisualStudio.WebHost.Request.ReadEntityBody(byte[] buffer = {byte[8192]}, int size = 1957) + 0x57 bytes
System.Web.dll!System.Web.HttpRequest.GetEntireRawContent() + 0x2c7 bytes
System.Web.dll!System.Web.HttpRequest.FillInFormCollection() + 0x13f bytes
System.Web.dll!System.Web.HttpRequest.Form.get() + 0x45 bytes
System.Web.dll!System.Web.HttpRequest.this[string].get(string key = "HTTP_X_MICROSOFTAJAX") + 0x28 bytes
Telerik.Web.UI.dll!Telerik.Web.UI.RadCompression.IsAjaxRequest() + 0x3c bytes
Telerik.Web.UI.dll!Telerik.Web.UI.RadCompression.Compress(System.Web.HttpApplication application = {ASP.global_asax}) + 0x348 bytes
Telerik.Web.UI.dll!Telerik.Web.UI.RadCompression.PreRequestHandlerExecute(object sender = {ASP.global_asax}, System.EventArgs e = {System.EventArgs}) + 0x4d bytes
System.Web.dll!System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 0x45 bytes
System.Web.dll!System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication.IExecutionStep step = {System.Web.HttpApplication.SyncEventExecutionStep}, ref bool completedSynchronously = true) + 0x4c bytes
System.Web.dll!System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(System.Exception error) + 0x133 bytes
System.Web.dll!System.Web.HttpApplication.ResumeStepsFromThreadPoolThread(System.Exception error) + 0x25 bytes
System.Web.dll!System.Web.HttpApplication.AsyncEventExecutionStep.ResumeStepsWithAssert(System.Exception error) + 0x28 bytes
System.Web.dll!System.Web.HttpApplication.AsyncEventExecutionStep.OnAsyncEventCompletion(System.IAsyncResult ar) + 0x84 bytes
System.Web.dll!System.Web.HttpAsyncResult.Complete(bool synchronous, object result, System.Exception error, System.Web.RequestNotificationStatus status) + 0x3e bytes
System.Web.dll!System.Web.SessionState.SessionStateModule.PollLockedSessionCallback(object state) + 0x1af bytes
mscorlib.dll!System.Threading._TimerCallback.TimerCallback_Context(object state) + 0x2f bytes
mscorlib.dll!System.Threading.ExecutionContext.runTryCode(object userData) + 0x51 bytes
[Native to Managed Transition]
[Managed to Native Transition]
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x67 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x45 bytes
mscorlib.dll!System.Threading._TimerCallback.PerformTimerCallback(object state) + 0x6b bytes
[Appdomain Transition]
I have discovered what it is though. It is unrelated to Telerik. I am running against ASP.NET development server and we have forms authentication. Often we receive the exception...
Type 'Signmanager.Security.Security' in assembly 'Signmanager.Security.Bec, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
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.
[SerializationException: Type 'Signmanager.Security.Security' in assembly 'Signmanager.Security.Bec, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.]
Microsoft.VisualStudio.WebHost.Server.GetProcessToken() +0
Microsoft.VisualStudio.WebHost.Host.GetProcessToken() +87
Microsoft.VisualStudio.WebHost.Request.GetUserToken() +35
Microsoft.VisualStudio.WebHost.Request.GetServerVariable(String name) +202
System.Web.HttpRequest.AddServerVariableToCollection(String name) +25
System.Web.HttpRequest.FillInServerVariablesCollection() +188
System.Web.HttpServerVarsCollection.Populate() +34
System.Web.HttpServerVarsCollection.Get(String name) +8637927
System.Collections.Specialized.NameValueCollection.get_Item(String name) +7
System.Web.HttpRequest.get_Item(String key) +105
System.Web.UI.Page.get_LastFocusedControl() +59
System.Web.UI.Page.BeginFormRender(HtmlTextWriter writer, String formUniqueID) +8704633
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +54
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.Page.Render(HtmlTextWriter writer) +29
Signmanager.Web.UI2.PageBase.Render(HtmlTextWriter writer) in C:\Fast Data\SMWeb20\Signmanager.Web.UI2\PageBase.cs:1507
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +699
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.Page.Render(HtmlTextWriter writer) +29
Signmanager.Web.UI2.PageBase.Render(HtmlTextWriter writer) in C:\Fast Data\SMWeb20\Signmanager.Web.UI2\PageBase.cs:1542
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266
This is a well known short coming of ASP.NET development server running against forms authentication.
It appears that this same problem is responsible for the problems with RadFileExplorer.
When I turned off forms authentication RadFileExplorer started working perfectly.

Hi there,
It's been over 3 hours since I am getting this error -
"Build (web): Could not load file or assembly 'Telerik.Web.UI, Version=2010.1.519.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified."
What I did was I tried to run the Telerik.WEb.UI dll from the GAC, so dragged it in from my bin folder to the GAC. Then I undid that and tried running it from the bin folder. Since then it just refuses to build and keeps giving me the above error.
Moreover no other project is building on my machine. I have about 8-odd projects using the telerik dll. I tried restarting the Visual studio also restarted my machine, but keep getting the above error. I deleted and added by the reference and clear all temporary internet files, but to no use. I can confirm that all my applciations use .net 2.0 runtime.
Any suggestions will be of great help.
Thanks & Regards
Hi,
When I click a folder in the tree, it is loaded (the folder gets populated with children).
When this happens, I want to output extra meta information about these children to the page.
(The children that are loaded when a folder is selected are lazy loaded (or loaded on demand, if you will) from a database (I use a custom content provider)).
I've tried using the server side FileExplorer.Load event, since I've noticed that that is called every time a folder is clicked in the tree. However, the text for "testLabel" isn't updated:
Page_Load()
{
fileExplorer.Load += fileExplorer_Load;
}
void fileExplorer_Load(object sender, EventArgs e)
{
testLabel.Text = "my new metadata for the newly loaded children"
}
Is it possible to accomplish what I'm trying to do?
Regards,
Andreas
