In SharePoint 2010, I have created a webpage, and I need to set the value "chrome type" in all ways to "none". I
I was looking for ways to emphasize Cambodia" no one ", or ways to override" chrome type "in the C # class, but I want to do them No way found. What is the best way to set up this property?
You should be able to modify the property of the Web Part in the code.
Keep in mind that where you do this in the web part life cycle.
If you do it as part of the method of presenting it will be very late - Chrome has already been drawn by it.
If you do this quickly at the other end of the scale, your setting will override when setting the settings from the SharePoint toolbar.
Look at something like the OnPreRender event.
Comments
Post a Comment