Hi guys.
Got some problems with the radgridview. I have a radgridview with some filters. If user filters the data i need to get row index for some updates. But for me row index is always -1 after filtering. Without filtering code works well.
private void grdDetay_CellEndEdit(object sender, GridViewCellEventArgs e)
{
var listId = 0;
var dtyid = 0;
GridViewRowInfo row = this.grdDetay.CurrentRow;
int rowIndex = row.Index;
listId = Convert.ToInt32(grdDetay.ChildRows[rowIndex].Cells[0].Value);
dtyid = Convert.ToInt32(grdDetay.ChildRows[rowIndex].Cells[1].Value);
}
Hi all, I've attached a png of my issue. The shart is inside a table cell, as you can see only half of the chart is visible, no idea why this is?
I don't understand why but if you place a RadTextBox or a RadTextBoxControl with a BackColorChanged event setup inside a RadPageView the BackColorChanged event is raised before the Form_Load method when you start the app without changing the BackColor of the RadTextBox. If you move the control outside the RadPageView the BackColorChanged event does not get raised which is the expected behavior.
I wonder if this is a known issue?
Any idea how to prevent the BackColorChanged event to get raised when the control is inside a RadPageView?
Hi - I need some help with rad panel borders in a WinForm. I understand from other threads that the way to get a panel's borders to disappear is to set the PanelElement.PanelBorder.Visibility to "Collapsed". This causes the border to disappear just fine, but it also affects the parent panel by making its borders disappear too. See the attached image for how it looks.
Is there a way for me to get the child panels to have no border but also not affect the parent panel? I want that border to remain as it is.
Side note: I have the two child panels inside the parent and set them to Dock left so that when the left control isn't needed that panel can be set to invisible and the panel containing the remaining controls will move to the left.
Thanks.
I have added a custom column with a radSplitButton to my grid. When a button item is clicked, I would like to get the value from another cell in the row, delete the current row and delete other rows in the grid. I raise an event when a button item is clicked. I tried using the following code to subscribe to the event but the cellelement is nothing at this point. What is the best way to subscribe to the event?
Private Sub dgvReconcile_CreateCell(sender As Object, e As Telerik.WinControls.UI.GridViewCreateCellEventArgs) Handles dgvReconcile.CreateCell
Try
If e.Column IsNot Nothing AndAlso Not e.CellElement Is Nothing Then
If e.Column.Name = "CreateNew" AndAlso (TypeOf e.Row Is GridDataRowElement OrElse TypeOf e.Row Is GridNewRowElement) Then
Dim myElement As SplitButtonCellElement = DirectCast(e.CellElement, SplitButtonCellElement)
AddHandler myElement.NewClicked, AddressOf btnCreateNew_Click
End If
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub