Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
349 views
I've got an issue when exporting data to MS excel:

-the order of the columns are from the dataset that the grid bind to, not the order of the columns displayed in the dataset

below are the code snipet:

  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.
Thanks.
Mark Hubert
Top achievements
Rank 1
 answered on 13 Mar 2008
3 answers
146 views

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.

Sebastian
Telerik team
 answered on 13 Mar 2008
1 answer
250 views
Hi,
I'm trying to have some sort of feedback given to the user about the strength of the password, which is calculated on the server. I have a textchanged event that fires and updates some labels and the like. However, when it re loads the page, the text in the textbox is gone ....

Is it possible to maintain the values of a textbox that is set to password type in between postbacks (ajax or regular)?

If so, how?

Thanks
Giuseppe
Telerik team
 answered on 13 Mar 2008
1 answer
235 views
Hi,

I have installed a hotfix I was given to solve a problem with treeview (2007.3.1428) and now my dialog handler registration in web.config is no longer recognised.  I have erased the previous handler and used the smart tag to add it again and although the spellcheck handler works ok, the dialog handler does not.  It gives the message that the registration is missing.

Please help as this is very urgent!

Darren.
Rumen
Telerik team
 answered on 13 Mar 2008
12 answers
387 views
 After installing Radeditor Lite 4.5 everything seems to work OK, but when trying to insert a picture using the Image Manager, I got this 

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?
MaBerY
Top achievements
Rank 1
 answered on 13 Mar 2008
5 answers
213 views
                    <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> 
 

This combobox when expanded shows scrollbars and the horizontal scrollbar is hiding last choice.
Is it possible to disable scrollbars without changing width of the combobox?

Thanks,
Grisha
Paul
Telerik team
 answered on 13 Mar 2008
5 answers
240 views
It is now available in this blog post:
http://blogs.telerik.com/StoyanStratev/Posts/08-02-29/A_Preview_of_the_RadEditor_Prometheus_provider_for_DotNetNuke.aspx

Any feedback is very welcome.

Telerik Team
Lini
Telerik team
 answered on 13 Mar 2008
1 answer
85 views
I have two RadTextboxes on a web page and they are both using the Web20 skin via a theme.

The first textbox is a regular single line text box and it shows up with the appropriate font (i.e. Arial).

The 2nd textbox is a muliline textbox  (i.e. TextMode="MultiLine" Rows="4") and it shows up with an incorrect font (i.e. Times new roman i think).

Any ideas?

Thanks
Dimo
Telerik team
 answered on 13 Mar 2008
1 answer
179 views
hI

How do i hide the week numbers on the calendar part of a rad date picker

thanks
Pavel
Telerik team
 answered on 13 Mar 2008
1 answer
199 views
I am creating a custom ITemplate for the AdvancedInsertTemplate by doing the following:

RadScheduler sched = new RadScheduler();
EventForm myEventForm = new EventForm();
sched.AdvancedInsertTemplate = (ITemplate) myEventForm;

In my ITemplate I have created several TextBoxes for user input as well as a Save Button for them to save the event.

When I double-click on my Scheduler it goes to the insert template as expected, but I am unsure of how to have my custom ITemplate close and return to the scheduler when I click Cancel or Save. Do I somehow link into the event handlers already supplied with the RadScheduler and if so, how?

Thanks.
T. Tsonev
Telerik team
 answered on 13 Mar 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?