I have a telerik:RadTreeNodeBinding within a telerik:RadComboBox.
Is there a way to format the parent node in bold text of a databound radtreeview?
Thanks,
Roger
Is it possible to get a DatePicker as the editor when doing client-side batch editing? I've tried:
<telerik:GridDateTimeColumn DataField="FirstPaymentDate" PickerType="DatePicker" HeaderText="1st Pmt. Due" UniqueName="FirstPaymentDate" HeaderStyle-Width="100px" ItemStyle-Width="100px" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" AllowSorting="false" />and
<telerik:GridTemplateColumn HeaderText="1st Pmt. Due" UniqueName="FirstPaymentDate" DataType="System.DateTime" HeaderStyle-Width="100px" ItemStyle-Width="100px" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" AllowSorting="false"><br> <ItemTemplate><br> <asp:Label runat="server" ID="date"Text='<%# Eval("FirstPaymentDate") %>'><br> </asp:Label><br> </ItemTemplate><br> <EditItemTemplate><br> <telerik:RadDateTimePicker ID="picker1" runat="server" DbSelectedDate='<%# Bind("date") %>'><br> </telerik:RadDateTimePicker><br> </EditItemTemplate><br> </telerik:GridTemplateColumn>
and in neither case do I get a DatePicker control when I click to enter edit mode.
I've searched extensively and haven't been able to find an example that does this. Is it possible? Can someone provide or point me to an example?​
Is there an easy way to repeat headers for each record in a radgrid master/detail table?
In records with a lot of children, the headers can scroll off the screen, and then the user has to scroll up and down to read the headers. It would be nice if there were a way to automatically repeat the header each time you write a new MasterHeader, for instance, since RadGrid doesn't have a "freeze" feature where the headers will remain frozen at the top of the screen while the user scrolls down.
Is there an easy way to do this?
MasterHeaderMasterDetailChildHeaderChildDetailChildHeaderChildDetailChildHeaderChildDetailMasterHeaderMasterDetailHello,
I am calling a telerik radbutton's click event via javascript from within a RadAjaxPanel and it is causing a postback rather than a call back. When I click the button manually all works as expected (a callback occurs).
Example:
document.getElementById('<% = SaveEditorButton.ClientID %>').click();
Please help.
protected void Page_Load(object sender, EventArgs e) { tblApertureNetShiftPattern _shifts = new tblApertureNetShiftPattern(); string timeCode = ""; string id = Request.QueryString["id"]; Guid _guid = string.IsNullOrEmpty(id) ? new Guid() : new Guid(id); _shifts = _dal.GetShiftPatternById(_guid); if (Request.Browser.Browser == "Firefox") Form.Attributes.Add("autocomplete", "off"); if (!IsPostBack) { var dlManagersSource = _dal.GetManagers(); rdManagers.DataSource = dlManagersSource; rdManagers.DataValueField = "LookupValue"; rdManagers.DataTextField = "LookupDescription"; rdManagers.DataBind(); // Then add your first item var ddlDaysOfWeek = _dal.GetDaysOfWeek().OrderBy(o => o.Order); rdDayOfWeek.DataSource = ddlDaysOfWeek; rdDayOfWeek.DataValueField = "LookupValue"; rdDayOfWeek.DataTextField = "LookupDescription"; rdDayOfWeek.DataBind(); var ddlShiftPatterns = _dal.GetShiftPatternTypes(); rdAppointmentType.DataSource = ddlShiftPatterns; rdAppointmentType.DataValueField = "LookupValue"; rdAppointmentType.DataTextField = "LookupDescription"; rdAppointmentType.DataBind(); } txtDescription.Text = _shifts.Description; rdStartShift.SelectedDate = _shifts.startdate; rdShiftEnd.SelectedDate = _shifts.endDate; rdDayOfWeek.SelectedValue = _shifts.dayOfWeek.ToString(); rdAppointmentType.SelectedValue = _shifts.appointmentType.ToString(); rdManagers.SelectedValue = _shifts.manager_Id.ToString(); }
/// <summary>/// Gets the days of week./// </summary>/// <returns></returns>public List<StandardLookup> GetDaysOfWeek(){ List<StandardLookup> lookups = new List<StandardLookup>(); try { var q = from lookup in apertureNetEntities.tblApertureNetLookUps.Where(a => a.lookup_type == Constants.daysOfWeek).OrderByDescending(o => o.colOrder) orderby lookup.lookup_description select new { LookLookupValue = lookup.lookup_Code, LookupDescription = lookup.lookup_description.Trim(), Order = lookup.colOrder }; if (q != null) { Array.ForEach(q.ToArray(), l => { lookups.Add(new StandardLookup(l.LookLookupValue, l.LookupDescription, l.Order)); }); } } catch (Exception ex) { string inner = string.Empty; if (ex.InnerException != null) { inner = ex.InnerException.ToString(); } logger.Error("Error in GetDaysOfWeek function aperturenetdal " + ex.ToString() + " " + inner); return null; } return lookups;}