Thursday, 11 November 2010
HTC Wildfire
I am thinking of extending this blog to Android development as I have recently started to get into this and I think it's pretty cool.
I'm currently working on my first App, will post details up when I'm done.
HTC Wildfire Android Apps
Thursday, 5 November 2009
Sharepoint Unknown error
Locate the CustomError element and change the attribute value:
From: mode="on"
To: mode="off"
Locate the SafeMode element:
Change the attribute on the Safemode element from
CallStack="false" to CallStack="true"
Tuesday, 25 August 2009
Friday, 14 August 2009
Modifying Web config entries using code
A good place to start would be to look at the SPWebConfigModification class.
The documentation around how to use this is hard to come by, but there is an excellent article here.
Thursday, 13 August 2009
Sharepoint Setting Cookies
To Set Cookies you must do the following:
cookie = new HttpCookie(“MyCookie”);
cookie.Values["textSize"] = value;
cookie.Expires = DateTime.Now.AddDays(30);
HttpContext.Current.Response.Cookies.Add(cookie);
It’s the HttpContext bit which makes it persist!
Friday, 31 July 2009
Hosting InfoPath forms inside XmlFormView
First add:
<SafeControl Assembly="Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.InfoPath.Server.Controls" TypeName="*" Safe="True" />
To the safe controls of the web.config.
Then go to the sites Gallery, appending the link : _layouts/NewDwp.aspx
Find “Microsoft.Office.InfoPath.Server.Controls.XmlFormView”
And add it to the gallery.