SharePoint Modal Dialog Popup, Return Values

Tuesday, 13 September 2011 08:22 by tariq

Whilst working out a problem with how to return values from a SharePoint Modal Dialog I found an interesting link to a page in the his book online explaining the works.

Firstly here is how values are returned from a SPModalDialog to its calling page

http://www.learningsharepoint.com/2010/07/22/programming-with-dialog-in-sharepoint-2010/

and here is the page with stuff on the javascript functions within the popup frame

link

You can find the book here

Tags:   ,
Categories:   sharepoint
Actions:   E-mail | Permalink | Comments (78) | Comment RSSRSS comment feed

Editing Field/Schema Display patterns

Thursday, 18 August 2011 14:02 by tariq

Here are some usefull resources on how to change the way your field is rendered in SharePoint 2010 Lists

1. SharePoint uses XSLT to render the views in SPS 2010. Here is a sample on how to customize the rendering of a field

http://msdn.microsoft.com/en-us/library/ff606773.aspx

 

2. The <xsl:template … element requires a mode attribute. Here is how to find the mode attribute for your field type

http://www.silver-it.com/node/66

Tags:   , , ,
Categories:   sharepoint
Actions:   E-mail | Permalink | Comments (25) | Comment RSSRSS comment feed

SharePoint SPBasePermission Decimal Values

Wednesday, 17 August 2011 09:30 by tariq

I have been hunting around the web for the decimal representation of the SPBasePermission enum values on more than one occasion for permissions stuff. Usually finding a good resource surf up on Google et al is a bit tough.

So I am bookmarking James’s blog post on it

http://www.jamestsai.net/Blog/post/Understand-SharePoint-Permissions-Part-1-SPBasePermissions-in-Hex2c-Decimal-and-Binary-The-Basics.aspx

ILSpy Long Live Thee

Monday, 11 July 2011 17:34 by tariq

Allright, I let you know I am pissed at the way things turned out with .NET Reflector (no link love for it either)

So from its ashes rises ILSpy for the guys at SharpDevelop, and its open-source

Guys Keep up the hard work, we love you for picking up after Reflector

Here’s the link, go get it.

Tags:  
Categories:   .NET
Actions:   E-mail | Permalink | Comments (97) | Comment RSSRSS comment feed

MOSS–Weird Ajax Issue

Monday, 25 April 2011 08:13 by tariq

Thought I should bring this to attention since it’s a weird issue and the solution isn’t obvious when googling.

The issue is - In MOSS an Ajax-Partial postback, causes the page to loose its page title. Like shown below

So whats the fix?

Appaprently additional spaces between the <title> and the <asp:ContentPlaceHolder> cause this issue.

The solution is to remove the spaces.

<title id=”onetidTitle”><asp:ContentPlaceHolder id=”PlaceHolderPageTitle” runat=”server”/></title>

Original Source: http://www.directsharepoint.com/2011/04/page-title-disappears-after-ajax-post.html

Tags:   , ,
Categories:   sharepoint
Actions:   E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Minimal Master Page Ajax Issue

Friday, 8 April 2011 11:55 by tariq

Hi All, just wanted to point out a teensy weensy but maybe very useful tip. It might be outdated information if you are using SharePoint 2010, but if you are using SharePoint 2007 then you might find this useful.

I am sure all of you working with SharePoint has come across Heather Solomon through her blog, it being a really wonderful resource for skinning SharePoint. Heather also has provided a ton of help to the SharePoint community by sharing the minimal masterpages for WSS and MOSS.

What I wanted to point out is that if you are suffering from AJAX controls not working propperly on the above mentioned master pages you might want to change

 

<WebPartPages:SPWebPartManager runat="server"/>
    <form runat="server" onsubmit="return _spFormOnSubmitWrapper();">

to

<form runat="server" onsubmit="return _spFormOnSubmitWrapper();">

<WebPartPages:SPWebPartManager runat="server"/>

Tags:   , ,
Categories:   sharepoint
Actions:   E-mail | Permalink | Comments (33) | Comment RSSRSS comment feed

Gmail Motion–It really works–You just need a Kinect and some Custom Software

Sunday, 3 April 2011 16:40 by tariq

Some of you have probably already seen Google’s April 1st announcement of their technology to use “Motion Sensing” to control Gmail.

I betcha Google probably didn’t think of Kinect when making that spoof or perhaps they did which is why it sound plausible in a remote way.

Anyways the FAST crew have responded to the spoof with demoing their Software doing just that. i.e. having motion control for Gmail using a Kinect and custom software.

 

Actually this seems very feasible if you could get an intermediary software layer to function as a keyboard by recognizing Kinect Gestures, controlling Gmail is a matter of mapping keyboard shortcuts to gestures. At least that is how I think this works.

 

Link - http://www.engadget.com/2011/04/02/gmail-motion-april-fools-gag-inevitably-turned-into-reality-usi/

Tags:   , , , ,
Categories:   Tech
Actions:   E-mail | Permalink | Comments (40) | Comment RSSRSS comment feed