| protected void tk_Grid_PreRender(object sender, EventArgs e) |
| { |
| foreach (GridGroupHeaderItem groupHeader in tk_Grid.MasterTableView.GetItems(GridItemType.GroupHeader)) |
| { |
| string strtxt = groupHeader.DataCell.Text; // accessing the groupheader text |
| string strGroupIndex = groupHeader.GroupIndex; |
| LinkButton hyperlnk = new LinkButton(); // creting new link |
| hyperlnk.Text = strtxt.Substring(8,strtxt.Length-8); |
| hyperlnk.CssClass = "gridtextbold"; |
| hyperlnk.Attributes.Add("OnClick", "return AbreVentana('ConsolidadoDiarioAuxiliar.aspx','Consolidado');"); |
| groupHeader.DataCell.Controls.Clear(); |
| groupHeader.DataCell.Controls.Add(hyperlnk); // adding link to the groupheader |
| } |
| } |
| <GroupByExpressions > |
| <telerik:GridGroupByExpression > |
| <GroupByFields > |
| <telerik:GridGroupByField FieldName="SubDiarioID" FormatString="{0:g}" /> |
| </GroupByFields> |
| <SelectFields> |
| <telerik:GridGroupByField FieldName="BESubDiarios.NombreSubDiario" HeaderText="Cuenta" /> |
| </SelectFields> |
| </telerik:GridGroupByExpression> |
| </GroupByExpressions> |
| <GroupHeaderItemStyle HorizontalAlign="Left" CssClass="gridtext" /> |
You can find information about known issues and important changes for the entire UI for ASP.NET AJAX suite in the following pinned thread: Known Issues and Important Changes in UI for ASP.NET AJAX.
Q1 2014 (Version number: 2014.1.225)
div.RadScheduler .RadInput { *display: inline !important;}_initializeAdvancedFormValidators: function () { var toolTip = this._createValidatorToolTip(); if (typeof (Page_Validators) == "undefined") return; for (var validatorIndex in Page_Validators) { var validator = Page_Validators[validatorIndex]; if (this._validatorIsInTemplate(validator)) { var control = $("#" + validator.controltovalidate); if (control.length == 0) break; if (control.parent().is(".rsAdvDatePicker") || control.parent().is(".rsAdvTimePicker")) { $("#" + validator.controltovalidate + "_dateInput") .bind("focus", { "toolTip": toolTip }, this._showToolTip) .bind("blur", { "toolTip": toolTip }, this._hideToolTip) [0].errorMessage = validator.errormessage; } else { control.addClass("rsValidatedInput"); } control[0].errorMessage = validator.errormessage; this._updateValidator(validator, control); } } var advancedTemplate = this; var originalValidatorUpdateDisplay = ValidatorUpdateDisplay; ValidatorUpdateDisplay = function (validator) { if (advancedTemplate._validatorIsInTemplate(validator) && validator.controltovalidate) { advancedTemplate._updateValidator(validator); } else { originalValidatorUpdateDisplay(validator); } }; $(".rsValidatedInput", this._formElement) .bind("focus", { "toolTip": toolTip }, this._showToolTip) .bind("blur", { "toolTip": toolTip }, this._hideToolTip);},_initializeAllDayCheckbox: function () { var allDayCheckbox = $("#" + this._templateId + "_AllDayEvent"); var controlList = $(allDayCheckbox[0].parentNode.parentNode.parentNode); var timePickers = controlList.find('.rsAdvTimePicker'); // RadDateTimePicker-display-hackedy-hack if ($telerik.isIE6 || $telerik.isIE7) { $('.rsAdvTimePicker, .rsAdvDatePicker', this._formElement).css( { display: "inline", zoom: 1, width: "" }); } else { $('.rsAdvTimePicker, .rsAdvDatePicker', this._formElement).css( { display: "inline-block", width: "" }); } var timePickersWidth = $("#" + this._templateId + "_StartTime_dateInput").outerWidth(); timePickers.width(timePickersWidth); var initialPickersWidth = $(".rsTimePick", this._formElement).eq(0).outerWidth(); var allDayPickersWidth = initialPickersWidth - timePickersWidth; var startTimeValidator = $get(this._templateId + "_StartTimeValidator"); var endTimeValidator = $get(this._templateId + "_StartTimeValidator"); var advancedTemplate = this; // IE fix - the hidden input pushes down the other TimePicker elements during animation controlList.find('.rsAdvTimePicker > input').css("display", "none"); var clickHandler = function (allDay, animate) { var showTimePickers = function () { if ($telerik.isSafari || $telerik.isOpera) timePickers.css("display", "inline-block"); else timePickers.show(); }; if (!allDay) showTimePickers(); controlList.find('.rsTimePick').each(function () { if (animate) { $(this).stop(); if (allDay) $(this).animate({ width: allDayPickersWidth }, "fast", "linear", function () { timePickers.hide(); }); else $(this).animate({ width: initialPickersWidth }, "fast"); } else { if (allDay) { timePickers.hide(); $(this).width(allDayPickersWidth); } else { $(this).width(initialPickersWidth); } } }); if (typeof (ValidatorEnable) != "undefined") { ValidatorEnable(startTimeValidator, !allDay); ValidatorEnable(endTimeValidator, !allDay); } var startTimePicker = advancedTemplate._pickers.startTime; startTimePicker.set_enabled(!allDay); var endTimePicker = advancedTemplate._pickers.endTime; endTimePicker.set_enabled(!allDay); }; this._onAllDayCheckBoxClick = clickHandler; clickHandler(allDayCheckbox[0].checked, false); allDayCheckbox.click(function () { clickHandler(this.checked, true); });},
<script type="text/javascript"> if (Telerik.Web.UI.RadScheduler.prototype._onKeyDownEvent) { var originalHandler = Telerik.Web.UI.RadScheduler.prototype._onKeyDownEvent; Telerik.Web.UI.RadScheduler.prototype._onKeyDownEvent = function (e) { if (this._resizingState) originalHandler.apply(this, [e]); } } </script>Problem:
If the TimeLabelSpan property for Timeline view is set, the time slots will be misalligned with respect to the date headers in IE9.
* <TimelineView NumberOfSlots="24" TimeLabelSpan="4" /> *You RadScheduler will look something like this:
This is a browser issue with IE9 which can be observed with earlier versions of Telerik controls as well.
Solution:
.rsHidden { display: block!important; }Problem:
"Microsoft JScript runtime error: 'findItemByValue(...)' is null or not an object"
Reason:
The fix for 'Disable context menu items based on AllowInsert/Edit/Delete values' relies on that the appointment context menu has items with Value = CommandEdit or CommandDelete. If you have a custom context menu that does not have such items, you will get this error.
Solution:
We have already fixed the problem (a simple if(item !=null) check in the source code). Upgrading to the next internal build is the solution we recommend.
Apologies for the caused inconvenience!
Q3 2010
The visual appearance of the advanced form has been refreshed, if you use templates, you will need to update them with the following new elements (and the additional .rsAdvancedModal class) :
<div class="rsAdvancedEdit rsAdvancedModal" style="position: relative"> <div class="rsModalBgTopLeft"></div> <div class="rsModalBgTopRight"></div> <div class="rsModalBgBottomLeft"></div> <div class="rsModalBgBottomRight"></div> ..........</div><telerik:RadStyleSheetManager runat="server" ID="RadStyleSheetManager1"> <StyleSheets> <telerik:StyleSheetReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Skins.SchedulerRecurrenceEditor.css" /> <telerik:StyleSheetReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Skins.Vista.SchedulerRecurrenceEditor.Vista.css" /> </StyleSheets></telerik:RadStyleSheetManager><asp:Panel runat="server" ID="RecurrencePanel" Style="display: none;" CssClass="rsAdvRecurrencePanel RecurrenceEditor">Clicking the date header in week view results in a server-side exception- "FormatException: String was not recognized as a valid DateTime".
Update: The initial fix in build 2010.1.525 lead to incorrect date calculations.
The issue is fixed in build 2010.1.526 and later. A workaround is to include the following script below the ScriptManager/RadScriptManager instance on the page:
<script type="text/javascript"> Telerik.Web.UI.RadScheduler.prototype._onDateHeaderClick = function (e) { $telerik.cancelRawEvent(e); var date = new Date(); // Date headers have an href in the format #yyyy-MM-dd var dateMatch = e.eventMapTarget.href.match(/#(\d{4}-\d{2}-\d{2})/); if (dateMatch && dateMatch.length == 2) { var parts = $telerik.$.map(dateMatch[1].split("-"), function (part) { return parseInt(part, 10); }); date = new Date(parts[0], parts[1] - 1, parts[2]); } return this._switchToSelectedDay(date); }; </script>Related forum post: FIX: Clicking the date header in week view results in a server-side exception
Q3 SP1 2009 (Version number: 2009.3.1208)
FIX: Problem in scheduler when bound to WebService or WCF service
Q3 2009 (Version number: 2009.3.1103)
Breaking change: removed obsolete RadScheduler members in Q3 2009

| <asp:Label ID="LblDeliveryType" runat="server"><%# Eval("DeliveryTypeId")%></asp:Label> |