Browse by Tags
All Tags »
Tips & Tricks (
RSS)
So IE7 offers tabbed browsing just the same way Firefox had been doing for many years. IE7 is a bit slow, though, but if tabs are all you want from it, you can have very quick and snappy tabs in IE6 when you install Microsoft's Live Toolbar . Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!
MSCRM allows you to disable certain fields on forms to prevent users from editing their values. I often have forms with disabled fields which mostly contain calculated values, done with an AJAX call to a webservice. It is prety easy to implement, and it's especially visually soothing to see the values updating asynchronously as values in enabled fields are changed by the user. It came as a surprise that MSCRM does not persist disabled fields to the database! I can't think of any reason the...
I get asked how to do this many times; here are two quick methods to serialize as well as deserialize objects in .NET: private static string SerializeObject( object o) { StringWriter sw = new StringWriter (); new XmlSerializer (o.GetType()).Serialize(sw, o); return sw.ToString(); } private static T DeserializeObject<T>( string xml) { return (T) new XmlSerializer ( typeof (T)).Deserialize( new MemoryStream ( Convert .FromBase64String(xml))); } Share this post: email it! | bookmark it! | digg...