Hi,
I have a RadListView (ViewType = DetailView) that has a single column of data.
I'd like to make this column take up 100% of the width of the RadListView. How would I do that?
The design properties for the column only seem to allow a fixed pixel width (not percentage).
Thanks,
-Lou
I am programatically adding two appointments to a rad scheduler, one with start DateTime in past and one with start DateTime on current date. The reminder only shows the appointment on current date. I also want to reminders for all appointments in the past as well. How can I achieve this.
The business scenario is when a user starts the application it should remind them of all appointments in the past from now immediately and the appointments on today 15 minutes before start.
Code below
Appointment appointment1 = new Appointment(DateTime.Now.AddMinutes(15).AddSeconds(5), new TimeSpan(1, 0, 0));
appointment1.Summary = "Appointment Today";
appointment1.Description = "Appointment Details";
appointment1.Reminder = new TimeSpan(0, 15, 0);
radScheduler1.Appointments.Add(appointment1);
Appointment appointment2 = new Appointment(DateTime.Now.AddDays(-1), new TimeSpan(1, 0, 0));
appointment2.Summary = "Appointment 1 day in past";
appointment2.Description = "Appointment Details";
appointment2.Reminder = new TimeSpan(0, 15, 0);
radScheduler1.Appointments.Add(appointment2);
radSchedulerReminder1.StartReminder();

Hi,
I am using raddock control to host dock windows that as a child have a form with a docked gridview, as per picure attached.
My aim is to have the dockwindow width equal to the gridview hosted inside the form. I can achieve this the first time the dock window is created, but if the user changes the width of a column in the gridview I cannot figure out how to programmatically change the parent form's width to be equal to the gridview width, and subsequently the dockwindow width to be equal to the hosting the gridview form width.
The second picture attached displays the desired effect, the form having the same width as the gridview, and also the dockwindow hosting the has a similar width.
I would appreciate your input,
Regards,
George

Hi,
is it possible to PIN columns like GridView?
I would like to pin the Total columns that i have moved in first position
Thanks
Regards
Manuele

How can I create a button inside a column for some row and not the other.
I tried to use the command line but this will add a button to every row
here is what I have done
GridViewCommandColumn commandColumn2 = new GridViewCommandColumn();
commandColumn2.Name = "UpdateInfo";
commandColumn2.UseDefaultText = true;
commandColumn2.DefaultText = "View More Info";
commandColumn2.FieldName = "UpdateInfo";
commandColumn2.HeaderText = "";
radGridView1.MasterTemplate.Columns.Add(commandColumn2);
radGridView1.CommandCellClick += new CommandCellClickEventHandler(radGridView1_CommandCellClick);
How can I only show the button for some rows and not the others


Hello,
Can anyone please resolve my little issue? I have a CommandBarStripElement on my rad form (please see arrow in attached image). I have a little dropdown that displays name of elements placed on CommandBarStripElement. I want to remove that drop down completely. I had done it in the past by setting one of its property but lost now. Please anyone help to remove it.
Thanks in advance

Hi, I am using a RadGridView in which some of the cells might be read-only depending on the values of the data in other columns.
To simulate the read-only behavior, I use «CellBeginEdit» event has recommended in some threads of this forum.
My code looks like this:
private void radGridView_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)
{
e.Cancel = !IsCellUpdatable();
}
The «IsCellUpdatable» function seen above returns true or false depending on if the cell has to be modified.
Up to that part, everything works properly.
The problem I encounter is that a user can still paste some data into the cell using the keyboard shortcut «Ctrl-V». The pasting command does not trigger the CellBeginEdit event, so the data is entered in the cell. Thus the read-only behavior can be bypassed. So, I need to prevent the pasting from somewhere else.
I have tried using the grid's KeyDown event but it is not fired. I then tried to override the grid's behavior and the ProcessKey event to catch the «Ctrl-V» command but then I do not have access to my form's «IsCellUpdatable» method (it is not static and cannot be).
Any other suggestions to trap and prevent the paste command?
Thanks for your help

Hi, I have a problem with charts not being displayed properly and being cropped to the left and right edges as the attached picture suggests. The code I use to construct the chart is as follows:
this.radChart.View.Margin = new Padding(15);ChartTooltipController toolTipController = new ChartTooltipController();toolTipController.DataPointTooltipTextNeeded += toolTipController_DataPointTooltipTextNeeded;this.radChart.Controllers.Add(toolTipController);this.radChart.ShowToolTip = true;this.radChart.ShowPanZoom = true;LineSeries dailySeries = new LineSeries();dailySeries.BorderColor = Color.DarkBlue;dailySeries.BorderWidth = 1;dailySeries.PointSize = new SizeF(5, 5);dailySeries.ShowLabels = true;foreach (var r in (from q in DailyData orderby q.FIXING_DATE select q)){ dailySeries.DataPoints.Add(new CategoricalDataPoint(r.FIXING, r.FIXING_DATE) { Label = "old" }); } DateTimeCategoricalAxis categoricalAxis = new DateTimeCategoricalAxis();categoricalAxis.DateTimeComponent = DateTimeComponent.Date;categoricalAxis.MajorTickInterval = 21;categoricalAxis.PlotMode = AxisPlotMode.OnTicks;categoricalAxis.LabelFitMode = AxisLabelFitMode.MultiLine;categoricalAxis.LabelFormat = "{0:MMM-yy}";CartesianArea area = this.radChart.GetArea<CartesianArea>();area.ShowGrid = true;CartesianGrid grid = area.GetGrid<CartesianGrid>();grid.DrawHorizontalFills = true;grid.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.DashDot;//First assign the axis to the VerticalAxis property and then add the series to the chartdailySeries.HorizontalAxis = categoricalAxis; this.radChart.Series.Add(dailySeries);Can you pleaase suggest a solution to this problem?
Regards,
George

Hi,
I have a general question about what is the best/recomended approach for working on Telrik projects across multiple machines.
For example, I'm developing an application on my main development machine for a client and when I attend site to deploy (and possible modify) the application, I would typically copy the Visual Studio project to my laptop and then edit and deploy the project from there.
I realise to do so on my laptop, I would need to install the Telerik client libarires (which I have), but this approach of copying the solution to my laptop and trying to open/edit there, is not working too well (at all)
What is the approach I should be taking to manage this particular use case?
Thanks,
Damian
