Hot answers tagged visual-studio
When you save a list as a template, it will not preserve the lookup column as the IDs of the source column from which it looks up might change causing the lookups to break. There are a couple of workarounds which you can try. Try this and this
properties.Status = SPEventReceiverStatus.CancelWithError; properties.ErrorMessage = "Custom Error Message"; properties.Cancel = true; Place these 3 lines in a logical block which needs to stop the execution in the item updating event receiver. It will show the custom error message and stop updating.
By default, you should see a Deployment Conflicts dialog box when you redeploy your solution to your development computer; this should have warned you that your existing list instance would be overwritten. To change this behavior, select the List Instance in Solution Explorer, and then change the Deployment Conflict Resolution property (in the Properties ...
You can follow following steps: In Solution Explorer, choose the project node. On the menu bar, choose Project, Add New Item. The Add New Item dialog box opens. In the Installed pane, choose the Office/SharePoint node. In the list of SharePoint templates, choose User Control (Farm Solution Only). For more details: ...
Only top voted, non community-wiki answers of a minimum length are eligible