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

We have a RadAsyncUpload control on a page.  The "Select" button is displayed to allow the user to choose files.  All good.  What we'd like is a way to detect when the Select button is clicked to clean up other parts of the page. 

For example... we also have a RadGrid on the page.  The user might have a row open in an EditForm.  We'd like to close that edit form when the user clicks the Select button of the RadAsyncUpload control.  I don't see an obvious client side event for that, and the Select button doesn't trigger a server side event.  

Is there a client-side equivalent for the RadGrid ClearEditItems method that could be called as part of the click event on the RadAsyncUpload Select button?

Any suggestions would be appreciated.

Rumen
Telerik team
 answered on 13 Mar 2024
1 answer
104 views

Hello -

We are using Telerik forms for our internal website. When I download one page with all its components, it is 73 files and 11.2 MB total size. Screen captures attached.

  • 10 axd files (4.4 MB)
  • 8 css files (328 KB)
  • 47 js files (2.7 MB)
  • 7 image files (84 KB)
  • 1 html file (3.7 MB)

Most of our site is made up of similar pages. Our site has an average 500 connections per second. During peak times, the website crawls, with 20-30 seconds to return one page for each user.

We are accessing only text, with about 200 KB of text returned for each request.

It looks like 99.3% of the size of our pages is Telerik related files (mostly axd and js).

What could we be doing wrong? What should we be doing differently to reduce the size or count of Telerik files returned to the client?

Thank you!

Rumen
Telerik team
 updated answer on 28 Jun 2023
0 answers
81 views

How to attach doc/xlsx/pdf file from host located under virtual directory root to that virtual directory, following by storing its path to MSSQL db

having loading grid and its controls dynamically. experiencing lots of access issues have to use Sys. authentication w/o identity impersonation. cannot retrieve file path of posted file

Edward
Top achievements
Rank 1
 asked on 05 Nov 2022
0 answers
63 views

Hello.

I'm using CommandItem built in Insert button to open a window with a form to insert new values.


      <telerik:RadWindow ID="UserListDialog" runat="server" Title="Atualizar listagem" Height="400px" OnClientClose="OnClientCloseHandler" 
                            Width="800px" Left="150px" ReloadOnShow="true" ShowContentDuringLoad="false" DestroyOnClose="true"
                            Modal="true" 
                            Behaviors="Close,Move,Resize" CssClass="opaque"  KeepInScreenBounds="True"  >
                            
                                <ContentTemplate>
                                      <uc1:ViewEmissaoTimeSheetEdit ID="EditTimesheet" runat="server"  />
                                </ContentTemplate>
                            
                        </telerik:RadWindow>


            <CommandItemTemplate>
                                     <telerik:RadButton CommandName="InitInsert" RenderMode="Lightweight" ID="AddNewRecordButton" Text="Adicionar nova versão" ToolTip="Adicionar versão"
                                          runat="server" style="background:none; border:none; color:green;">
                                         <Icon PrimaryIconCssClass="rbAdd"></Icon>
                                     </telerik:RadButton>

The problem is, when i use Validators in my form atributtes, the form doesn't open when clicking the insert button.

Validators structure in my form (contained in a user control)


 <telerik:RadTextBox ID="txtAssinaturaTimesheet" runat="server" MaxLength="30"  Width="220px">
                                    </telerik:RadTextBox>
 <%-- <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtAssinaturaTimesheet" Display="Static" 
CssClass="ValidationFont" Text="Campo Obrigatório!" Font-Size="Medium" ></asp:RequiredFieldValidator> --%>

It is a common issue? How can i overcome it?

Harlem98
Top achievements
Rank 1
Iron
Iron
Iron
 updated question on 28 Dec 2021
2 answers
319 views

Hello,

I have a RadGrid with a custom EditForm that I use to insert new items.  Within this form is a RadAsyncUpload control.  How do I make this control required without server side code?

Also, I'm a beginner with Telerik and have seen countless code snippets online.  None of them address having the control inside an EditForm, so if your solution could show a complete example vs code snippet I would appreciate it.

Jonathan
Top achievements
Rank 1
Iron
 answered on 09 Dec 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?