77 reputation
10
bio website
location Chicago, IL
age
visits member for 2 years, 10 months
seen Nov 9 at 1:43

Jul
2
awarded  Curious
Oct
18
awarded  Popular Question
Oct
11
comment How to use JavaScript and CSS in a web part?
If I use this code in a custom web part and then add two instances of the web part to the same page, do these calls implicitly prevent redundant additions of the script and CSS to the page, or should I perform some sort of an explicit check?
Jun
11
awarded  Teacher
Jun
11
answered Order of web parts programmatically added to SharePoint page
Jun
11
comment Order of web parts programmatically added to SharePoint page
I came across this post (blogs.msdn.com/b/jjameson/archive/2009/06/05/…), which elaborated on the sort of hack that you brought up. I did not have to reverse the order of the web parts in the code, but I had to manipulate the zoneCounter based on the ZoneIndex of each web part that was added in the code.
Jun
11
comment Order of web parts programmatically added to SharePoint page
I did not yet reverse the order in the code, but just setting zoneIndex = 0 for all of them still placed one web part out of order. I am beginning to suspect there may be a bigger problem with the code. I am going to check some more things and get back to you today. Thanks for your quick responses!
Jun
11
comment Order of web parts programmatically added to SharePoint page
I understand giving all web parts index = 0, but how do I add web parts from the bottom instead of the top in the code? You mean reverse the order of the web parts I want to add, and using zoneIndex of 0 for all of them?
Jun
11
comment Order of web parts programmatically added to SharePoint page
That gave me tremendous hope, albeit for only a few moments :-( When I change zoneCounter to use one-based indexing, the fourth webpart inserted via code now shows at the end in the page. Somehow, any web part with zoneIndex = 4 (regardless of zero or one based) is pushed to the last!
Jun
10
asked Order of web parts programmatically added to SharePoint page
May
16
comment SharePoint Site Content Types and Site Columns Galleries are empty
I added a code snippet and also an update to the details of the issue/behavior. Thanks.
May
16
revised SharePoint Site Content Types and Site Columns Galleries are empty
Added code snipppet and update to details
May
15
asked SharePoint Site Content Types and Site Columns Galleries are empty
Feb
19
revised Content type issue when migrating from SharePoint 2003 to 2007
added 1199 characters in body
Feb
19
comment Content type issue when migrating from SharePoint 2003 to 2007
Thanks for the suggestion, I will do that.
Feb
19
asked Content type issue when migrating from SharePoint 2003 to 2007
Nov
25
comment All columns getting added to Document content type in migrated site
PowerShell 2.0 (on Windows Server 2003 R2 with SP2)
Nov
23
comment All columns getting added to Document content type in migrated site
@FalakMahmood I have support to run PowerShell.
Nov
19
comment All columns getting added to Document content type in migrated site
I tried to replicate this problem with a new library created in MOSS 2007. Actually I don't see this behavior. Maybe user created columns get added to the Document content type, but not fields like Created By, Modified By and Checked Out To. In my case, even those fields are getting added to the Document content type. I can provide the list template based on the migrated library, and you will be able to replicate this problem.
Nov
19
awarded  Commentator