Hi,
I have a main form with a RadListView set to details view which is bound to a list of objects.
I also have a user control with two RadListViews set to details view bound to their own empty list of objects, same type as main.
On the main form when the user clicks on a button an instance of the user control is created and added to a panel on main form. So there can be multiple instances of the UC.
What I'm trying to do is allow the user to drag an item from the main form list and drop it on one of the lists within one of the instances of the user controls created at run time.
I have been trying to do this with the DragDropService, but I'm not getting the target list to update.
Assuming this is possible could you give me a simple example in c#.
Thanks in advance.
Cheers
Shaun
I have a GridView control that has a custom CellFormatting event implemented that detects if a row is to be deleted on save, sets the back colour to grey and makes the test italic.
Following recommended Telerik practice I apply ResetValue format to cells not affected by the above format condition.
All works great.
My problem occurs when a user applies a ConditionalFormat, it doesn't display. If I comment out the ResetValue commands, the user defined Conditional Formatting shows as expected.
Is there a way you can get the Conditional Formatting to be applied after the CellFormatting event, or call for the ConditionalFormatting to be applied from the CellFormatting event?
Hi,
i have a problem with timeline in scheduler. the timline start to end is from right to left instead of left to right. i set the "righrToLeft" to false and also i changed the culture to en-US but no effect.
another question is about the Appointment text in Persion or Arabic.how can show the Text Correctly? currectly the Words are in Revese direction. i just found a solution by disable the useHtml in appointmentElement.
please help me!
thanks in advanced
Hi,
how to add an OGS WMS/WFS to the map?
Hello to all,
When I open the radmulticolumncombobox I would like to place it on the line that contains the text in the textbox.
Instead, it is placed on the first line.
Does anyone know where I am wrong?
Thanks a lot
Fabrizio
Hi all,
there is a strange behaviour when clicking a GridView:
I have a GridView with some rows in. By DoubleClicking a row the DoubleClick Event is fired and a new form will be loaded.
Now I'm doing a click (single click!) and the RadGridView fires a DoubleClick Event again!
If the new form will open in front of the GridView the next click will NOT fire a DoubleClick Event.
If the form will open beside the Grid a DoubleClick will be fired...
Seems to me that there is a dependency whether the Grid has the Focus or not.
How to prevent the Click to fire a DoubleClick?
Private _chart As New RadChart |
Private Sub PrepareChart() |
Dim radChart As New GridToleranceChart |
Me._chart = radChart.chart |
Me._chart.SkinsOverrideStyles = False |
End Sub |
Private Sub grid_CellFormatting(ByVal sender As Object, _ |
ByVal e As CellFormattingEventArgs) _ |
Handles grid.CellFormatting |
Dim column As GridViewDataColumn = TryCast(e.CellElement.ColumnInfo, GridViewImageColumn) |
If column IsNot Nothing AndAlso StrComp(column.FieldName, _ |
Constants.DefaultToleranceColumnNames.TolPercentChart, CompareMethod.Text) = 0 Then |
If e.CellElement.RowInfo.Tag Is Nothing Then |
Me._chart.Series.Clear() |
column.Width = 300 |
column.AllowResize = False |
e.CellElement.RowElement.RowInfo.Height = 60 |
Dim series As New Telerik.Charting.ChartSeries() |
|
series.Type = Telerik.Charting.ChartSeriesType.Bar |
series.Name = "percentOfTolSeries" |
series.Appearance.LabelAppearance.Visible = False |
' Get the value to add to the series from another cell in the same row of the cell that is being edited |
' Add the value to the series |
Dim rowInfo As GridViewRowInfo = TryCast(e.CellElement.RowInfo, GridViewDataRowInfo) |
Dim value As Decimal = CDec(rowInfo.Cells(Constants.DefaultToleranceColumnNames.PercentOfTol).Value) |
series.Items.Add(New Telerik.Charting.ChartSeriesItem(value)) |
Me._chart.Series.Add(series) |
Me._chart.Refresh() |
Me._chart.Update() |
Me._chart.UpdateGraphics() |
e.CellElement.RowInfo.Tag = Me._chart.GetBitmap() |
End If |
e.CellElement.Image = TryCast(e.CellElement.RowInfo.Tag, System.Drawing.Image) |
e.CellElement.ImageLayout = ImageLayout.Center |
e.CellElement.DrawBorder = False |
e.CellElement.Text = "" |
e.CellElement.Padding = New Padding(0, 0, 0, 0) |
End If |
End Sub |
I have Gridview with checkbox column and data bound to datasource,
When i try to change checkbox status, it gives me Data Exception: "Column 'Ex' is read only"
how to make this event firing without commiting to database
Hi,
I am using PdfViewer winform control in my project.
I want to display single page in viewer at a time. I found property "FixedDocumentPresenter" in silverlight controls.
This property is not available in winform control. Is there any way to achieve this. Please attach some code snippet.
Ref:-