Regex Time, Part 3

Dec 08, 2009

How to retrieve a six (6) or ten (10) fixed-length digits string?

read all »

SharePoint, Execution Context & Security

Nov 19, 2009

(I have originally published this article on the Orckestra’s Dot Net For Thougts Blog)

At least once in his career, a SharePoint developer is going to be faced with a security problem.

When a user executes an action in SharePoint, i.e. modifies an item in a list, the request on the server executes using the security context of the user. So, if the user does not have the right privileges to accomplish specific actions, the request could fail with a security exception.

A way to overcome this behaviour is to use the RunWithElevatedPrivileges method from the SPUtility class.

read all »

Jaws and <abbr> HTML tag

Nov 11, 2009

Why Jaws does not read the title of an HTML abbreviation instead of only reading the abbreviation itself?
This good question finds its answer in the default configuration of Jaws…

read all »

InfoPath Web based form and Windows SharePoint Services SP1 error

Oct 29, 2009

Today, I ran into a strange error when I was developping a custom InfoPath enabling some cascading dropdown menus (this subject interests you? Take a look at the Cascading Dropdowns in Browser Forms article from the InfoPath Team Blog).

Here is the exception I encountered:

Unexpected end of file while parsing Name has occurred. Line 1, position 708. System.Xml.XmlException: Unexpected end of file while parsing Name has occurred. Line 1, position 708.[...]

After a lot of searches on the Internet, I’d found a very helpful post on the InfoPathDev forums.

To summarise, if the server on which you’re developing is running with Windows SharePoint Services SP1 (Service Pack 1), your InfoPath form must not have a useless secondary Data Connection (declared but not used at all on your form).

Very simple… if you know it!

Regex Time, part 2

Oct 19, 2009

Today, one of my co-worker asked me to write a Regex. I love Regex, so it was a pleasure for me to answer him.

So, my co-worker wanted to know how to retrieve all digits (and only digits: 0 to 9) following a non-digit character and preceding a pipe “|” character ?

read all »

Regex Time, part 1

Oct 10, 2009

How to retrieve any string (of at least one character) except the one character string “/” (slash) with a regular expression?

read all »

How to give the focus with jQuery?

Oct 01, 2009

For the past two years, I have been interesting and working on accessibility issues in all my web development projects. Not because my employer or my clients understand the real importance of offering accessible websites (do they?) but because I believe in an accessible world (and an accessible Internet) for EVERYBODY.

There are lots of articles and resources on the Internet which talk about the theory of the accessibility matter. However, there are not many technical articles which explain how the standards are really implemented or how a web developer has to implement them.

This first article focuses on how to give the… focus on a non-focusable HTML element with jQuery.

It extends (and I hope, completes) the original article written by C. Blouch and published on the Donald F. Evans’s website.

read all »

Main Navigation

I am (not?) a Robot!

Recent Comments

Search

Subscribe and login