Web parts

Revisiting the People Picker (PeopleEditor) Control

I was working with the People Editor Control and realized there are a couple weird things you need to do before you can read values into the control and save values into a list. Here are a few samples related to saving multiple items into a list and reading multiple items from a list into the control. Updating an Item from a PeopleEditor Control: string[] UsersSeperated = peUserEditor.CommaSeparated... SPFieldUserValueCollection UserCollection= new SPFieldUserValueCollection(); foreach ......

Posted On Thursday, March 12, 2009 3:28 PM | Comments (4)

Why is my CSS not working...

So I had the recent privilege to work with a bunch of InputFormTextboxes and KWIZ Tagging Controls. None of them would inherit my styles using the CSSClass tags for some reason. So I shoved a couple spans around the controls in the RenderContents method and finally the links inherited everything I needed. Morale of the story: <span></span> is your friend. Technorati Tags: MOSS,SharePoint,CSS,Webparts ......

Posted On Monday, January 19, 2009 10:25 PM | Comments (0)

The Lazy Web Parts

I was doing some documentation today on this site that is part of a collection of customized sites. It has JavaScript (yuck) and web parts galore. I get to this site that deals with Affiliated Items for this particular site and I notice that there are 5 web parts. I am wondering why do you need 5 web parts when you take in a query string and provide a list of items. What you really only need is a Query String Web Part connected to another Web Part or a Web Part that reads the Query String. For some ......

Posted On Tuesday, March 25, 2008 4:10 PM | Comments (0)

The DataGrid and His Enemy the Dataview

I was working a SPDataGridView Webpart today. I was trying to get the grid to refresh and re-bind itself after a specific client was deleted in the web part. When I tried to clear the grid it would not clear at all. It would refresh with the exact same data, until I hit F5 on Internet Explorer. I finally thought to myself what if I get rid of the Dataview as a source and call the DataSet directly. Sure enough I change it and clear the DataSet, then rebind and grid and when I delete the client it ......

Posted On Tuesday, March 11, 2008 1:33 PM | Comments (0)

Trouble with Solution Packages on a SharePoint Server Farm

I mentioned a while back that we setup a server farm with a Query, Index, Application, and SQL Box. Well we deployed all the old web parts and we are having all kinds of crazy issues on this farm. I'm not sure exactly what nuttiness is occurring, but half the time the solution packages are failing to deploy or the feature isn't installing in the batch files. Unfortunately, I installed VS 2005 and VSEWSS 1.1 and Visual Source Safe. I tried implementing the solutions through Visual Studio and it will ......

Posted On Thursday, March 6, 2008 12:15 PM | Comments (0)

Copyright © MOSSLover

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski