Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
201 views

I created a simple xlsx file with 2 worksheets - Sheet1, and Sheet2.

Create a Named Range called NR1 that References Sheet2:B5

On Sheet1 create a formula "=NR1"

This looks great in excel.

Open it in RadSpreadsheet and it comes up as #NAME?

Is this a shortcoming in RadSpreadsheet, or am I missing something VERY fundamental?

 

Peter Milchev
Telerik team
 answered on 27 Apr 2020
5 answers
178 views

Hi,

In Radeditor when we delete some content the <del> tag is generated letter by letter. So I want to generate <del> tag word by word. How this can I do. Please guide me asap. Thanks

Rumen
Telerik team
 answered on 24 Apr 2020
2 answers
135 views

Hi all,

I started to use Radscheduler to show all holidays during year. So I use it in simple way and show only Yearview to user. I found that Radscheduler ignore culture in Yearview for ColumnHeaderDate. If it is set to default value 'ddd' then it always show English translation. If I switch to monthly view it is correct and translated.

Can you help me how to fix this problem? Is there a way how to override this?

Thank you,

Petr

Petr
Top achievements
Rank 1
Iron
Iron
 answered on 24 Apr 2020
7 answers
125 views

I attached the pic showing the issue.

Here is the code:

  var exportManager = $find("<%= RadClientExportManager1.ClientID %>");
  var charts = $telerik.$(".RadHtmlChart");

   exportManager.exportImage($(charts[3]));

Any suggestions?

Thank you

Vessy
Telerik team
 answered on 24 Apr 2020
1 answer
374 views

How do I remove the indent/padding from an expanded context menu?  

 

See attached image.  The only thing that should be visible is the black box with gold border.  

 

How do I remove the padding without effecting other menus elsewhere on the page?  

 

I created a custom skin called Black1 via the theme builder  but I do not see any entries to explain the indent.  

 

 

 

Doncho
Telerik team
 answered on 23 Apr 2020
5 answers
349 views

Hi, is it possible to have an offline version of the whole (new) documentation for ASP.NET AJAX?

In CHM or similar format?

Thanks, Tom

Vessy
Telerik team
 answered on 23 Apr 2020
1 answer
706 views

Hi there,

Our organization is using the FileExplorer control in one of our web applications for our end users to manage files.

There is a continuous request for being able to download all files from any given folder instead of downloading them one by one.

Does the latest version of FileExplorer support this feature? If not, is this on your roadmap for future releases?

Thanks,
Roger

Vessy
Telerik team
 answered on 23 Apr 2020
1 answer
233 views

Hi from France, from my home...

normally, I'm on vacation since Friday evening, but I had a problem with the finalization of my project during the weekend.

And i need help !

 

I've got an RadAjaxManager, 2 buttons set as PostBackControls

this buttons are in listview, this listview is ajaxified

Each item in listiew contains for clic on

2 radiobutton (grouped) AjaxPostback to set in database is selected and other things

2 buttons (1 per radiobutton) to download a generated document from Database and they must set a fullpostback on clic

uploadViewbutton ajaxPostback for opening a panel.to view Upload Zone (and put element id Selected in upload button commandArg)

My problem is i clic on fullPostback Buttons i've an error :

 

Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: Impossible d'analyser le message reçu du serveur. Cette erreur peut avoir plusieurs causes possibles : réponse modifiée par des appels à Response.Write(), filtres de réponse, HttpModules ou activation de trace du serveur.
Détails : Erreur d'analyse à proximité de 'PK

My code behind fullpostback to download document :

With Response
           Dim filename As String = strLibelle & "." & strExtension
           .Clear()
           .ContentType = strType
           .AddHeader("Content-Disposition", "attachment; filename=" & filename)
           .AddHeader("content-length", bFile.Length.ToString)
           .BinaryWrite(bFile)
           .End()
       End With

 

My Aspx :

<asp:ScriptManager ID="SM1" runat="server"/>
        <telerik:RadAjaxManager ID="RAM1" runat="server" UpdatePanelsRenderMode="Inline" PostBackControls="btro;btrs" >
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="btrsUp">
                    <UpdatedControls>                       
                        <telerik:AjaxUpdatedControl ControlID="pZoneUpload" />                       
                    </UpdatedControls>
                    </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btJoindreCCTP">
                      <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="pJoindreCCTP" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                 <telerik:AjaxSetting AjaxControlID="ro">
                      <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="cctpList" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                 <telerik:AjaxSetting AjaxControlID="rs">
                      <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="cctpList" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                 <telerik:AjaxSetting AjaxControlID="btUploadDoc">
                      <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="cctpList" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>           
        </telerik:RadAjaxManager>
 
<telerik:RadWindow runat="server" ID="rwCCTP" Title="CCTP - Paramétrage" VisibleStatusbar="false" Modal="true" Behaviors="Close, Move" AutoSize="true" Skin="Default" RenderMode="Lightweight">
                <Localization Cancel="Annuler" Close="Fermer" Maximize="Agrandir" Minimize="Réduire" No="Non" PinOff="Détacher" PinOn="Attacher" Reload="Recharger" Restore="Restaurer" Yes="Oui" />
                <ContentTemplate>
                    <section id="CCTP-edit">
                        <header>
                            <h2><asp:Literal runat="server" ID="CCTP_Title"></asp:Literal></h2>
                            <asp:Literal runat="server" ID="CCTP_DetailCompo"></asp:Literal>
                            <asp:Panel ID="pJoindreCCTP" runat="server" CssClass="pjoindreCCTP">                               
                                <asp:Label runat="server" ID="ll" Text="Joindre les CCTP lors de l'impression :"></asp:Label>
                                <asp:Button runat="server" ID="btJoindreCCTP" cssclass="switchButton" ToolTip="Inverser en cliquant."/>                               
                            </asp:Panel>
                        </header>                       
                        <div id="CCTP_content" Class="container">
                            <asp:panel runat="server" id="cctpList" CssClass="cctpList section">
                                <asp:ListView runat="server" ID="lvCCTP" OnItemCommand="lvCCTP_ItemCommand" DataKeyNames="IdCCTPCompoDCE" >                                   
                                    <LayoutTemplate>
                                        <asp:PlaceHolder id="itemPlaceholder" runat="server">
                                        </asp:PlaceHolder>
                                    </LayoutTemplate>
                                    <ItemTemplate>
                                        <div class="cctpRow">
                                            <h3><asp:Literal runat="server" Text='<%#Eval("Nom") %>'></asp:Literal></h3>
                                            <div class="ori">                                              
                                                <asp:RadioButton ID="ro" runat="server" Text="Original" GroupName="cctpSM1" Checked='<%#Eval("selection") = Francelot.CCTP.CompoSM.TypeCCTP.Original %>' AutoPostBack="true" OnCheckedChanged="ro_CheckedChanged" />
                                                <asp:Button runat="server" ID="btro" cssClass="btn-ico viewDoc" UseSubmitBehavior="False" CommandArgument='<%#Eval("CCTPOriginale.idPieceJointe") %>' CommandName="ViewDocOriginal" />
                                            </div>
                                            <asp:panel ID="pSpe" runat="server" cssclass="spe" Enabled='<%#Eval("CCTPSpecifique.idPieceJointe") > 0 %>'>
                                                <asp:RadioButton ID="rs" runat="server" Text="Spécifique" GroupName="cctpSM1" Checked='<%#Eval("selection") = Francelot.CCTP.CompoSM.TypeCCTP.Specifique %>' AutoPostBack="true" OnCheckedChanged="rs_CheckedChanged" />
                                                <asp:Button runat="server" ID="btrs" cssClass="btn-ico viewDoc" UseSubmitBehavior="False" CommandArgument='<%#Eval("CCTPSpecifique.idPieceJointe") %>' CommandName="ViewDocSpecifique" Visible='<%#Eval("CCTPSpecifique.idPieceJointe") > 0 %>' />
                                            </asp:panel>
                                            <div class="up">
                                                <asp:Button runat="server" ID="btrsUp" cssClass="btn-ico uploadDoc" UseSubmitBehavior="False" CommandArgument='<%#Eval("IdCCTPCompoDCE") %>' CommandName="ViewUpload" />
                                            </div>                                       
                                        </div>
                                    </ItemTemplate>                                  
                                </asp:ListView>
                            </asp:panel>
                            <asp:panel runat="server" ID="pZoneUpload" CssClass="section zupload-collapsed" DefaultButton="btUploadDoc">
                                <div class="depotBloc">
                                    <h5>Zone de dépôt des additifs à la CCTP originale.</h5>
                                    <div>
                                        <telerik:RadAsyncUpload Culture="fr-FR" ID="RAU" runat="server" DropZones=".dropZone" PostbackTriggers="btUploadDoc" MaxFileInputsCount="1" AllowedFileExtensions="doc,docx" data-clientFilter="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document" OnClientAdded="OnClientAdded" AutoAddFileInputs="true" HideFileInput="True" RenderMode="Lightweight">     
                                            <Localization  Cancel="Annuler" Remove="Retirer"  DropZone="Déposez le fichier ici" />                                           
                                        </telerik:RadAsyncUpload >                                      
                                        <div class="dropZone" >
                                            <span>Déposez le fichier ici</span>
                                        </div>
                                    </div>
                                    <div class="action-upload">
                                        <asp:Button runat="server" ID="btUploadDoc" UseSubmitBehavior="False" CommandName="UploadDoc" Text="Envoyer" OnClientClick="OnClientClicking()" />
                                    </div>
                                  </div>
                                <asp:Button runat ="server" Text="tempmail" ID="btnmail"/>
                            </asp:Panel>
                        </div>
                    </section>
                    <telerik:RadCodeBlock ID="rcb" runat="server">
                        <script>
                            var uploadctrl = '<%= RAU.ClientID %>';
 
                            function OnClientAdded(sender, args) {
                                var allowedMimeTypes = $telerik.$(sender.get_element()).attr("data-clientFilter");
                                $telerik.$(args.get_row()).find(".ruFileInput").attr("accept", allowedMimeTypes);
                            }
 
                            function OnClientClicking(args) {
 
                                var upload = $find(uploadctrl);
                                var files = upload.getUploadedFiles();
 
                                if (files == 0) {
                                    args.set_cancel(true);
                                }
                            }
                            </script>
                    </telerik:RadCodeBlock>
                </ContentTemplate>
            </telerik:RadWindow>

 

 

 

 

