Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
134 views
Hi,

I have a iframe on my page, and a aspx page gets loaded onto the iframe. Since this aspx page has chart controls that takes quite some time, I would like to show a indication that the page is loading..

In chart control samples, I see a spinning icon in the middle of the chart. How could I do the similiar one?

Thanks.
Schlurk
Top achievements
Rank 2
 answered on 18 Dec 2009
3 answers
200 views
I have a grid control with Form template for editing, with EditMode="PopUp" and PopUpSettings-Modal="true". Now while click on add or edit button, edit template from(popup) will open. Then just press on enter button on keyboard, will open another edit template form.
My observation is even after opening edit form, control focus remains in parent. So while opening edit form I am explicitly set focus on control in edit form, and found working fine. But after click anywhere in edit form except any controls or just drag edit form, then press enter, will open new edit form.
Radoslav
Telerik team
 answered on 18 Dec 2009
1 answer
75 views
Hi,
I want to know how to blink the cursor inside the RadNumericTextBox.

Thanks
Ashish
Dimo
Telerik team
 answered on 18 Dec 2009
1 answer
166 views
Hello Support,

I use the Excel Export functionallity to Export from the Radgrid into Excel.

With Excel 2007 all works fine, but in Excel 2003, after exporting a few rows, the cell format ignored.

For example 4500 Rows , the first 15 are in correct format, the following  rows are in "general" Format. Because the Export will used later with macros, it is very importend to get the correct format in all rows

