Mon, 2009-12-07 14:19 — carlos
since the MediaLink 2.0 b1 crashes for me and I needed and older version to work on my OS X 10.6 - snow leopard ... here it is...
Thu, 2009-08-27 03:41 — carlos
after resetting my iphone and used restore from backup my icons where not showing up after installing them...
the solution is to go to Settings/general/restrictions enable then disable/reboot.
Fri, 2008-03-14 14:53 — carlos
While using AJAX some users would press the [b]backspace [/b]button on their keyboard and the browser would go back so they would loose what they where doing in the ajax refreshed page ..... the [b]SOLUTION [/b](keep reading):
Tue, 2008-02-26 20:53 — carlos
[b]Objetive:[/b]
*Update automatically the revision number in the web.config file of a website in my project.
(I wanted to show the users looking at the remote server the revision they are looking at)
[b]Environment[/b]
* SVN installed in my local (c:\svn)
* Remote Windows Server that updates the trunk every X minutes
* Make sure your web.config has a section like: (inside the configuration branch)
[b]Solutions:[/b]
I created two macros.... one for adding the revision number on demand (selected project and press of a button) and the other one will write it every time the build command is called.
for the macro code click Read more....
Thu, 2008-02-21 19:53 — carlos
[b]Symptoms[/b]:
Default button not does not fire when enter key is pressed using Firefox. (using the ajax ControlToolkit)
[b]Fix[/b]:
add this property to the ASP button
UseSubmitBehavior="False"
So it looks like:
"The problem wasn't that it didn't do a postback. That it did. What it didn't do was hit the server side event (the button click event)."
Mon, 2008-02-11 15:49 — carlos
this will allow names like:
Jon Doe ---- Jørn ---- Mc'Neelan
match names and dis-allow any attempts to send evil characters. In particular, it tries to allow non-english names by allowing unicode characters.
[code]^([ \u00c0-\u01ffa-zA-Z'])+$[/code]
example of use:
ErrorMessage="invalid name" ControlToValidate="txtLName" Display="None" ValidationExpression="^([ \u00c0-\u01ffa-zA-Z'])+$">
Wed, 2008-01-30 16:52 — carlos
this is how to populate a dropdown ASP.net 3.5 control with entity spaces in code behind
c#: (Item is tha name of my entity)
ItemCollection i = new ItemCollection();
i.LoadAll();
this.ddlItemType.DataSource = i;
this.ddlItemType.DataTextField = ItemMetadata.PropertyNames.Description;
this.ddlItemType.DataValueField = ItemMetadata.PropertyNames.ItemTypeID;
this.ddlItemType.DataBind();
if you add this after the databind it will add a list item at index zero (pre-selected)
ListItem li = new ListItem("select one ", "");
this.ddlItemType.Items.Insert(0,li);
Tue, 2008-01-22 19:15 — carlos
to Use PageMethods for Vs 2005 with visual studion 2008
pageMethods website: http://metasapiens.com/PageMethods/
all you need to do is apply this registry entry after installing Page Methods for 2005.
Wed, 2008-01-16 20:17 — carlos
If you need to localize asp pages or custom controls that are located in subfolders you will need multiple App_LocalResources folder.....
So Create a [b]App_LocalResources [/b] folder inside each sub-folder of your webproject where pages are accessed. And put the proper file translations inside of it.
Sat, 2007-03-03 20:14 — carlos
I updated today to mysql5 and php5 .. and I ran into one problem.... the sql server would not start
after installing I was getting:
[code]Starting MySQLCouldn't find MySQL manager or server [FAILED][/code]
.....
1st! how to install mysql5 and php5 with cpanel (with out having cpanel downgrade you automatically)
(read below)