Geeks With Blogs


Name: Guilherme Cardoso
Age: 19
Country: Portugal

Guilherme Cardoso, Blog EN .NET geek May 2010 Entries
AJAX Control Toolkit - Incompatibility with HTMLEditor and UpdatePanel
Unfortunately HTMLEditor component of AJAX Control Toolkit is not compatible with the UpdatePanel. The problem is when we use accents with the Mozilla Firefox browser and HTMLEditor is inside an UpdatePanel. Letters that contain accents are left with an unknown character (so is stored in the database or even returned a PostBack). Can be tested using Mozilla Firefox on the site of the ASP.NET AJAX Control Toolkit. Write a word with accents and go to "Submit Content": ......

Posted On Tuesday, May 25, 2010 4:09 AM

C # - a variable using the Encrypt md5
When we are dealing with more sensitive data and important as a keyword, it is not appropriate at all stores them in database without encrypting for security reasons. For this we use MD5 MD5 is an algorithm that allow us to encript an string, but doesn't leave us desencrypt it (not sure if it is already possible, but at least I know there are many databases already having a record). The method below will return us a variable encrypted with md5. For example: md5_encriptar ( "); The result ......

Posted On Tuesday, May 25, 2010 4:06 AM

AJAX Control Toolkit - Globalization (Language)
For those who use AjaxToolKit controls presenting a language-dependent data (the CalendarExternder with the names of the months and weeks, for example) you can change the language to be presented in a simple way. In Web.Config let's define the primary culture as follows: < system . web > <System. Web> < globalization uiCulture = "pt-pt" culture = "pt-pt" /> <Globalization UICulture = "en-us" culture = "en-us" /> ... ... In this example I'm using Portuguese. To finish it is ......

Posted On Tuesday, May 25, 2010 4:03 AM

ASP.NET Chart Control - During a PostBack
To use the Chart control from a PostBack is necessary to modify the ChartImg.axd HttpHandler, otherwise we'll get the error message: Error executing child request for ChartImg.axd In Web.Config search the line: <add path = "ChartImg.axd" verb = "GET,HEAD" type = "System.Web.UI.DataVisualiz... System.Web.DataVisualization, Version=, Culture=neutral, PublicKeyToken=31bf3856ad36... <Add path = "ChartImg.axd" verb = "GET, HEAD" type = "System.Web.UI.DataVisualiz... ......

Posted On Tuesday, May 25, 2010 3:54 AM

AJAX Control Toolkit- ModalPopup conflicts with the current stable version
For those who are using the current stable version of AjaxToolKit (40 412) will face an annoying problem. The ModalPopup cannot be used together with an UpdatePanel and one textbox. This is because during the postback, the value of the textbox will be changed and added a comma. That is, if we use a ModalPopup to have a form and then we add a database, the value "Antonio" in the text box will be entered as "Antonio." I've been researching a bit and this bug is even launching this version. To counter ......

Posted On Thursday, May 13, 2010 1:43 AM

Copyright © Guilherme Cardoso | Powered by: