A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Required Field Validator for Form Fields in Edit mode

I’ve been tasked with making some fields such as textboxes in the edit template of a FormView to be required fields. This is for an ASP.NET 4 web app. I am testing the use of ASP.NET RequiredFieldValidators controls for this. This is a simpler task than I thought. The documentation only directly refers to examples that use new entry or insert mode fields. You have to read between the lines to understand that this control can be used in fields that contain values without requiring an edit action from the user. The reason is this control only compares the field’s value to its initial value property which by default is an empty string. In testing I found that as long as the field has a non-empty value it won’t interrupt form submission: as long as this user doesn’t make the field blank, the form fields can be submitted without problems. If there are circumstances where fields are intentionally blanked on use, one can change the initial value property of the control to some other value to trigger a required field entry validation.

One can also combine this control with the Ajax Control Tool Kit controls too. More on this later.

Google: How dependable is it any more

Part of Google’s success until now has come from proving itself to be a reliable institution on the web. today I got a notice from them that causes me to question that reliability. They have suddenly decided to no longer allow new Google apps small business or individual accounts. That is their prerogative but they evidently did this with no prior notice. This really jarred me. The disturbing thing is that this isn’t an isolated event. There seems to be an emerging a pattern where Google is changing and discontinuing several of their services without significant consideration for the impact this will have on the people they serve.

Evidently being a reliable institution doesn’t seem to be a desirable part of their business model. They seem to be becoming just another short term opportunist.

I have come to rely a great deal on Google both as a source of information and for their services. This new business direction is going to cause me to reconsider whether Google is still a reliable provider of these things in the future.

Online Educational Oportunities


Here is what their site says: EdX is a not-for-profit enterprise of its founding partners Harvard University and the Massachusetts Institute of Technology that features learning designed specifically for interactive study via the web. More…


Stanford Center for Professional Development


Their site summary: View online, without charge, webinars and seminars presented by Stanford faculty, industry experts, and senior researchers.


Do you want to join a community of people learning about open web technologies?

Consider signing up for free online peer study groups through Peer-to-Peer University’s  School of Webcraft. Share your discoveries, struggles, and victories with others who are learning the same things.

Little known lessons learned

In Asp.net, the tilde “~” is used to sort out paths to image files and such. However it doesn’t work out side a control. This leads to problems when you put page files in subdirectories and you are using a Master page. The best policy is to leave the aspx file at top level and put images, user controls and such in subdirectories. This way relative path addresses aren’t lost. for example an image file can be images/myimage.png. This will only work if the Image directory is at the same level as the master page and the page calling the master page. If the aspx file is in a subdirectory the path is lost. 

Point of discovery: there are asp.net folders, Asp.Net Web Project Folder structure one of which is an App_ Themes folder where skins, css files and I guess images can be stored. I’ll check this out more as a way to over come the above issue.

Bind as used in Asp.Net controls looks like a function call but isn’t. It is a statement. Here is  a good discussion of that:

how asp.net databinding deals with eval and bind statements 

For our purposes we can call it like a function with one required and one optional parameter. The second parameter can only be a format string which is applied to the data you are binding to. 

Some people like to try using string.format but that is very tricky because string.format wants to use “Bind” as a function and winds up not being recognized. I have had better luck just using bind with a format string. See this example: Forum Label format question

I think a better place to use string.format is in  your server side code. I would write a function that uses it and call the function in your control. Just make sure the return value is public.

some good Links on format strings:

Formatting types: http://msdn.microsoft.com/en-us/library/26etazsy

Custom numeric format strings: http://msdn.microsoft.com/en-us/library/0c899ak8.aspx#SpecifierD

Standard numeric format strings: http://msdn.microsoft.com/en-us/library/dwhawy9k

See this for: msdn String.Format method

Something I just learned about using the Mantis bug tracking system;To use the Change log and roadmap features of MantisBT, you have to set versions in a project.

1. Under the Manage Menu click Manage projects,

2. scroll down to versions,

3. type a version number,

4. click add and edit,

5. and unclick released.

The Change log and roadmap features ONLY work for un-released versions of a project. They also don’t work for projects with NO versions. The File->print preview looks pretty good too. I think this would be very useful for management reporting.

Latest useful links

  1. Question #1
  2. New approach to locating xml with xquery
  3. mysql XML tools
  4. Changes in Infopath
  5. Xforms implementations
  6. intro to markup languages
  7. microsoft-sql-server-what-format-codes-mean-sql-convert
  8. asp.net news
  9. talend webinar archive
  10. talend en_open_studio Webinar For Dummies
  11. code as craft
  12. http://nodejs.org/
  13. v8 javascript engine
  14. wisdom-soft.com autoscreenrecorder
  15. perfect-3-column htm
  16. virtualize sharepoint.com
  17. pragmaticworks.com/
  18. This guide explains everything you need to know about using JavaScript
  19. Setting_up_extension_development_environment
  20. codrops great javascript articles
  21. Question #1
  22. Question #2
  23. Question #3
  24. Question #3
  25. Question #3
  26. Question #3
  27. Question #3


  1. Question #1 

    Answer #1 [Back to the top]

  2. Question #2Answer #2 [Back to the top]
  3. Question #3Answer #3 [Back to the top]

Table of Contents

XML and Xforms

  1. New approach to locating xml with xquery
  2. mysql XML tools
  3. Changes in Infopath
  4. Xforms implementations
  5. intro to markup languages

Workflow Resources

  1. www.cuteflow.org/
  2. www.joget.org/
  3. www.imixs.org/
  4. Workflow on Endpoint TV
  5. List of top open source BPM / workflow solution

DB Integrated Services

  1. SQL Server Integration Services
  2. SSIS Package Tools
  3. Integration Service Samples
  4. Integration Service Tutorials
  1. General Javascript

    1. jqfundamentals.com/
    2. A great Free online book by an interesting person that teaches Javascript and Jquery fundementals

    3. doctohtml.com/affiliate.html
    4. doctohtml converts MS Word documents (DOC, DOCX, RTF, TXT, etc.) to clean compact “web” (X)HTML pages, while retaining all necessary formatting.

    5. http://nodejs.org/
    6. v8 javascript engine
    7. This guide explains everything you need to know about using JavaScript
    8. Setting_up_extension_development_environment – Mozilla
    9. codrops great javascript articles
    10. html5boilerplate.com
  2. Learn Javascript

    1. jsbooks.revolunet.com Several Free and good book on learning javascript and related technologies
    2. github JSbooks source code for the revolunet page
    3. Mozilla Developer Network
    4. pythonbooks.revolunet.com/ Some Python books too.
  3. Javascript Template systems

    1. underscore template documentation at github a utility-belt library for JavaScript that provides a lot of the functional programming support
    2. github sstephenson eco github libary Eco lets you embed CoffeeScript logic in your markup.
    3. github creationix haml-js Haml ported to server-side Javascript. This is a traditional server-side templating language. Tested with node-js
    4. github janl mustache js Minimal templating with {{mustaches}} in JavaScript. I like this one.
    5. explanation-of-script-type-text-template-script How I found this stuff
  4. .NET Javascript

    1. JavaScript-powered behaviors available in the AJAX Control Toolkit In this two-part series, I’ll focus on the input capabilities of ASP.NET 3.5, but most of the information I’ll cover is also applicable to ASP.NET 2.0 with ASP.NET AJAX Extensions installed. I’ll discuss how to enhance ASP.NET input controls using some of the JavaScript-powered behaviors available in the AJAX Control Toolkit, which I’ll refer to here as ACT. This month I’ll cover the basic set of ACT input extensions; next month I’ll delve into more advanced features.

    2. ASP.NET Control Extenders
      ASP.NET Control Extenders are controls that derive from the System.Web.UI.ExtenderControl base class, and which can be used to add additional functionality (usually AJAX or JavaScript support) to existing controls already declared on a page. They enable developers to nicely encapsulate UI behavior, and make it really easy to add richer functionality to an application.
      The ASP.NET AJAX Control Toolkit is a great example of a project that takes advantage of this control extender functionality. It includes more than 40+ free control extenders that you can easily download and use to add AJAX functionality to your applications.

    3. creating a custom AJAX control extender
      This tutorial introduces the basics of creating a custom AJAX control extender. We discuss embedded resources, property decorations (attributes), and client-side Web service calls.
    4. Accessing a file from SQL Server stored procedure or function In this article, we will discuss a sample CLR function that illustrates accessing an external resource such as a file from inside a SQL Server stored procedure or function, .
    5. Introduction to JQuery Learn JQuery from scratch in ASP.NET 4.0
    6. This tutorial will show you how to create and implement an AJAX-enabled WCF Service into an ASP.NET Web page
    7. and I need to insert the data in xml into a table.
  5. Javascript Date stuff


    1. minodisk/dateformat-js Formatting Date to String and parsing String to Date module for Node.js, RequireJS, and browser
    2. stackoverflow.com/questions/3552461/how-to-format-javascript-date how can i format a javascript date object to print as “10-Aug-2010”
    3. getting-started-with-datejs Welcome grasshopper. Let us begin.
    4. groups.google.com/group/datejs
    5. code.google.com/p/datejs
    6. datejs/wiki/APIDocumentation
    7. stackoverflow.com/questions/1056728/formatting-a-date-in-javascript
    8. github.com/minodisk/dateformat-js Formatting Date to String and parsing String to Date module for Node.js, RequireJS, and browser.
    9. webdevelopersnotes.com/tips/html/10_ways_to_format_time_and_date_using_javascript
    10. jacwright.com/projects/javascript/date_format
    11. fisforformat.sourceforge A JavaScript Library that extends JavaScript’s Date object
    12. Where to get it. date.format.js * Accepts a date, a mask, or a date and a mask. Returns a formatted version of the given date.

Some CSS Stuff

  1. image_free_css_tooltip_pointers_a_use_for_polygonal_css
  2. filamentgroup.com welcome to our lab
  3. HTML/slantinfo.html
  4. meyerweb.com/eric/css/edge/slantastic/demo


  1. Java Tutorials
  2. www.javabeginner.com
  3. BLueJ Help
  4. netbeans.org
  5. New to Java Programming Center
  6. Java at Oracle
  7. Java Downloads

data warehousing and reporting

  1. Replication in data warehousing and reporting applications
  2. Replication Publishing Model Overview
  3. Transactional Replication Overview
  4. How Transactional Replication Works
  5. Filtering Published Data


  1. SharePoint Foundation 2010 ResourcesPrinciple resource for this server
  2. The Query schema of Collaborative Application Markup Language (CAML)
  3. Introduction to Collaborative Application Markup Language (CAML)
  4. The View schema of Collaborative Application Markup Language (CAML)
  5. The list schema of Collaborative Application Markup Language (CAML)
  6. The Query schema of Collaborative Application Markup Language (CAML)
  7. CAML HTML-Rendering Elements
  8. CAML Data-Defining Elements
  9. lists the SharePoint Foundation Remote Procedure Call (RPC) protocol methods that are described in this reference.
  10. Microsoft.SharePoint.Client Namespace
    Provides a subset of types and members in the Microsoft.SharePoint namespace for working with a top-level site and its lists or child Web sites.
  11. SP Namespace
    Provides a subset of types and members in the Microsoft.SharePoint namespace for working with a top-level site and its lists or child Web sites.
  12. U2U CAML Query Builder for SharePoint 2007/2010 (Windows Version) CAML (Collaborative Application Markup Language) is an XML-based query language that helps you querying, building and customizing Web sites based on Windows SharePoint Services. The XML elements define various aspects of a WSS site.
    The tool will help you build, test and execute your CAML Queries. Detailed documentation is included in this document. This version of the tool only let you build CAML queries for execution against lists.
  13. Sharepont Online

    1. SharePoint Online Developer Resource Center
    2. SharePoint Online for Office 365: Developer Guide
    3. SharePoint Online Features PricingSharePoint Online lets you create sites to share documents and information with colleagues and customers.

Blue print

  1. http://dkitchen.net/blog/?tag=css
  2. https://github.com/joshuaclayton/blueprint-css/wiki/Tools-and-Resources
  3. http://bluecalc.xily.info/
  4. http://www.problem.se/labs/gridcalc/
  5. http://ianli.com/blueprinter/
  6. http://www.blueprintcss.org/
  7. http://www.groupion.com/jobs

Odd Stuff

  1. microsoft-sql-server-what-format-codes-mean-sql-convert
  2. asp.net news
  3. talend webinar archive
  4. talend en_open_studio Webinar For Dummies
  5. code as craft
  6. wisdom-soft.com autoscreenrecorder
  7. perfect-3-column htm
  8. virtualize sharepoint.com
  9. pragmaticworks.com/
  10. www.colorcombos.com
  11. 5_things_wrecking_your_sex_life

Test of non printing characters using source view

Here are  ​ six non printing characters

a line

Articles About Sharepoint:SPSecurityTrimmedControl

Sharepoint:SPSecurityTrimmedControl is a wrapper control you can use to limit who can see certain sections of a Sharepoint page. My interest is in hiding the Ribbon, The blue bar at the top of most Sharepoint 2010 site pages.

The first article I found was  Hiding the Ribbon for Anonymous Users in a SharePoint 2010 Publishing Site by by matdesmarais

A more in depth article is How to: Hide the Actions Menu in SharePoint. Notes at the bottom of this article refer to Microsoft reference sites that discuss parameters and atributes.

A related article is Real World Branding with SharePoint 2010 Publishing Sites written by Andrew Connell and Randy Drisgill

Future of Phone Apps and Java

A friend sent me this link to some forecasts about IT trends in the coming year. The short of it is that Big IT companies are still short sited: http://www.devx.com/wireless/Article/46231?trk=DXRSS_WEBDEV

New edit change

My friends impression is that “If the larger companies bail on it (developing phone apps), what have we got to lose? It might be a good idea to stick with.”

After I read the article. I had to agree. Oracle seems to be pillaging Java and people are moving to alternatives. For Myself, I think the future of desktop apps is JavaScript or Action-script run-time engines like Air, Mozilla or Webkit. But I really think the future of apps in general, is Ajax web clients talking to web services.

Most big corporations and institutions can’t see beyond 30 or 90 days.   Anything that doesn’t payoff in a short window, they dump. This makes for a lot of opportunities for people with any kind  off vision.

For the article comments about Java, remember most programming is done not for the internet but for big businesses to keep track of themselves. I would say 2/3 of our development where I work, is for internal use. That is where Java has been used, for data driven internal applications and reports that are wrapped in a lot of security. It’s all turning into a big bloated beast. This is what slimmer web service based development will replace.

I think phone apps are the tip of a new floating iceberg of embedded app development for the masses. Maybe is a few years we may look at the whole idea for desktop apps as a quaint reminder of good old days past.
Anyway that is my two cents for now.

Sharepoint blogging assessment 1

As of 2009 the consensus was that SharePoint was a half-baked blogging tool and if you wanted to blog use WordPress. I believe this is one of the reasons SharePoint 2010 included so many changes and why it is not really backward compatible. This means that the SharePoint 2010 as a blogging tool is a different beast from earlier SharePoint blogging tools and is therefore not well-tested or maybe I should say not well assessed in the market. As of now, in any straight across comparison of WordPress and SharePoint blog tools, WordPress is going to win. It is designed and supported as a blogging tool. It has a stronger developer base and larger user base. SharePoint is a multipurpose collaboration suite with blogging as a tangential feature. For basic features such as creating and publishing a post they are very comparable. For simple posting of text to an intranet site, SharePoint seems to work fine. If one wants a sophisticated public presence, WordPress has the features now to allow one to build that presence. SharePoint 2010 is so new that additional tools and add-ons aren’t yet available in a way that compares with WordPress. WordPress however wasn’t designed to work with enterprise connectivity such as Active Directory. It is meant as an outward facing tool. I understand that there maybe add-ons to allow network authentication and authorization. I am not familiar with how well they work. SharePoint on the other hand was designed with network security in mind. This is what I see as the reason to use SharePoint rather than WordPress for intranet information posting.

Droid iPhone bashing

Here is one pundits view of Android.

Motorola maybe pushing a little too hard

Here is one pundits rebuke of Apple
http://www.pcworld.com/article/188696/apple_bans_the_word_android_from_app_store.htmlTechnorati Tags: , , ,