or
Hello,
I have three splitpanel and when the auto scroll is enabled some lines appear in the splitpanel.
Following attached the picture.
Thank you for all.
//add event handler
newPage.Item.MouseDown +=
new
MouseEventHandler(radButtonItem_MouseDown);
private
void
radButtonItem_MouseDown(
object
sender, MouseEventArgs e)
{
//button was clicked by the mouse
if
(e.Button == MouseButtons.Middle)
{
MessageBox.Show(
"Middle button"
);
rpvApplication.Pages.Remove(((RadPageViewStripItem)sender).Page);
// crashes!
//rpvApplication.Pages.RemoveAt(3); // crashes!
}
}