Showing posts with label Telerik. Show all posts
Showing posts with label Telerik. Show all posts

export the data on excel or csv or pdf in telerik or cora sequence

Leave a Comment
inside the grid add this tags
 <ExportSettings ExportOnlyData="true"/>
 <MasterTableView DataKeyNames="fldId" DataSourceID="DataSource1" AutoGenerateColumns="False">
 <CommandItemSettings PrevFrozenColumnText="" ShowExportToExcelButton="true" ExportToCsvText="true" ExportToPdfImageUrl="true"></CommandItemSettings>
  </MasterTableView >

Auto Upload a File in telerik

Leave a Comment
RadUpload has been replaced by RadAsyncUpload, Telerik’s next-generation ASP.NET upload component. If you are considering Telerik’s Upload control for new development, check out the documentation of RadAsyncUpload or the control’s product page. If you are already using RadUpload in your projects, you may be interested in reading how easy the transition to RadAsyncUpload is and how you can benefit from it in this blog post. The official support for RadUploadhas been discontinued in June 2013 (Q2’13), although it is still be available in the suite. We deeply believe that RadAsyncUpload can better serve your upload needs and we kindly ask you to transition to it to make sure you take advantage of its support and the new features we constantly add to it.
This article shows how to upload the file automatically upon selection. What we will achieve is to let the user select a file and submit the form automatically after that. We will use the OnClientFileSelected event which fires right after the user selects a file and submit the form.
Here is the RadUpload's declaration:
<telerik:radupload id="RadUpload1" runat="server" onclientfileselected="submitFile"
<asp:Button ID="Button1" runat="server" Text="Button" Style="visibility: hidden;" />
Here I have hidden the submit button by using a style, but this is an option only. Here is the javascript event handler:

function submitFile(sender, e) {
    $get("<%= Button1.ClientID %>").click();

Conditionally enable/disable required field validators (validations) in telerik

Leave a Comment
add CausesValidation="false" in the button

Remove Add new record but keep refresh telerik rad grid

Leave a Comment
You can hide the AddNewRecord button this way:
<MasterTableView CommandItemDisplay="Top" ...>
    <CommandItemSettings ShowAddNewRecordButton="false" />

Please examine the following link for more information:
CommandItem Overview