Using the RichRibbonBar, I get an error any time I use the "Save" button. I don't get the error when using "Save As". This happens when using the QuickAccessToolbar or the File menu.
The error is "Object reference not set to an instance of an object." in this Sub on the line "Me.SaveDocument(button.Tag.ToString())"
The error is "Object reference not set to an instance of an object." in this Sub on the line "Me.SaveDocument(button.Tag.ToString())"
Private Sub buttonSave_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim button As RadButton = TryCast(sender, RadButton)
Me.BackstageControl.HidePopup()
Me.SaveDocument(button.Tag.ToString())
End Sub