|
|
-
|
|
Microsoft has had the tagline of "Your potential our passion" for quite some time and it was quite good, As spotted by 'Long Zheng', Microsoft has now filed a trademark to protect the new tagline. It's all about agility, anticipation, innovation, and th......
|
|
-
|
|
Yesterday I had a requirement of finding whether the http request came from a Mobile Device or not. Its very simple in ASP.NET.
By using "Request.Browser.IsMobileDevice" propety, we can find whether the request came from mobile device or not.
[co......
|
|
-
|
|
I have seen & worked on datagrids in winform applications as well webform applications (ASP Dot Net) but, while watching training video for WPF i found a very good feature for WPF Datagrid that is multisort.
Generally when we click on a column, it so......
|
|
-
|
|
Now AjaxControlToolkit includes ToolkitScriptManager also along with ScriptManager. Both these controls differ in the way they render JavaScript files for the client side, ToolkitScriptManager uses a technique called Script Combining to download the scr......
|
|
-
|
|
In MVC, These 3 objects works are like properties, and can be used to share data between view and controller. Basic use of these objects is to communicate between view and controller. using this you can get or set chuck amount of data.
In Controller......
|
|
-
|
|
ControlState is one of the state management techniques used in ASP.NET. It will have the essential properties information about the controls, which will be useful to process events. Both controlstate and viewstate will use same hidden field to store inf......
|
|
-
|
|
Visual studio 2011 developer preview introduce new features like we can now find duplicate code in solution it is very useful for code reducing.
First select line of code you have doubt about multiple place use then right click and select “Find Match......
|
|
-
|
|
Today I just learned how to share same configuration file between multiple projects, There are two projects and I need to use same configuration file in both projects. Below code will do the same.
[code]
ExeConfigurationFileMap efm = new ExeConfigur......
|
|
-
|
|
In C#, we know that all reference types will be allocated in heap. It will maintain separate heaps for small objects and large objects. If the object size is more than 85000bytes, then CLR will allocate the object in large object heap. Otherwise, it wil......
|
|
-
|
|
Today I just learned from Rick strahl Blog we can get IIS Version using Server variable like
[code]
if (HttpContext.Current != null && HttpContext.Current.Request != null)
{
string osversion = HttpContext.Current.Req......
|
|