Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
254 views

Do you know how to change the text of the undo button when using batch edit delete functionality with the setting HighlightDeletedRows="true".

 

 

Alexandre
Top achievements
Rank 1
 answered on 23 Sep 2020
11 answers
139 views

I have hierarchy grid with nested templates. Opening new level causes already opened chart to dissapear.

All works fine if i use SqlDataSource, but i can't and i load my chart on ItemCommand

Please help

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 22 Sep 2020
3 answers
213 views

Hello,

 

1) Is there a way to do an automatic post-back when files finish uploading without the user having to click on a button? I am trying to save uploaded file information to database for further processing. The event doe not seem to be firing.

 

Thanks.

 

Soumen
Top achievements
Rank 1
Veteran
 answered on 21 Sep 2020
0 answers
140 views

Hello I am working in RadCloudUpload to upload files in amazon s3 server. It working with Single file (20MB) perfectly. But when I am trying  to open multiple files (ex: 10MB, 20MB, 5MB, 8MB) it is uploading only One or Two files at a time.Not all the files are uploaded. but If I am trying to upload files with smaller size (ex: 10KB, 2MB, 100KB, 3MB) then all the files are uploaded to S3 server. How to resolve this problem ?

<telerik:RadCloudUpload ID="RadCloudUpload1" runat="server" MaxFileSize="91943040" RenderMode="Lightweight"<br>                 MultipleFileSelection="Automatic" OnClientFileUploaded="fileUploaded" OnFileUploaded="RadCloudUpload1_FileUploaded" ProviderType="Amazon"  ><br>        </telerik:RadCloudUpload>

 

function fileUploaded(sender, args) {         theForm.submit();       }

 protected void RadCloudUpload1_FileUploaded(object sender, CloudFileUploadedEventArgs args)
    {      
        long contentLenght = args.FileInfo.ContentLength;
        string contentType = args.FileInfo.ContentType;
        string keyName = args.FileInfo.KeyName;
        string originalName = args.FileInfo.OriginalFileName;

        args.IsValid = true;       
    }


<httpRuntime maxRequestLength="91943040" executionTimeout="3200" />
Soumen
Top achievements
Rank 1
Veteran
 asked on 21 Sep 2020
1 answer
80 views

Hello,

I am working on radcloudupload control to upload files in amazon s3 server using c#. I am facing problem when I am going to upload a file more than 4 mb. it is saying file size related issue, but I have followed all the steps to upload a file more than 4 mb. code is as below:

<telerik:RadCloudUpload ID="RadCloudUpload1" runat="server" MaxFileSize="1048576" RenderMode="Lightweight"
                 MultipleFileSelection="Automatic"  OnFileUploaded="RadCloudUpload1_FileUploaded" ProviderType="Amazon"  >
        </telerik:RadCloudUpload>

 

also I have placed the below mentioned points to web.config for large file upload.

<system.web>
  <httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
</system.web>

<system.webServer>   
    <security>
      <authorization>      
      </authorization>
<requestFiltering>
<requestLimits maxAllowedContentLength="1048576000" />
</requestFiltering>
    </security>
<system.webServer>

how to resolve?

Soumen
Top achievements
Rank 1
Veteran
 answered on 21 Sep 2020
3 answers
268 views

My problem is very simple. Please help me.

I want to hide the empty message when the textbox is disabled.

I tried the css and put opacity to zero but no success. whole textbox become invisible. Please help. 

<telerik:RadTextBox ID="RadTextBox1" runat="server" CssClass="TextBoxLong" Enabled="false" EmptyMessage="Speciality" EmptyMessageStyle-Font-Italic="true">

 

.TextBoxLong {
    height: 22px;
    background: #fff !important;
    color: black !important;
    width: 294px !important;
    border: 1px solid #61a5a5 !important;
    padding: 2px 2px 1px !important;
}
 
.TextBoxLong:disabled, .TextBoxLong[disabled] {
   background: #EBEBE4 !important;
}

 

Vessy
Telerik team
 answered on 18 Sep 2020
12 answers
1.0K+ views

I uninstalled ASP.NET AJAX Q1 2009 and then installed the newest Q3 2009 release. Now my existing projects will not compile. Your help file talks about a "Project Upgrade Wizard" that is supposed to fix my existing projects but I can't access it. The help file says:

The Upgrade Wizard (started by using the Telerik > RadControls for ASP.NET AJAX > Upgrade Wizard menu item) has two main purposes:

  • Check and retrieve the latest available RadControls for ASP.NET AJAX release;
  • Change the version of RadControls for ASP.NET AJAX the project uses.

