There is it. I guess this post should be the N post on MXNA on the same topic..well, but I guess everyone is excited??
Its HERE!
http://www.adobe.com/products/flex/
I am using DataList for my website to display a set of users and for each item, it will have a set of links which the audience can click on. However, if the audience had signed in and is viewing his own profile, I must hide away the set of links (for example, it make no sense for a user to send a PM to himself)
Therefore I used Page.User.Identity.Name to check. For the ItemTemplate, its simply:
Visible=<%# Eval("name").ToString().Equals(Page.User.Identity.Name) %>
This works well for IE and Firefox, but 1-2 users are telling me that they actually see the command!
A quick trial-and-error solve the problem. Changed code to:
Visible=<%# Eval("name").ToString().Equals(Page.User.Identity.Name, StringComparison.CurrentCultureIgnoreCase) %>
Thus, for developers using User.Identity.Name, this maybe something to consider for.
"Hey, why is your form all yellow?"
I was wondering what happen when more than one person tells me that. A problem in my CSS? Well, its Google Toolbar. After acting like a fool and setting my form's autocomplete tag to false, Justin provides me with this link for the solution:
http://code.jenseng.com/google/
How it works is to use javascript to change the colors BACK to the color you specify. It works pretty gracifully, so anyone facing the same problem and tell the users : "your toolbar , don't blame my website". Haha.
Luckily I am using Master pages. Such thing always happens and with Master pages, 1 change to change them all. I love Asp.net , lol.