SharePoint Blogs / SharePoint University
SharePoint Blogs and SharePoint University - all in one place!
Need SharePoint Training? Attend a SharePoint Bootcamp!

Please delete cookies related to sharepointblogs.com and sharepointu.com to resolve login issues!

kwanl's blog

  • Datagrid not retaining viewstate on postback

    I haven't done much DataGrid programming in the past but it's used quite a bit at my new job. I thought I was pretty proficient at ASP.Net 1.1 but I was having some trouble getting the DataGrid viewstate to work. The problem was when you have...
    Published 05-24-2007 12:58 PM by kwanl
  • Writing a Rendering Extension for Reporting Services 2005

    One glaring omission from the out-of-the-box SSRS 2005 output formats is plain text ASCII. I know there is a CSV option available but CSV is primarily used for data-interchange. My goal was to create a custom rendering extension to output reporting services...
    Published 05-03-2007 12:51 PM by kwanl
  • Web Part Maintenance Page

    An old tip that's still very useful. When you have a web part that's causing you problems and you can't even get to the web part page try using the Web Part Maintenance Page . To access the Web Part Maintenance Page you just suffix your web...
    Published 04-09-2007 2:02 PM by kwanl
  • Changes to the SSRS web services with Integrated Mode

    When you configure your Report Server to use Integrated Mode there will be some changes in the web services. There is a new SOAP endpoint, ReportService2006.asmx , that replaces ReportService2005.asmx . In integrated mode all calls to ReportService2005...
    Published 03-28-2007 4:42 PM by kwanl
  • ASP.Net v1.1 and v2.0 side by side

    You can have ASP.Net web applications running different versions of the .Net framework running in IIS. The restriction is that a single process can not load both v1.1 and v2.0, that is, within an application pool all the web applications must use the...
    Published 03-22-2007 1:14 AM by kwanl
  • Detecting design mode with JavaScript

    There are times when you want your Javascript to have different behaviour depending on which mode the page is in. For example, in design mode, you may want to turn off some functionality or create a "preview" feature where some visual cues are...
    Published 03-08-2007 2:18 PM by kwanl
  • Adjusting IFrame to fit content

    On a recent project, we wanted to display content from another server in an IFrame. However, we wanted the content to seem "seamless" and not have any vertical scrollbars appear. I managed to get some Javascript to get the job done in a simple...
    Published 03-08-2007 1:44 PM by kwanl
  • Using document.domain breaks SharePoint's menus

    If you have some script in your web part page that sets the document.domain to a parent domain you will find that the SharePoint menus (Modify Shared Page, web part menus) inexplicably stop working. I thought you may be able to get it to work by resetting...
    Published 02-09-2007 5:41 PM by kwanl
  • Double-hop: ASP.Net developers beware

    I've been doing web development on ASP.Net for some time now (3 years) and have only really recently run into this issue of a "double-hop". A double-hop occurs when you are using Windows Integrated Authentication and make a call that needs...
    Published 01-23-2007 4:31 PM by kwanl
  • FormDigest Extender

    Recently, I have been working on a SharePoint-based web app that uses some Ajax to reduce the number of postbacks. Because it might be a long time before the user triggers another postback the page's security validation can potentially timeout; giving...
    Published 08-31-2006 8:48 PM by kwanl
  • Using custom web part properties with WPSC

    Web Part Page Services Component (WPSC) is a feature of SharePoint that lets you interact with your web parts through client-side script. While working on a recent web part, I wanted to access the a custom property using WPSC but was getting errors when...
    Published 07-27-2006 5:25 PM by kwanl
  • Don't trust SharePoint error messages

    Recently we've been trying to automate the provisioning of web part pages that require many customized web parts. Because of design issues we decided to do this from a ASPX page in the _layouts folder. Things we going smoothly until we started getting...
    Published 07-06-2006 6:20 PM by kwanl
  • Automating the "Checklist for Testing SharePoint Web Parts"

    Recently, I've been trying out unit-testing and have seen the benefits. It's addictive pressing that "Run" button and seeing all your tests pass. Not to mention that seeing your tests fail is a great motivator! So with automated testing...
    Published 06-05-2006 1:28 PM by kwanl
  • WPSC and default custom properties values

    I was recently working on a web part that uses the Web Part Page Services Component ( WPSC ) and JavaScript to save updated custom property values when I ran into a rather annoying error. I had done everything correctly in defining my custom property...
    Published 06-05-2006 1:15 PM by kwanl
  • It's never the users fault

    I just remembered this quote from an recruitment info session put on by Microsoft. And I think the speaker was right on the money. It's the application developers' job to make sure ther's way for the user to screw up. There should be no such...
    Published 02-13-2005 4:17 PM by kwanl
Need SharePoint Training? Attend a SharePoint Bootcamp!
Posts (c) their respective authors. Everything else (c) 2009 SharePoint Experts, Inc.