My workflow: I tried to open a dialog by clicking a button so I used SP.UI.ModalDialog
Message: Sys.InvalidOperationException: Type SP.UI.DialogResult has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded.
I am using SharePoint 2010, Visual Studio 2010.
From novice to tech pro — start learning today.