Alec Tang

Professional Web Developer/ Web Designer

I build websites based on the latest web standards providing the best possible solution to your company

  • Home
  • About
  • Portfolio
  • Contact
  • Blog
All Posts under Sharepoint Subscribe our RSS Feed Subscribe Feed
  • Sys.WebForms.PageRequestManagerParserErrorException

    Blog post about Sys.WebForms.PageRequestManagerParserErrorExceptionI had the problem of page not able to redirect when in an ajax postback. It happens to be the fact that I disabled a line in web.config:. This line should be added in HttpModules, so that redirection will work in Ajax postback. This class manages HttpModules for Ajax functionalities in ASP.NET.

    Read on... Posted by: Alec On Wednesday, 12 May 2010 - in
    • ASP.NET C#
    • Sharepoint
  • How to create HTML column in Sharepoint List View

    Blog post about How to create HTML column in Sharepoint List ViewI came across this problem of wanting to add a column in the List view web part (stock standard one) with the ability to have html elements rendered properly. Unfortunately Sharepoint's standard list view only displays text in it.

    Read on... Posted by: Alec On Sunday, 11 April 2010 - in
    • Sharepoint
  • How Sharepoint stores User Data

    Blog post about How Sharepoint stores User DataLately I had fun digging into Sharepoint database and see how the monster was built and what its database schema looking like. Well, it's pretty smart the way it was built but it's also a pain for developers to understand and even to play with it, if they have to. With the business that I am working for, we have to create reports for corporates, which forces us to having to dig into Sharepoint database directly, even though I read a lot of posts saying that is not recommended by Microsoft.

    Read on... Posted by: Alec On Wednesday, 07 April 2010 - in
    • Sharepoint
  • How to send email via Sharepoint

    Blog post about How to send email via SharepointA useful function to send email in Sharepoint, programatically.

    Read on... Posted by: Alec On Tuesday, 30 March 2010 - in
    • ASP.NET C#
    • Sharepoint
  • Intranet, the next big market

    Blog post about Intranet, the next big marketThe release of Sharepoint 2007 really helped Microsoft stepping a big step forward into the Intranet market in recent years, but what's predicted coming up bigger than ever is Sharepoint 2010, which many industries experts have shown a lot of love with. When working with Sharepoint 2007, I actually got amazed by its usability and how flexible and useful it could be in a business environment. The even more amazing part is, the bigger the business, the more useful Sharepoint could be to the business.

    Read on... Posted by: Alec On Thursday, 25 March 2010 - in
    • Sharepoint
  • How to retrieve and update from a multi choice Checkboxlist field

    Blog post about How to retrieve and update from a multi choice Checkboxlist fieldThis post shows you how to retrieve a checkboxlist from a multi choice field as well as how to update the field using SPFieldMultiChoiceValue.

    Read on... Posted by: Alec On Monday, 15 March 2010 - in
    • ASP.NET C#
    • Sharepoint
  • Auto Complete returns giant list of undefined

    Blog post about Auto Complete returns giant list of undefinedAaron was creating a custom web service to be used by web parts in Sharepoint, but then there was a problem of a giant list of "undefined" values returning. Done a lot of research and later this brilliant post directed us to the right place.

    Read on... Posted by: Alec On Monday, 08 March 2010 - in
    • ASP.NET C#
    • Sharepoint
  • Integrate Ajax Control Toolkit into Sharepoint

    Blog post about Integrate Ajax Control Toolkit into SharepointI wanted to use Ajax control toolkit in Sharepoint, and had not had any luck until I spent the whole day debugging and getting it to work. I already had Ajax integrated in Sharepoint, so it should be fairly easy to just add in AjaxControlToolkit, but the problem is the latest version of it actually requires you to use ToolkitScriptManager instead of ScriptManager, otherwise your control will not work and you will see a Javascript error of "Please wait while scripts are loaded".

    Read on... Posted by: Alec On Friday, 12 February 2010 - in
    • ASP.NET C#
    • Sharepoint
  • Dynamically assign task to user in Sharepoint

    Blog post about Dynamically assign task to user in SharepointI had to create a task dynamically in C# and assign the task to a reviewer, which is a user account. However, there was this problem of the "Assigned to" field is only read only. To do that, just create an SPFieldUserValueCollection and assign it to task item.

    Read on... Posted by: Alec On Thursday, 04 February 2010 - in
    • ASP.NET C#
    • Sharepoint
  • Getting SPUser from SPQuery programmatically

    Blog post about Getting SPUser from SPQuery programmaticallyI needed to get SPUser object from doing a lookup using CAML query, so that I could get the user information such as email address, etc. To do that, this is the code that I used:

    Read on... Posted by: Alec On Wednesday, 03 February 2010 - in
    • ASP.NET C#
    • Sharepoint
  • Debug not working for Sharepoint

    Blog post about Debug not working for SharepointI had the problem of not able to debug Sharepoint in Visual Studio 2008 awhile ago, and glad that Aaron shown me how to do it by doing some tricks. What happened was the PDB file might not have been deployed to the assembly GAC.

    Read on... Posted by: Alec On Tuesday, 02 February 2010 - in
    • ASP.NET C#
    • Sharepoint
  • Restore list form web part for EditForm

    Blog post about Restore list form web part for EditFormYesterday I spent the whole day finding on the Internet about how to restore the list form web part of my edit form as I accidentally deleted it and could never get it back from the Closed web parts, nor could I get it back by resetting the file to site definition in Sharepoint Designer.

    Read on... Posted by: Alec On Wednesday, 20 January 2010 - in
    • Sharepoint
  • Reading and Writing to Lookup Field in Sharepoint

    Blog post about Reading and Writing to Lookup Field in SharepointLookup field is a field which links a child class to a parent class, it is an association kind, which allows a list item to reference another item from another list. However, reading and writing to a lookup field is different from a normal field. We need to use the class SPFieldLookupValue to archieve this.

    Read on... Posted by: Alec On Monday, 18 January 2010 - in
    • ASP.NET C#
    • Sharepoint
  • Setting up a core framework for Sharepoint Webpart

    Blog post about Setting up a core framework for Sharepoint WebpartI was trying to create a web part with WSPBuilder installed on Visual Studio 2008, but had the problem of rendering a user control. Then I came across this blog post, which explains the steps in wrapping usercontrol with WSPBuilder solution. What's even greater is we can setup a structure which seperates the application presentation layer with the WSP project.

    Read on... Posted by: Alec On Wednesday, 13 January 2010 - in
    • ASP.NET C#
    • Sharepoint
    • Tools
  • How to check Sharepoint fieldname with spaces?

    Blog post about How to check Sharepoint fieldname with spaces?One of the thing I hate most about Sharepoint is its naming. It does not tell the administrator what name it's actually storing a column field of, and this could always lead to errors.

    Read on... Posted by: Alec On Wednesday, 13 January 2010 - in
    • Sharepoint
  • Customise Advanced Search box in Sharepoint

    Blog post about Customise Advanced Search box in SharepointRecently I had the chance to customise the advanced search box of Sharepoint server portal, with own fields/ properties and defined a seperate scope for it. It was not hard, but needs some research and practical experiments.

    Read on... Posted by: Alec On Monday, 11 January 2010 - in
    • Sharepoint
  • Integrating Ajax into Sharepoint 2007

    Blog post about Integrating Ajax into Sharepoint 2007Recently, I had the chance to play around with ajaxifying Sharepoint server. As you would have probably known, Ajax is a great feature in .NET 3.5 but MOSS 2007 was shipped before Ajax was out. So, to use it, we just need some configurations done.

    Read on... Posted by: Alec On Tuesday, 05 January 2010 - in
    • ASP.NET C#
    • Sharepoint
  • Customise Column Permissions for Sharepoint List

    Blog post about Customise Column Permissions for Sharepoint ListSharePoint list has permission down to the list level, but what if we need to control view, edit and display for each column? I have been researching on a lot of add-ons around the Internet and luckily found one that works just brilliantly. There's this add-on called SPListDisplaySetting, hosted on CodePlex, which allows you to do that. Strange thing is the first time I installed it, it didn't work as it cooked up my list to not showing the action toolbar and i had to re-install WSS to get it back in shape.

    Read on... Posted by: Alec On Tuesday, 24 November 2009 - in
    • Sharepoint
  • Creating Custom Field Type in Sharepoint List

    Blog post about Creating Custom Field Type in Sharepoint ListSharepoint comes with a great GUI tool that allows administrator to create and manage data structure, that means we could create our own columns and set up the associations, etc. However, the default field types out from the box are limited. The great news is we could create our own field types with own business logic. I just tried to create a custom field type called "Phone Number", which is a standard text field but with Javascript validator that validates the input string to be a valid phone number.

    Read on... Posted by: Alec On Monday, 23 November 2009 - in
    • Sharepoint
  • Tools to get started on Sharepoint Development

    Blog post about Tools to get started on Sharepoint DevelopmentI have been digging into SharePoint for awhile now and it seems to be more and more interesting and challenging, considering I already have experiences with so many different Content Management Systems. Suprisingly, SharePoint seems to work very similar to Helium, so that eased my process of going in and out of Sharepoint.

    Read on... Posted by: Alec On Monday, 23 November 2009 - in
    • Sharepoint
    • Tools

