Recently I was working on a portable class library(PCL) example in VS2012 to create a proxy class for an external asmx soap service with return types DataTable and DataSet. The easiest way to create a proxy class to add a service reference. In my case, it failed. The add service reference generated code contains XmlElement and failed to generate response messages with DataTable and DataSet. VS2012 gives a warning for Xml Element. Read more
I love these store apps. The most interesting and promising feature is integration of html, css technologies as well as support for .Net languages like C# etc. Read more
In this post, I’ll explain how to pass a model with dynamic objects to a view.
If you are new to C# 4 features like dynamic objects, ExpandoObject etc I suggest to visit below links to get familliar with the concepts. Read more
In this post, I’ll explain how to post form data without refreshing a page using JQuery ajax and JSON.
Here, I assume a model is used to render form(form elements names same as model properties). Read more
In Sharepoint, SP.UI script namespace provides required methods and classes for showing different types of dialogs.
The following are the list of various dialog methods available under class ModalDialog Read more
Sharepoint 2010 provides a custom tag ScriptLink to register script files in a webpart. This can also be done using simple html script tag but using ScriptLink ensures all the sharepoint script namespaces are available for your custom script.
All the scripts that are to be registered should be placed in Layouts/ProjectName folder of your project. By default, when you create a project Layouts folder will not be added. Read more
JSRender is a jscript template engine very much similar to JQuery templates. It is replacing JQuery templates in the near future and still in beta. The main advantage of any template engine is to reduce the jscript code for rendering dhtml with some data. JSRender can be used with or without using JQuery. Read more
Its nice to have the following features in the next release of ARR/URL rewrite
1) Ability to include complete list of IIS Server Variables. Read more
SSRS Report Viewer control works well in IE6+ but has some known compatibility issues with other major browsers(Firefox, Chrome etc.) around date picker and print button.
For more information read this Read more
When using unobtrusive validation for checkboxes, it does not validate an unchecked checkbox which is marked as required. Its a known issue. By default, all the checkbox required conditions are ignored in unobtrusive validation.