Wasay.Net

dotnetnuke - Release: 05.04.04

If you are upgrading to dotnetnuke - Release: 05.04.04 and using the "upgrade" zip file than make sure to get the latest 2010 "Telerik.Web.UI".

If you are not sure from where than just download the zip of "Install".

Yes, it's a one extra step to download the "Install" zip file, but it will save you lot of grief as there aren't many post that helps you, in understanding that the dll version and the web.config version do not match.

This same issue happens on other dlls when you are upgrading by skipping two or more minor levels.

Just keep an eye out for dll version numbers and dates.
http://blog.wasay.net

28 July, 23.47

Completed the implementation of clients "Contact Form" translation given to me, to Spanish and German Languague

Last week on Thursday I naively assumed in a client meeting that, a single page translation of a "Contact Form" to Spanish and German, will not be a big deal and I promised a deadline of next Friday, only to realize now that I should have evaluate the entire contact form and the requirements more.


What I didn't pictured into the quote and the time it will take to finish the job was, that the bottlenecks that I will face could resulted into more research and required more time, but thankfully the geekhood (a.k.a brotherhood) of programmer's who share and post there questions and solutions on forums and blogs, gave me enough bits and pieces to resolve the issues again and again until I was able to deliver on my promise of implementing the translations given to me by the client.

The wrong assumption happened when I was told, here is the English text and here are two Microsoft word files having translation of each text in Spanish and German and all I have to do is display the text based on users choice of language. It was simple or suppose to be :(

Any way life is a... hmmm lets just keep it clean :)

I feel good that I was able to accomplish the requirements as they were implemented for the first time by me. Hopefully in the future I will give myself more time to review/think on the task's that I will be quoting the time for the first-time.

The solution was implemented as independent Asp.Net page within the CMS solution of DotNetNuke without changing any of the web.config or globalization file settings.
http://blog.wasay.net

23 July, 17.48

Localize just a contact page with resx files - Language and Internationalization - DotNetNuke

Localize just a contact page with resx files - Language and Internationalization - DotNetNuke


Today I was able to resolve a issue regarding localization that I had to figure out because of client requirements.

The issue was conflict between DotNetNuke Localization and ASP.Net localization. The requirement was for just one page content localization and one page alone for which I didn't wanted to create a entire module in dotnetnuke or mess up the web.config file's localization settings.

After hard battle with countless tries and retries of examples by many dev's, I finally able to crack it.

The solution came to just using the ResolveURL function and placing the localized files in App_LocalResources. It was so simple but it gave me so much headache.

***************************************
Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit

Dim lang As System.Globalization.CultureInfo
Dim langSetDefault As Boolean

langSetDefault = False

'Add query string logic
Dim qsLang As String
qsLang = Request.QueryString("lang")
If (Len(qsLang) > 0) Then
If (qsLang = "spanish") Then
lang = New System.Globalization.CultureInfo("es-ES")
ElseIf (qsLang = "german") Then
lang = New System.Globalization.CultureInfo("de-DE")
ElseIf (qsLang = "dutch") Then
lang = New System.Globalization.CultureInfo("nl-BE")
Else
langSetDefault = True
End If
Else
langSetDefault = True
End If

If (langSetDefault = True) Then
lang = New System.Globalization.CultureInfo("en-US")
End If

System.Threading.Thread.CurrentThread.CurrentCulture = lang
System.Threading.Thread.CurrentThread.CurrentUICulture = lang

End Sub
Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)

lblAboutYourself.Text = Localization.GetString("lblAboutYourself.Text", ResolveUrl("~/App_LocalResources/ContactForm"))
lblFirstName.Text = Localization.GetString("lblFirstName.Text", ResolveUrl("~/App_LocalResources/ContactForm"))

End Sub 'Page_Load
With link href "?lang=english" "?lang=spanish"....
***************************************
I feel like I have accomplished something big even though it was so simple. Well when a deadline comes closer and you can't figure out a simple issue, heads starts to head up, literally lolz

Any way
enjoy
Wasay
http://blog.wasay.net

20 July, 22.50

Richard Rudd, Paralyzed, Blinks to Doctors Not to Pull Plug - ABC News

Richard Rudd, Paralyzed, Blinks to Doctors Not to Pull Plug - ABC News


Life and death... what is and is not, we think we know what is the best interest but in reality it may not be the case...

I wonder how the parents and family must be feeling after what they thought would have been the same decision by there son, but it is not the real decision the son wanted even in a paralyzed state...


http://blog.wasay.net

15 July, 20.04

Rent a White Guy - Magazine - The Atlantic

Rent a White Guy - Magazine - The Atlantic


funny and sad article... reality that bites :(

http://blog.wasay.net

25 June, 21.37

Lakers violence: Authorities release raw video of mob attacking cab, seek public's help [Updated] | L.A. NOW | Los Angeles Times

Lakers violence: Authorities release raw video of mob attacking cab, seek public's help [Updated] | L.A. NOW | Los Angeles Times


Mob mentality is as old as humanity itself and this was a sad sad event, a low income taxi driver was caught up in the middle.

Most likely the driver would lose favor from the cab company over total lose of the car, which may or may not be reimbursed by the insurance company.

This shows what unknown, unrelated people can do when they gather collectively by chance or by choice on random places.

Recently Pennsylvania has experienced the similar fate by twitter and facebook and this game night menace is repeated again and again. It is not just an issue for national sports but also at college levels... why hasn't there been a better solution to handle these crowd issues???
http://blog.wasay.net

23 June, 17.40

Crazy Money: Meade 14" LX200-ACF

Meade Instruments Corporation - Meade 14" LX200-ACF (f/10) Advanced Coma-Free w/UHTC #1410-60-03


Darn telescope $6,999.00 :o, after looking over many telescopes for fun viewing for months, now it seems the one I like to purchase is the one i cannot afford (unless I win it in sweepstakes)

Last week I was so much into building a telescope from scratch that I almost thought about buying the concave mirrors and other items mentioned by some of the astronomy groups from amazon or best-buy and even went to best-buy and one more store "magnifiers and glass" only to realize this store is for senior citizen's eye glass lol.

Sadly the excitement to build quickly died out when I purchased a Emerson 50x100mm telescope for $7.99 with additional coupon of 5 dollars on 25 dollars purchase from cvs... in reality the telescope might have ended up under 4 dollars.

It's a good deal from what I was going to build by purchasing mirror's, tubes, duct tape and what not and it is sad because the darn 7.99 deal killed my dream to experience the joy of building a telescope, after watching so many YouTube videos on how to build a telescope.

From the telescope I purchase, i didn't really see much and I am feeling good now that, the one I was going to build would have turned up similar or most likely worse, so all in all the cvs deal may have saved me the migraines, money and lot of cursing lolz, but now the other issue is I am drooling over the most freakishly expensive telescopes out there...

If only if my prescription glass could have been auto convertible to telescope, life would be easier :)

http://blog.wasay.net

23 June, 00.31

Bulldog Ant - The Stinging Fury

Seriously, how can a ant kill a bee :O darn Nature!

http://blog.wasay.net

18 June, 22.10

LinkedIn communications at center of unprecedented lawsuit - Computerworld

LinkedIn communications at center of unprecedented lawsuit - Computerworld


When you leave the company make sure you un-friend your new ex-coworkers from LinkedIn lolz

I don't think this lawsuit make's sense but when business/money is concerned, I don't think commonsense will prevail :(

I agree with the article author that this case might in turn have the far reaching effect on "non-compete and non-solicitation" agreements.
http://blog.wasay.net

16 June, 16.13

A passion for learning results in a school for India's poorest children - CSMonitor.com

A passion for learning results in a school for India's poorest children - CSMonitor.com


Babar Ali, just a teenager himself, has started a free school in his parents' backyard for the poorest children in his village in India's West Bengal region.

Check out the details on this project and help out!

http://deenabandhu.org/news.html
http://blog.wasay.net

15 June, 21.29