protected void ImgExportExcel_Click(object sender, ImageClickEventArgs e)
{
rdgLUValue = ConfigureExcelExport(rdgLUValue);
bindLookupDataForExport();
rdgLUValue.MasterTableView.ExportToExcel();
}
public RadGrid ConfigureExcelExport(Telerik.Web.UI.RadGrid grdDataGrid)
{
grdDataGrid.ExportSettings.IgnorePaging = true;
//grdDataGrid.AllowPaging = false;
grdDataGrid.ExportSettings.ExportOnlyData = true;
grdDataGrid.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.ExcelML;
return grdDataGrid;
}
private void bindLookupDataForExport()
{
if (BAtEase.Common.BAtEaseSession.LookupData != null)
{
rdgLUValue.DataSource = BAtEase.Common.BAtEaseSession.LookupData;
rdgLUValue.DataBind();
up.Update();
}
}
Please, help.I am evaluating the Prometheus RadGrid and one of my requirements is to be able to load more data as the user scrolls. I have looked at the Yahoo-style scrolling demo and it gives the functionality that I require. However, the performance is unacceptible because the grid sends all rows of data to the client every time more data is requested. For example, say the initial page loads 50 rows. When the user scrolls to the bottom, a request is made for more data and the original 50 rows + 50 news rows are sent to the client. When the user scrolls to the bottom again, another request is made and 100 rows + 50 new rows are sent to the client. And so on.
If the number of rows is large, the preformance quickly degrades because so much data is being sent to the client.
Is there a way to have only the new rows sent to the client when the user scrolls to the bottom? One thought I had was to initiate an AJAX request to retrieve the new rows and insert them into the grid on the client side. But I'm not sure if this is possible.

Server Error in '/' Application.
--------------------------------------------------------------------------------
Invalid URL: /.
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.ArgumentException: Invalid URL: /.
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:
[ArgumentException: Invalid URL: /.]
Microsoft.SharePoint.SPSite.OpenWeb(String strUrl, Boolean requireExactUrl) +152
Microsoft.SharePoint.SPSite.OpenWeb(String strUrl) +32
Telerik.SharePoint.Editor.SPContentProvider.GetSPFolderFromPath(String path) +154
Telerik.SharePoint.Editor.SPContentProvider.ResolveDirectory(String path) +11
Telerik.SharePoint.Editor.SPContentProvider.ResolveRootDirectoryAsTree(String path) +4
Telerik.WebControls.RadEditorUtils.FileBrowserContentProvider.ResolveViewPaths() +83
Telerik.WebControls.EditorControls.FileBrowser.SerializeViewPaths() +104
Telerik.WebControls.EditorControls.FileBrowser.OnPreRender(EventArgs e) +168
System.Web.UI.Control.PreRenderRecursiveInternal() +86
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
The Event log on the server reported this:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 5-3-2008
Time: 16:38:15
User: N/A
Computer: ECNSPS
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5-3-2008 16:38:15
Event time (UTC): 5-3-2008 15:38:15
Event ID: 1083cf4990af447993330230824c6c7c
Event sequence: 8375
Event occurrence: 26
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1271277176/Root-1-128491526634139648
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\portal80\
Machine name: ECNSPS
Process information:
Process ID: 42612
Process name: w3wp.exe
Account name: DOMAIN\MOSS_POOL_SSP
Exception information:
Exception type: ArgumentException
Exception message: Invalid URL: /.
Request information:
Request URL: http://portal/_wpresources/RadEditorSharePoint/4.5.0.0__1f131a624888eeed/RadControls/Editor/Dialog.aspx?dialog=ImageManager&editorID=ctl00_m_g_90fd7e50_d270_4d20_a1df_c06149393b3b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_RadTextField&useSession=0&sessionID2=f9ffa2c0-4687-30ab-b778-ad6d58c62fc3&language=en_US&UseEmbeddedScripts=yes
Request path: /_wpresources/RadEditorSharePoint/4.5.0.0__1f131a624888eeed/RadControls/Editor/Dialog.aspx
User host address: 130.112.132.61
User: DOMAIN\MOSS_SETUP
Is authenticated: True
Authentication Type: NTLM
Thread account name: DOMAIN\MOSS_POOL_SSP
Thread information:
Thread ID: 5
Thread account name: DOMAIN\MOSS_POOL_SSP
Is impersonating: False
Stack trace: at Microsoft.SharePoint.SPSite.OpenWeb(String strUrl, Boolean requireExactUrl)
at Microsoft.SharePoint.SPSite.OpenWeb(String strUrl)
at Telerik.SharePoint.Editor.SPContentProvider.GetSPFolderFromPath(String path)
at Telerik.SharePoint.Editor.SPContentProvider.ResolveDirectory(String path)
at Telerik.SharePoint.Editor.SPContentProvider.ResolveRootDirectoryAsTree(String path)
at Telerik.WebControls.RadEditorUtils.FileBrowserContentProvider.ResolveViewPaths()
at Telerik.WebControls.EditorControls.FileBrowser.SerializeViewPaths()
at Telerik.WebControls.EditorControls.FileBrowser.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
It seems that it can't find the picture libraries present somehow.
Any Ideas?
| <telerik:radcombobox id="PageSize" runat="server" width="40px" skin="Office2007"> |
| <items> |
| <telerik:radcomboboxitem value="25" text="25" /> |
| <telerik:radcomboboxitem value="50" text="50" /> |
| <telerik:radcomboboxitem value="100" text="100" /> |
| <telerik:radcomboboxitem value="200" text="200" /> |
| </items> |
| </telerik:radcombobox> |