Search

 

Latest Posts

  • Sys.WebForms.PageRequestManagerParserErrorException
  • How Google treats Content Duplication
  • How to create HTML column in Sharepoint List View
  • How Sharepoint stores User Data
  • How to send email via Sharepoint
  • Malaysia Airlines launched iPhone Application: MHMobile
  • Intranet, the next big market
  • How to retrieve and update from a multi choice Checkboxlist ...
  • Auto Complete returns giant list of undefined
  • Integrate Ajax Control Toolkit into Sharepoint

Categories

  • Browsers (1)
  • Projects (1)
  • Web Design (6)
  • Sharepoint (20)
  • Telerik (5)
  • Wordpress (1)
  • Internet (1)
  • SQL (5)
  • LINQ (3)
  • ASP.NET C# (33)
  • JavaScripts (3)
  • IIS (0)
  • Industry (1)
  • Tools (8)
  • SEO (4)

Archives

  • May 2010 (1)
  • April 2010 (3)
  • March 2010 (5)
  • February 2010 (4)
  • January 2010 (11)
  • November 2009 (3)
  • October 2009 (1)
  • September 2009 (9)
  • August 2009 (3)
  • July 2009 (4)
  • June 2009 (1)
  • May 2009 (2)
  • April 2009 (8)
  • March 2009 (6)
  • February 2009 (2)
© Copyright 2009 Alec Tang. All Rights Reserved.
This site is conform to W3C Standard XHTML & CSS