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

I have a pivot grid which connects to the olap cube.  Some of my cube fields do not have any values.  When I create the pivot grid I still see the filter icon in those fields.  When I click on those fields I get an error.  How can I avoid this error. In the image attached I would like to hide the filter icon for the "Actual Dollars" field. How can I achieve this?   

 

Thank you

Angel Petrov
Telerik team
 answered on 19 Jun 2015
2 answers
166 views
I would like to add a header (logo) to the top of the HTML element that I am exporting.  I only want to export a portion of my page, but would like to add a header to the top of it.  Is this possible with the Client Export Manager?
Ivan Danchev
Telerik team
 answered on 19 Jun 2015
1 answer
125 views
I am adding fields programmatically via the page_init and page_load and have this working nicely.  I have the configuration panel displayed and want to see how I can add fields in the page_init or page_load and have them show up in the configuration panel as unselected.  Pretty much I would like to load the pivot grid with only the single aggregate value showing and all of the possible fields unselected in the "All Fields" box in the panel.  How can this be done?
Scott Manning
Top achievements
Rank 1
 answered on 19 Jun 2015
4 answers
308 views

Hello Telerik-Team,

we have the following code, to change the OrderIndex of our custom bounded columns

int index = 999;
int i = 0;
while (i < collection.Keys.Count-1)
{
    grid.MasterTableView.GetColumnSafe(collection.Keys.ToList()[i]).OrderIndex = index;
    i ++;
    index++;
}

 

The problem is, that the first column of the collection will not be changed, because of the "-1". But when we remove the "-1", all columns go back to the old position at the beginning of the grid. We want to have our custom columns at the end of the table. (After the auto generated columns).

Can you give us a hint, to solve the problem?

 

 

Roxane
Top achievements
Rank 1
 answered on 19 Jun 2015
1 answer
77 views

Hi Team,

In the latest Telerik DLL has a filter notification feature in Radgrid .( Means if we filter a column, the filter button color changes for identification).In my project I am using "Q1 2013 " telerik version , can we achieve the above mentioned feature with "Q1 2013 telerik dll " ?

 

Thanks in Advance,

Ramesh.

Viktor Tachev
Telerik team
 answered on 19 Jun 2015
1 answer
71 views

I tried to default "END BY" as my default recurrance appointment, can you please check below code?

<script type="text/javascript">
function OnClientFormCreated(sender, eventArgs) {
$telerik.$(".rsAdvRecurrenceRangePanel .rsAdvOptionsPanel ul li:first-child").hide();
$telerik.$(".rsAdvRecurrenceRangePanel .rsAdvOptionsPanel ul li:nth-child(2)").hide();
$telerik.$('.rsAdvWeekly_WeekDays li:first-child').hide();
$telerik.$('.rsAdvWeekly_WeekDays li:last-child').hide();

}
function pageLoad() {
var $ = $telerik.$;
$(".rsRecurrenceOptionList").children().each(function (i) {
if (i < 2)
$(this).hide();
});
var $ = $telerik.$;
$(".rsRecurrenceOptionList").children().each(function (i) {
if (i ==4)
$(this).hide();
});
}
function schedulerFormCreated(scheduler, eventArgs) {
// Create a client-side object only for the advanced templates
var mode = eventArgs.get_mode();
if (mode == Telerik.Web.UI.SchedulerFormMode.AdvancedInsert || mode == Telerik.Web.UI.SchedulerFormMode.AdvancedEdit) {
var $ = $telerik.$;
var checkbox = $("[id$='RepeatUntilGivenDate']");
checkbox.attr("checked", true);
// Initialize the client-side object for the advanced form
var formElement = eventArgs.get_formElement();
}
}

</script>

