aarebrot.net Frode's blog on Sharepoint and other stuff

How to get a value from a form

Posted on November 24, 2008
VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)

This may be pretty obvious to more seasoned C# web developers, but if you're fresh with web part development (like me) this may come in handy.

Customizing the Quick Launch and Navigation bars

Posted on November 7, 2008
VN:F [1.9.13_1145]
Rating: 5.0/5 (1 vote cast)

A question that I see quite frequently on the MSDN Sharepoint forums is how to change the number of levels that are displayed in the drop down menues. This can be easily done by changing some settings in the master page, but there are also a number of other things you can change if you tinker around a little bit.

Loading custom web parts inside your Onet.xml

Posted on November 5, 2008
VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)

How would you go about adding a custom built web part to a page in a site definition? MSDN shows an example using the <AllUsersWebPart> tag in the <module> section of a site definitions onet.xml file. Inside there is a CDATA area where it uses some more (presumably) XML to define and configure the web part. You can check out the example here: MSDN's AllWebUsersWebPart page. I had some issues adapting this to my own custom built web parts, which made me come up with the solution in this article instead.

Finding the Base Permissions of a user

Posted on November 3, 2008
VN:F [1.9.13_1145]
Rating: 0.0/5 (0 votes cast)

Lately I've been working on a re-direct web part for a client. The web part should redirect the users immediately (preferably without them noticing it), and therefore a 5 second countdown is not an ideal way to go (also one of the reasons we're not just using a redirect page layout). One of the issues I came across was, if the web part redirects immediately, how do you ever go in and change the settings easily?