Rumen
Telerik team
 answered on 22 Apr 2020
23 answers
2.2K+ views
Dear telerik team,

I've some problem using RadAsyncUpload [Q2 2010 .Net 3.5].
When I want to save uploaded file to the specified folder, sometime it raised error exception: cannot find [temporary file location].  You can see error message on the pic attached.

This problem doesn't always occur, means sometime I can successfully save the file.
Below is my code when for saving the file:

If RadAsyncUpload1.UploadedFiles.Count > 0 Then     
    For Each validFile As UploadedFile In RadAsyncUpload1.UploadedFiles 
        Dim targetFolder As String = Server.MapPath("~/uploadedFile/")
         
        If Not Directory.Exists(targetFolder) = True Then
            Directory.CreateDirectory(targetFolder)
        End If
 
        validFile.SaveAs(Path.Combine(targetFolder, validFile.FileName), True)
    Next
End If

Thank you..
Simon
Top achievements
Rank 1
 answered on 22 Apr 2020
1 answer
303 views

     Hello,

     I tested the Spreadsheet with a normal csv, worked very well

     But now i have to load a xlsm file, but unfortunaltly it doesnt work.

     Does Spreadsheet support .xlsm Files? When not is there a product/Control from Telerik/Progress which does?

 

    Thanks in Advance 

Peter Milchev
Telerik team
 answered on 21 Apr 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?