Today I found two posters of Silverlight, given below.
Archive for the ‘Microsoft.Net’ Category
Silverlight – Developer Reference Posters
On Friday, September 05, 2008 - 08:15 in References, SilverlightGoogle like auto complete suggestions
On Wednesday, June 11, 2008 - 01:05 in AJAX, ASP.NET, AutoCompleteExtender, JavaScriptI like Google’s suggest feature and was thinking of using it in any of my project. ASP.NET’s AJAX Control Toolkit have a similar control (AutoCompleteExtender) which provides a basic items to complete this functionality. I searched about its usage, and found many examples, but I was not satisfied with them. They all were populating only a single field using this extender.
I then came up with an idea, why not fill a contacts detail including its name, email address, and phone numbers using just one extender, but without modifying any provided functionality, so that our code be used with newer versions. Below is what it will look after populating that contact form.
Type.GetType()
On Monday, May 26, 2008 - 23:33 in ReflectionBrowsing through ASP.NET Forums, I found an interesting questions raised by a member that when he tried to get type information of a class using Type.GetType it was a charm in C#, but VB did not worked in same manners. He was trying to create new instances of that class at runtime, and populate those instances with data fetched from any database.
I checked its documentation in MSDN, here are its salient points, which should always be thought out before using this.
It accepts only a parameter which must contain an assembly qualified name of required type. This parameter could be only type name (i.e. "Contact") or may include namespace in it (i.e. "Hansvits.Models.Contact").
If parameter has only type name then method will search only in the assembly in which that call was made. If any full/partial assembly name is mentioned then it will load that assembly and search in it.
AJAX: selecting the framework that fits
On Monday, May 14, 2007 - 21:42 in AJAXToday I was just wandering on the net, and found a very good article on AJAX framework selection by Andrew Turner and Chao Wang.
Disabling ASPX Controls on client side
On Friday, February 09, 2007 - 00:34 in ASP.NET, JavaScriptTo enable or disable .Net controls on client side use following scripts.
//To Disable
document.getElementById(element_client_id).setAttribute('disabled','true');
//To Enable
document.getElementById(element_client_id).removeAttribute('disabled');
Nearly all html rendered control would adher to this coding guide, but aspx checkbox has a span element wrapped up on it. To disable checkbox properly add a extra line as below.
document.getElementById(element_client_id).parentElement.removeAttribute('disabled');

