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

Hi!

I am evaluating RadPivotGrid control...And I would like to know how to define my values in Page size combobox?

I saw thar added 10, 20 and 50 in this combo....

Thanks!

 

Eyup
Telerik team
 answered on 18 Sep 2015
6 answers
593 views
I have a radgrid that I am trying to export using HTML export.  However, the command item row is exported to excel with the export button as well.  I cannot delete the button from excel, so it's permanent fixture in the worksheet.

Is there any way to hide the command item display or at least the button when exporting to excel?  I have tried the following two methods, and neither work:
Protected Sub RadGrid1_ExcelExportCellFormatting(ByVal source As ObjectByVal e As ExcelExportCellFormattingEventArgs) Handles RadGrid1.ExcelExportCellFormatting 
        RadGrid1.MasterTableView.CommandItemSettings.ShowExportToExcelButton = False 
    End Sub 

Also tried:
    Protected Sub RadGrid1_ExcelExportCellFormatting(ByVal source As ObjectByVal e As ExcelExportCellFormattingEventArgs) Handles RadGrid1.ExcelExportCellFormatting 
        RadGrid1.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.None 
    End Sub 

Nope.  Neither worked.

Attached is a screen shot of the spreadsheet.  (slightly modified to hide data, but format and style are the same.)

Thank you for your help in this matter.

GP





Kostadin
Telerik team
 answered on 18 Sep 2015
2 answers
270 views
Hi There
I have a very simple requirement inside Telerik Rad Grid, and I hope someone able to help me out here.
I have two set of dates say Start date and End date inside Grid and I am using Telerik:RadDatePicker in EditItemTemplate.
I have columns in my Grid from July to June(Total 12 months) which is by default hidden when I initial edit the Grid. What I want as soon as someone select the dates  in start and end data column based on dates selected it automatically display the column(July … june) using client application. I don’t want to use server side event as I have to enforce my users to enter values for these months.
For example if user put  initial start date: 12/07/2015 and End date is 30/10/2015 then as soon as date get selected it make the month of July to October visible using client event. If in case user change his mind and change the start date to 15/08/2015 then month of July should be disappear.
I am using the form edit mode of Rad grid
I hope it will be clear
Any questions please let me know
Thanks
Syed
Eyup
Telerik team
 answered on 18 Sep 2015
1 answer
136 views
Hi,
I have added function below for showing jobstatus in different color as per requirement. for that i have added some html code and showing as i want. 
  function page_load() {
            var $ = $telerik.$;
            var $header = $(".rsHeader h2");
            var result = '';
            result += '<Span class ="tab">' + "<u>Job Status:</u> " + '<Span class ="clr1"> ' + "Success" + '</span>' + '<Span class ="clr2">' + " Runing " + '</span>' + '<Span class ="clr3">' + " Failed " + '<span>' + '<Span class ="clr4">' + " Deleted " + '</span>' + '</span>';
            $header.html($header.html() + result)
        }
Code Behind:
   protected void Page_Load(object sender, EventArgs e)
        {
            Page.ClientScript.RegisterStartupScript(this.GetType(), "CallMyFunction", "page_load()", true);
        }
 But after inserting record the labels not showing on header after  today date means page is not loading again. Please give me any idea ?? where we can call this function Page_Load(). You can see implemented changes in attachment image. 

Thanks,
shubh
Magdalena
Telerik team
 answered on 18 Sep 2015
1 answer
428 views

I have an older .NET 4.0 app that I have recently opened in Visual Studio. There are NO Telerik controls in this app, yet when I run the code on our server it is giving me this "Could not load type 'Telerik.Web.UI.RadUploadHttpModule'" error. 

Nowhere in the web.config or application or bin references any Telerik controls. The Telerik controls are available and show in the toolbox and I have made many other apps with Telerik controls, just not this particular app.

What am I missing here?

 Thanks.

Hristo Valyavicharski
Telerik team
 answered on 18 Sep 2015
1 answer
90 views

Dear All,

I have 3 upload controls and a single radbutton. What I want to achieve is; when files are selected, upload doesnot start yet. When the button is clicked; All uploads start; 

After all 3 uploads are finished; the radbuttons click event is fired.

Any ideas?

 Thanks a lot in advance,

 

<telerik:RadAsyncUpload ID="RadAsyncUpload1"  MultipleFileSelection="Disabled" runat="server"></telerik:RadAsyncUpload>
    <telerik:RadAsyncUpload ID="RadAsyncUpload2"   MultipleFileSelection="Disabled" runat="server"></telerik:RadAsyncUpload>
    <telerik:RadAsyncUpload ID="RadAsyncUpload3"  MultipleFileSelection="Disabled" runat="server"></telerik:RadAsyncUpload>
    <telerik:RadButton ID="RadButton1" OnClick="RadButton1_Click" runat="server" Text="Upload Files"></telerik:RadButton>​

 

 

Hristo Valyavicharski
Telerik team
 answered on 18 Sep 2015
1 answer
96 views

Hi,

I have CSS similar to this:

<AppointmentTemplate>
    <div style="height:95px;display:block;">
       <%#Eval("Subject")%>
    </div>
</AppointmentTemplate>



When there is more than appointment on the day, the appointments overlap and bleed into the cell below it.
AdaptiveRowHeight doesn't work.

Any suggestions?

Plamen
Telerik team
 answered on 18 Sep 2015
1 answer
59 views

Hi,

 When ContentAreaMode="Div" on a RadEditor, and you perform a "find", it does find and highlight the text but it will not scroll to it as it does in the default "Iframe" mode.  

Ianko
Telerik team
 answered on 18 Sep 2015
1 answer
359 views

I've seen this question addressed as a part of another thread  (http://www.telerik.com/forums/begin-in-edit) but I am not able to make this work.   I have a page with a RadDataForm that has an ItemTemplate, and InsertItemTemplate defined.  The RadDataForm is connected to a SQLDataSource via the DataSourceID property.  I tried using the PreRender event as follows to start the RadDataForm in insert mode:

       protected void ResourceDataForm_PreRender(object sender, EventArgs e) {
         if (!Page.IsPostBack) {
            (sender as RadDataForm).IsItemInserted=true;
            (sender as RadDataForm).Rebind();
         }

The page loads, but my insert template is not showing.  Actually, there is nothing that is showing from the RadDataForm.   If I load the page so that a record is displayed in the ItemTemplate, then I can successfully insert a new record using a RadButton that has a CommandName property of "InitInsert".

Any thoughts on what I'm doing wrong ?

 

Thanks -- Jeff Gaiche

 

 

 

Jeff
Top achievements
Rank 1
 answered on 17 Sep 2015
2 answers
50 views
For accessibility purposes, I need to change the collapse expand column to a custom template. How can I trigger that javascript from my own code?
Pavel
Top achievements
Rank 1
 answered on 17 Sep 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?