

| private RadFileExplorer CreateAndInitializeExplorer() |
| { |
| RadFileExplorer explorer = new RadFileExplorer() |
| { |
| EnableViewState = true, |
| VisibleControls = FileExplorerControls.All ^ FileExplorerControls.AddressBox, // only disable AddressBox. show everything else |
| Width = 900.Pixel(), |
| EnableCreateNewFolder = true, |
| EnableCopy = false |
| }; |
| explorer.Load += Explorer_OnLoad; |
| explorer.PreRender += Explorer_PreRender; |
| explorer.Configuration.ContentProviderTypeName = typeof(MyContentProvider).AssemblyQualifiedName; |
| string[] basePath = MyContentProvider.GetRootsPaths(); |
| explorer.Configuration.ViewPaths = basePath; |
| explorer.Configuration.UploadPaths = basePath; |
| explorer.Configuration.DeletePaths = basePath; |
| return explorer; |
| } |
| private const PathPermissions FULL_PERMISSIONS = PathPermissions.Read | PathPermissions.Delete | PathPermissions.Upload; |

Hello
I am trying to add dock control to my web page.My web page has a vald asp.net 3.5 scriptmanager. but it has started to give this error :
The control with ID 'RadDockZone1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.
I am pretty sure there is a scriptmanager on the page.I tired to set RegisterWithScriptManager="false" property and try again.But after that ,it throwed that error
Unable to cast object of type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'.
I searched internet ,it was suggested to change webconfig ajax part like this to solve this problem :
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
I did it ,but it did not work still same error given ,any idea ?
Thanks in advance
public
void LinkButtonExportToExcel_click(object sender, EventArgs e)
{
int rowCount = RadGridProduct.Items.Count;
if (rowCount <= 0) { return; }
RadGridProduct.ExportSettings.ExportOnlyData =
true;
RadGridProduct.ExportSettings.IgnorePaging =
false;
RadGridProduct.ExportSettings.OpenInNewWindow =
true;
RadGridProduct.MasterTableView.ExportToExcel();
}
It worked fine before but not now. After I clicked the LinkButton, no Excel opened in the new window and my RadGid had lost all of Filter controls and other controls inside ItemTemplates. Am I missing something?
Thanks,
Enoch