Guest Author: Bil Simser
Fear and Loathing
Another quick little fun thing today. Many times you might want (need) to hide the �New" button on a list toolbar. You know the one I mean?
Why would you want to do such a thing? For example on a project I�m building I actually call the NewForm.aspx page with a querystring because I want to pre-populate my form with some vales. As such, I don�t want users to create new items in a list without these references and since they have to come from another list I�m left with the problem of trying to restrict them from creating new items but still offer them the ability to use the features of the list like alerts, exporting to spreadsheets, etc. Yes, the �New� button isn�t available for readers of a list but for contributors it is and for admins you can�t just turn some of this stuff off easily.