I want to do bullet item #2 but can't because the "Upgrade Wizard" menu item does not exist! The "Telerik > RadControls for ASP.NET AJAX" menu items are there in Visual Studio but the third "Upgrade Wizard" menu item is not there. Instead I have a "Convert to Telerik Web Application". The project I have open has already been converted the older Telerik Q1 2009 version. It's like your menus can't figure out that my projects have already been converted and instead need to upgraded!

How do I open the "Project Upgrade Wizard"???

Nikolay Mishev
Telerik team
 answered on 18 Sep 2020
3 answers
495 views

This was the previous code in aspx file (done by previous developer)

 

  <radG:RadGrid ID="uxUsers" runat="server" RadControlsDir="~/RadControls/" AllowPaging="False"  HorizontalAlign="NotSet">        
        <MasterTableView AllowMultiColumnSorting="True" AllowSorting="True" ShowFooter="False" AutoGenerateColumns="False">           
            <Columns>
                <radG:GridBoundColumn DataField="name" HeaderText="Name" ReadOnly="True" UniqueName="name" />        
                <radG:GridBoundColumn DataField="email" HeaderText="Email" ReadOnly="True" UniqueName="email" /> 
               </Columns>
        </MasterTableView>
    </radG:RadGrid>

 

and the code behind it is 

  Private Sub BindEmployerUsers()
        uxUsers.DataSource = DB.GetData("SELECT eu.id, u.email, u.name + ' ' + u.surname AS name, CASE WHEN u.emailverified IS NULL THEN 'No' ELSE 'Yes' END AS emailverified, u.active FROM EmployerUser eu INNER JOIN [User] u ON eu.userid = u.id WHERE u.deleted = 0 AND  eu.employerid = " & Employer.ID)
        uxUsers.DataBind()
    End Sub

 

 

That was working fine. now i have added another column 

 

 <radG:RadGrid ID="uxUsers" runat="server" RadControlsDir="~/RadControls/" AllowPaging="False"  HorizontalAlign="NotSet">        
        <MasterTableView AllowMultiColumnSorting="True" AllowSorting="True" ShowFooter="False" AutoGenerateColumns="False">           
            <Columns>
                <radG:GridBoundColumn DataField="name" HeaderText="Name" ReadOnly="True" UniqueName="name" />        
                <radG:GridBoundColumn DataField="email" HeaderText="Email" ReadOnly="True" UniqueName="email" /> 
                <radG:GridBoundColumn DataField="primaruser" HeaderText="PrimarUser" ReadOnly="True" UniqueName="PrimarUser" /> 

              </Columns>
        </MasterTableView>
    </radG:RadGrid>

 

and the code behind this is 

 

    Private Sub BindEmployerUsers()
        uxUsers.DataSource = DB.GetData("SELECT  eu.id, u.email, u.name + ' ' + u.surname AS name,  CASE WHEN eu.id=e.primaryemployeruserid  THEN 'yes' ELSE 'No' END AS PrimaryUser, CASE WHEN u.emailverified IS NULL THEN 'No' ELSE 'Yes' END AS emailverified, u.active FROM Employer e INNER JOIN EmployerUser eu on e.id=eu.employerid INNER JOIN [User] u ON eu.userid = u.id WHERE u.deleted = 0 AND  eu.employerid = " & Employer.ID)
        uxUsers.DataBind()

    End Sub

 

but i get 'System.Data.DataRowView instead of real value.

 

how to fix this

Doncho
Telerik team
 answered on 17 Sep 2020
24 answers
203 views

Hello

I want to be able to open the 'find-and-replace' popup outside of the parent RadEditor window.  Is there any way to do this?

Thanks
Raka

Sandhia
Top achievements
Rank 1
 answered on 17 Sep 2020
3 answers
565 views

I have grid where data is grouped and some of columns are not displayed. Column header context menu is enabled, so user can add columns to be shown in grid.

 

Main problem is when user hide/show columns, group header row does not change with columns. I have pictures for these situations.

Problem 1: When user add columns to show, group header row does not grow to fill whole grid, pictures & explanations
1. Starting situation at end of grid where 13 columns are displayed
2. User open context menu from header
3. User select one column to show (in this case Insp. point after AWW Date will be added some point before captured picture area)
4. Column has added to grid in its own place, but at the end of grid group header row is missing one column style fill.
5. When changing runtime code to group header row colspan from 13 to 14 (originally 13 columns to show now 14) last column

Problem 2: When user remove columns to show, group header row does not get smaller with columns count, pictures & explanations
6. When user is hiding columns, now removed two columns from that added one situation
7. Group header row stay with 13 columns and “data” area columns get white area

Group header row will correct itself if whole grid is refresh/rebind but I would not like to do that because it is then doing whole page reload and "flash" the screen so is there any way to do that in client side code? 

Attila Antal
Telerik team
 answered on 17 Sep 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?