hi,
I have a radcontextmenu which only seems to work once. When I right click, my new items are added to the default menu, but when I go to do it again, I get the error message: 'Cannot remove the specified item because it was not found in the specified collection.'
here is the code:
Private
Sub grdSearch_ContextMenuOpening(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.ContextMenuOpeningEventArgs) Handles grdSearch.ContextMenuOpening
Try
e.ContextMenu.Items.AddRange(rcmDebts.Items)
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
Private Sub GridPrimerResults_CellFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles GridPrimerResults.CellFormatting
If CInt(e.CellElement.RowInfo.Cells(1).Value) <= 0 Then
e.CellElement.NumberOfColors = 1
e.CellElement.ForeColor = Color.Red
e.CellElement.DrawFill = True
End If
End Sub
I am new to Telerik thing and working on an application using Telerik WinForm controls. I am adding user controls dynamically into a panel based on options selected in the main tree. One such user control constitutes a detailed form having lots of fields.
below is the way I am displaying the user control in a panel:
loEntityForm =
new EntityForm(_OwnerID); // User control to be added dynamically
pnlResourceRight.Controls.Clear(); // Clearing existing user controls if any
pnlResourceRight.Controls.Add(loEntityForm);
loEntityForm.Dock =
DockStyle.Fill;
Now this loEntityForm flickers a lot before being properly rendered.
I have used already used one possible slolution in the contructor
i.e
InitializeComponent();
SetStyle(
ControlStyles.UserPaint, true);
SetStyle(
ControlStyles.AllPaintingInWmPaint, true);
SetStyle(
ControlStyles.DoubleBuffer, true);
SetStyle(
ControlStyles.ResizeRedraw);
but it doesn't solve my problem. Please suggest.
Hello,
I'm installed the trial version on one machine successfully. So far its great, and my company will be purchasing the software after we confirm it meets our needs. However, when trying to install the software on another machine I get the following error message:
"The installer has insufficient privileges to access this directory: C:\ProgramData\..\RadControls for WinForms Q2 2010 SP2."
Tried running it as both a standard user and administrator. Tried logging in as administrator. Nothing works.
The system is Windows 7 Professional, 64-bit. I know how to change the permissions so the install will proceed, the problem is the error message does not display the full path. Can you tell me what it is so I can create the directories manually and apply the permissions needed?