Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Tuesday, 8 September 2009

Hallelujah--I've solved it

For about two years I've been trying to get a small snippet of code written to make navigation at my website simple for users, whilst at the same time, simple for me to update the site. I decided three days ago I was going to solve it once and for all.

I immersed myself in 2000 page programming manuals, did google searches on code snippets, & tried different variations of four lines of code over and over. A few minutes ago I finally came up with a code combination which works!! Yeh!

For those who are pragmatically inclined, I was "simply" trying to add "target" to a sitemap node (For some inexplicable reason Microsoft didn't include target). This is how it's done...
  1. In the page where you have a gridview control add a template column thus:


    Note the [ ] bracket around target in Eval("[target]"). That was the solution to solving this puzzle. The square bracket supplies a key, in this case "target" and retrieves its value, in this case "_blank" or nothing.

  2. And the way to add target to the sitemap node is...
    The objNode.Item("target") = "_blank" is where the "Target" property is added to the standard: ID, title, url, & description properties of Microsoft's sitemap node.
And what does all this do? It allows a page to be opened in a new window using a menu derived from the site's sitemap--it's all about mastering the complex to make life simple for website users.


Sunday, 9 November 2008

Programming

Well I've been working around the clock for the past week developing an online version of AVI's relationship development report. It was needed for a workshop in Dubai conducted by Jim Warner of OnCourse International.

Sprint training suffered as a result, however, I kept up my regular jogging. In fact Stephanie and I managed our longest and best jog (despite a lingering calf muscle strain from the last sprint training session -- the physio was right, you do need to keep the blood flowing through strains to heal them quickly) this year last Monday.

I've also been updating my main website adding links to some videos at the the presentations page.

Saturday, 11 October 2008

Value Descriptors

I was up until midnight last night updating the Value Descriptors in the online database so I decided to skip sprint training which started at 7am this morning. I'll do an 8k jog thisarvo instead.

I've spent the morning re-organizing the Blogs page at www.minessence.net -- time for breakfast!!

Monday, 7 January 2008

Happy New Year

I've finally surfaced from several week's of programming for a breather!

At last, the new web technologies exist to enable me to do what I've wanted to do on the web for years - i.e. score and produce in PDF format, all the existing AVI reports on the web so people can instantly process and print them.

I'll open the bottle of bubbly (Moet) Karynne gave me at the Learning Centre opening, when the full AVI (the Values-Based Leadership Report - all 70 pages) is available on the web.

Friday, 7 December 2007

Back on deck!

I've been programming for the past few weeks - converting all the online AVI reports from HTML pages to PDF documents. I've completed all the individual ones. Now need to do the group versions. Will have a couple of days break from programming first.