<telerik:RadGrid ID="rdgSelektionResult" ShowGroupPanel="true" AllowPaging="True" 
        Height="480px" Width="100%" AllowSorting="True" runat="server" PageSize="10" 
        AllowFilteringByColumn="false" AllowMultiRowSelection="False" EnableLinqExpressions="false" 
        GridLines="None" ShowStatusBar="true" OnPageIndexChanged="rdgSelektionResult_PageIndexChanged" 
        OnSortCommand="rdgSelektionResult_SortCommand" OnNeedDataSource="rdgSelektionResult_NeedDataSource" 
        OnColumnCreated="rdgSelektionResult_ColumnCreated"
        <clientsettings allowexpandcollapse="false" allowcolumnhide="true" allowcolumnsreorder="true" 
            allowdragtogroup="true" allowgroupexpandcollapse="true" allowkeyboardnavigation="true"
                    <Scrolling UseStaticHeaders="true"  AllowScroll="true" SaveScrollPosition="true" /> 
                 </clientsettings> 
        <groupingsettings showungroupbutton="true" /> 
        <pagerstyle mode="NextPrevNumericAndAdvanced"></pagerstyle> 
        <MasterTableView DataKeyNames="RowKey" EnableHeaderContextMenu="true" AllowMultiColumnSorting="true" 
            ShowGroupFooter="true" TableLayout="auto">                                                                        
                 <ItemStyle Width="100" /> 
                 <HeaderStyle Width="100" /> 
                 <AlternatingItemStyle Width="100" /> 
        </MasterTableView> 
                 
    </telerik:RadGrid> 


 public void ConfigureExport() 
        { 
            rdgSelektionResult.ExportSettings.ExportOnlyData = true;          
            rdgSelektionResult.ExportSettings.IgnorePaging = true
            rdgSelektionResult.ExportSettings.OpenInNewWindow = true
            rdgSelektionResult.ExportSettings.FileName = "Selektion_" + DateTime.Now.Hour + DateTime.Now.Minute + DateTime.Now.Second + "_" + base.Page.User.Identity.Name; 
        } 
 
 void HeaderControl_OnExportClick() 
        { 
            if (!string.IsNullOrEmpty(base.Request_CurrentRowKey)) 
            { 
               
                rdgSelektionResult.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.Html;                 
                ConfigureExport(); 
 
                base.Page.ApplyView(rdgSelektionResult, base.Page.CurrentListe.DefaultView, falsefalsefalse,true); 
                rdgSelektionResult.MasterTableView.ExportToExcel();  
                 
            } 
        } 
 
 protected void rdgSelektionResult_ColumnCreated(object sender, GridColumnCreatedEventArgs e) 
        { 
            if (e.Column is GridBoundColumn) 
            { 
                GridBoundColumn column = (GridBoundColumn)e.Column; 
 
                if (column != null
                {  
                    if (column.DataType == typeof(Guid)) 
                        column.Display = false
 
 
                    if (column.UniqueName == "Land" || column.UniqueName == "ColumnLand"
                    { 
                        column.HeaderText = Properties.Resources.Alle_Land;                         
                    } 
                    else if (column.UniqueName == "Sender" || column.UniqueName == "ColumnSender"
                    { 
                        column.HeaderText = Properties.Resources.Alle_Sender;                                                 
                    } 
                    else if (column.UniqueName == "Sendung" || column.UniqueName == "ColumnSendung"
                    { 
                        column.HeaderText = Properties.Resources.Alle_Sendung;                             
                    } 
                    else if (column.UniqueName == "Datum" || column.UniqueName == "ColumnDatum"
                    { 
                        column.HeaderText = Properties.Resources.Alle_Datum; 
                        column.DataFormatString = "{0:dd.MM.yy}"
                    } 
                    else if (column.UniqueName == "dtmStart" || column.UniqueName == "ColumndtmStart"
                    { 
                        column.HeaderText = "Zeit"
                        column.DataFormatString = "{0:HH:mm}"
                    } 
                    else if (column.UniqueName == "SendungsArt" || column.UniqueName == "ColumnSendungsart"
                    { 
                        column.HeaderText = Properties.Resources.Alle_Sendungsart;                         
                    } 
                    //else if (column.UniqueName == "RW Sendung (Zielgruppe Standard)") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "MA Sendung (Zielgruppe: Standard)") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "RW (Beitrag) (Zielgruppe Standard)") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "MA Beitrag (Zielgruppe: Standard)") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Bemerkung") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Wettbewerb") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "WettbewerbOffizname") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "WettbewerbOrt") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    else if (column.UniqueName == "Wettbewerbsbeginn" || column.UniqueName == "ColumnWettbewerbsbeginn"
                    { 
                        column.DataFormatString = "{0:dd.MM.yy}"
                    } 
                    else if (column.UniqueName == "Wettbewerbsende" || column.UniqueName == "ColumnWettbewerbsende"
                    { 
                        column.DataFormatString = "{0:dd.MM.yy}"
                    } 
                    //else if (column.UniqueName == "Anlass") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Ereignis") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Sportart") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "SportartAnhang") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Disziplin") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    else if (column.UniqueName == "Ereignisbeginn" || column.UniqueName == "ColumnEreignisbeginn"
                    { 
                        //column.HeaderText = ""; 
                        column.DataFormatString = "{0:dd.MM.yy}"
                    } 
                    else if (column.UniqueName == "Ereignisende" || column.UniqueName == "ColumnEreignisende"
                    { 
                        //column.HeaderText = ""; 
                        column.DataFormatString = "{0:dd.MM.yy}"
                    } 
                    //else if (column.UniqueName == "EreignisGeschlecht") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "EreignisOrt") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Paarung") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Team 1") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Team 2") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    else if (column.UniqueName == "S-Dauer" || column.UniqueName == "ColumnS-Dauer"
                    { 
                        //column.HeaderText = ""; 
                        column.DataFormatString = "{0:HH:mm:ss}"
                    } 
                    else if (column.UniqueName == "W-Dauer" || column.UniqueName == "ColumnW-Dauer"
                    { 
                        //column.HeaderText = ""; 
                        column.DataFormatString = "{0:HH:mm:ss}"
                    } 
                    //else if (column.UniqueName == "Beitragsart") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    else if (column.UniqueName == "Beitragsbeginn" || column.UniqueName == "ColumnBeitragsbeginn"
                    { 
                      //  column.HeaderText = ""; 
                        column.DataFormatString = "{0:HH:mm}"
                    } 
                    else if (column.UniqueName == "BeitragsEnde" || column.UniqueName == "ColumnBeitragsEnde"
                    { 
                        //column.HeaderText = ""; 
                        column.DataFormatString = "{0:HH:mm}"
                    } 
                    //else if (column.UniqueName == "Beitragart") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Beitrag.Bemerkung") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Live") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "E-Index (SD)") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Sponsor") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Werbebotschaft") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Werbemittel") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "UnterWerbemittel") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    else if (column.UniqueName == "Klar" || column.UniqueName == "ColumnKlar"
                    { 
                        //column.HeaderText = ""; 
                        column.DataFormatString = "{0:HH:mm:ss}"
                    } 
                    //else if (column.UniqueName == "seq_klar") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    else if (column.UniqueName == "Assoz" || column.UniqueName == "ColumnAssoz"
                    { 
                        //column.HeaderText = ""; 
                        column.DataFormatString = "{0:HH:mm:ss}"
                    } 
                    else if (column.UniqueName == "Werbedauer" || column.UniqueName == "ColumnWerbedauer"
                    { 
                        //column.HeaderText = ""; 
                        column.DataFormatString = "{0:HH:mm:ss}"
                    } 
                    //else if (column.UniqueName == "seq_assoz") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "seq") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Werbewert") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "Werbepreis") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "S-Index (SD)") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
                    //else if (column.UniqueName == "TKP") 
                    //{ 
                    //    column.HeaderText = ""; 
                    //    column.DataFormatString = ""; 
                    //} 
 
                 
                } 
              
                
            } 
        } 
 
 
 


Please Help to get a working export

Kind Regards

Daniel
Telerik team
 answered on 18 Dec 2009
3 answers
157 views
My page has 2 RadListboxes, I had written 2 transferred events for each listbox, it worked fine transferring from listbox1 to listbox2
it called RadListBox1_Transferred event but when transfering from listbox2 to listbox1 it calls RadListBox1_Transferred event again.
so I did this

Dim intRoleID As Integer
        Dim intUserID As Integer = CInt(UserDD.SelectedValue)
        Dim objUserRoleAssociation As clsUserRoleAssociation

        Dim blnFlag As Boolean
        Status.Visible = True

        Try
            For Each objItem As RadListBoxItem In e.Items
                intRoleID = objItem.Value

                Select Case e.SourceListBox.ID

                    Case "RadListBox1"
                        blnFlag = clsUserRoleAssociation.AddAssociation(intUserID, intRoleID)

                    Case "RadListBox2"
                        objUserRoleAssociation = New clsUserRoleAssociation(intUserID, intRoleID)
                        blnFlag = objUserRoleAssociation.RemoveAssociation()

                End Select
            Next
            If blnFlag Then

                Status.Text = "Success"
            Else

                Status.Text = "Failed"
            End If

        Catch ex As Exception
            Throw
        End Try

this works fine but now drag and drop  doesn't work to transfer from listbox2 to listbox1



Simon
Telerik team
 answered on 18 Dec 2009
1 answer
102 views
Hi, currently my data source does not provide me DataRecurrenceField. When I try to bind data source to scheduler control, it gives me  binding error for recurrence rule. Is this field mandatory. If not , what is the work around for that?

Error is as belows

System.Web.HttpException: DataBinding: <DataModel> does not contain a property with the name 'RecurrenceRule'.
Harsh Mehta
Top achievements
Rank 1
 answered on 18 Dec 2009
1 answer
90 views
Hi All;

I'm using telerik Calender but when i click Today Date button it doesn't change to today's date..Any Help regarding this will be helpful.

Regards;

Zeeshan Ahmed Khan
RNA Pharmacy Solution
Dimo
Telerik team
 answered on 18 Dec 2009
1 answer
262 views

hey guys,

i have gone through many articles suggesting many solutions, the best one which worked for me on the development enviroment but not on the production is to replace the RadScripManager with the ScriptManager, no script errors appeared any longer but this runied other parts in the content paga, by the way i HAVE A ONE Master page and i put the scriptManager there,

what is ruined from remioving the RadScript and putting the scriptManger:
I have got some many script errors like:

1) Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered

 

 The solution suggested by some people:

  <asp:ScriptManager ID="ScriptManager1" runat="server">

        <Scripts>

            <asp:ScriptReference Name="Telerik.Web.UI.Common.Core.js" Assembly="Telerik.Web.UI" />

            <asp:ScriptReference Name="Telerik.Web.UI.Upload.RadUpload.js" Assembly="Telerik.Web.UI" />

        </Scripts>

     </asp:ScriptManager>

 

 

 


2)  Sys.ScriptLoadFailedException: The script '/ScriptResource.axd?d=jJZh4CK_PGSYJ-f57lEgQFzI3N0cQpNuzrmEgrdYC37pG2G4CbZ9dT8joZiZnlVO0&t=633927569740000000' failed to load.

 

The solution suggested by some people:

// fixing Error: Sys.ScriptLoadFailedException: The script <url for script> could not be loaded.

            if( Sys && Sys.Application )

            {

                Sys.Application.notifyScriptLoaded();

            }

           

            if( typeof(Sys) != "undefined" && typeof(Sys.Application) != "undefined" )

            {

                Sys.Application.notifyScriptLoaded();

            }

           


3) Sys.InvalidOperationExceptionSys.InvalidOperationException: A control is already registered with the element.

The solution suggested by some people:

Use RadScriptManager instead of scriptManager, and this solves the problem, but it keeps showing “sys is undefined” on login page, how can I fix all of these errors without ruining anything.


the weird thing that when i put back the radscriptmanager, i didn''t get the third error, but it still keeps getting "sys is undefined"  on the login page, some people said that is due to authorization, i tried what they recommended but nothing is worked for me..

regardign the web.config, it is configured very well, i reviewd every single line ( handlers, modules ... )..
actually i didn't give up figuring out the problem but it is very kind of you of you give your hand in this.


all the best,
hanan

 

Veselin Vasilev
Telerik team
 answered on 18 Dec 2009
1 answer
126 views

Good morning

 

I’m trying to create a custom skin for  a combobox but the default skin for the combobox in my installed files doesn’t contain the images listed in your tutorial:

default.gif
rcbArrowcell.gif
rcbMoreresults.gif

 

 

It only contains the following 3 attached files:
rcbsprite.png
rcbspriteIE6.png
defult.gif
 

Where can I find the listed files asI urgently need t customise the defulat skin and these files seem incrediblt difficult to customise.

 

Your help will be greatly appreciated!

 

Danielle



    
  

 

Yana
Telerik team
 answered on 18 Dec 2009
2 answers
61 views
Dear All

Can Any One Help Me With This

I am using telerik 2009 Q2 Sp1 , it was working will , but suddenly , all design time features stoped to response and even instead of rendered controls in design time i see the screen capture that i attached with the post 

this happens with previous made or new asp projects 

and if i run it , it works well in run , but not in design 


any one knows how to handle this ? 
alaa ezzat
Top achievements
Rank 1
 answered on 18 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?