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;}
Hi,
I'm using the Telerik Rad Spell Checker in my page attached screenshot.
A Textbox and Rad Spell Check.
When I tried to navigate the page using tab key in the Keyboard. At First it is navigated into the Textbox "Text 1" field and when I pressed tab key again, it is pointed to the Rad Spell Checker and Spell Check Dialog Box is opened this seems like a tab key is considered as a click event and once I clicked ok the Dialog Box disappears.
When I press tab key again, the dialog box continuously
opened instead of navigating into the next field in the page which is
"Text 2" Text box.
This behavior is observed in the Firefox Browser only.
But in the Chrome and IE. It's working fine. When I
press tab key after the Text box “Text 1”, it is pointing to the spell checker
but no dialog box is opened and when I pressed tab again it is pointing to the
next fields in the page.
The Telerik Version details are below:
Runtime Version: v4.0.30319
Version:
2014.2.618.45
Attached the screenshots for both.
Regards
Mani
01.if (chkWeekly.Checked == true)02. {03. //Creating a Weekly Recurrence rule04. int interval = 2;05. RecurrenceRange range = new RecurrenceRange();06. 07. range.Start = Convert.ToDateTime(rdStartShift.SelectedDate);08. range.EventDuration = TimeSpan.FromMinutes(30);09. range.MaxOccurrences = 3;10. RecurrenceDay recurrenceDay = (RecurrenceDay) Convert.ToInt32(rdDayOfWeek.SelectedValue);11. // _shifts.RecurrenceRule = new WeeklyRecurrenceRule(interval, recurrenceDay, range).ToString();12. DayOfWeek startDayOfWeek = DayOfWeek.Monday;13. _shifts.RecurrenceRule = new WeeklyRecurrenceRule(interval, recurrenceDay, range, startDayOfWeek).ToString();14. }
I am sure if i set weekly which I have done acording to the option it should set them in the future.