<script type="text/javascript">
function OnClientFormCreated(sender, args) {
$telerik.$(".rsAdvRecurrenceRangePanel .rsAdvOptionsPanel ul li:first-child").hide();
$telerik.$(".rsAdvRecurrenceRangePanel .rsAdvOptionsPanel ul li:nth-child(2)").hide();
$telerik.$('.rsAdvWeekly_WeekDays li:first-child').hide();
$telerik.$('.rsAdvWeekly_WeekDays li:last-child').hide();
var $ = $telerik.$;
var mode = args.get_mode();
if (mode == Telerik.Web.UI.SchedulerFormMode.AdvancedInsert || mode == Telerik.Web.UI.SchedulerFormMode.AdvancedEdit) {
var recurrenceEditorJqueryObj = $("[id$='RangeEndDate']");
var recurrenceEditor = $find(recurrenceEditorJqueryObj.attr("id"));
var today = new Date();
today.setMonth(today.getMonth() + 6);
recurrenceEditor.set_selectedDate(today);

$(document).ready(function (event) {
$("#RadSchedulerRecurrenceEditor1_RepeatUntilGivenDate").attr('checked', true);
});
 

}
}
 
</script>
<script type="text/javascript">
$(document).ready(function (event) {
$("#RadSchedulerRecurrenceEditor1_RepeatUntilGivenDate").click(function () {
if ($('#RadSchedulerRecurrenceEditor1_RepeatUntilGivenDate').is(':checked')) {

if (RadSchedulerRecurrenceEditor1._getControl("RepeatUntilGivenDate").get_value() == "") {
alert("text is empty");
}
}
});
});
</script>

Plamen
Telerik team
 answered on 19 Jun 2015
1 answer
444 views

Hi,

We are using RadComboBox control in my asp.net application. Now we have upgraded our telerik library to 2014.2.618.45 telerik version. After upgrading the version, If I enter or select a new value from RadComboBox, it is not getting updated. Instead the old value is still retained in the control.

Scenario:

DataSource: String Array of times (Eg: "01:00 AM", "02:00 AM" and etc)

We have two text boxes one is getting start date and another one is for getting end date. Also we have two radcomboboxes one is for getting start time and another one is for end time and added custom validator (Performing this validation using JavaScript method) for both RadComboBox controls to validate end date time should be greater than start date time. 

  1. Assume while loading page the initial value of the controls "06/17/2015" "12:00 AM" in start date & time and "06/18/2015" "12:00 AM" in end date & time. 
  2. Now we are changing start date & time to "06/17/2015" "10:00 AM" and  end date & time to "06/17/2015" "11:00 AM". 
  3. While leaving the cursor from end time RadComboBox, the custom validator triggers the javascript method to validate and the date values in text boxes are getting changed to new one but the time value in the RadComboBoxes are not changed to new value. 
  4. Eventhough the new values are displayed in the RadComboBoxes, while debugging the JavaScript method, we see the previous value getting retained (Start Date time : "06/17/2015" "12:00 AM" and End Date Time "06/17/2015" "12:00 AM") and so the custom validator raises the error.

So please let us know why the RadcomboBoxes are retaining previous selected value instead of newly entered / selected one and also provide me an appropriate solution to resolve this issue.
​
Thanks,

Vishwam.

Plamen
Telerik team
 answered on 19 Jun 2015
2 answers
94 views

Issues:

1. When we select an image in RTE and then Apply CSS, the image loses focus and CSS is not applied to it. This issue is only in IE11.
2. When bulleting/numbering is enabled, we can unable to disable it with multiple enter key press in Chrome.

can you please help us in solving these issues ?

Khushboo
Top achievements
Rank 1
 answered on 19 Jun 2015
1 answer
77 views
how to Radhtml export pdf without client event or click event
Danail Vasilev
Telerik team
 answered on 19 Jun 2015
1 answer
57 views

Hey all,

I'm new to Telerik, can someone point me in a direction?  I'm trying to find a way to use a recordset of dates to highlight the cells of a calendar.  I know how to change the style of the cell, but I'm hoping I don't have to go one by one and loop thru them.  Ultimately, it would make sense to reload the calendar one month at a time, when a user changes it, but i'm not seeing anything out there like it.

 Also, is there a solid reference on the DayRenderEventArgs out there that i'm missing? 

Thanks.  I have a 2012.9 version I think.

 

~D

Eyup
Telerik team
 answered on 19 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?