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
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
By default, Report Viewer control displays a default date picker for all the date parameters in parameter section. It creates a hidden iframe for each date picker and a calendar image(input type=’image’) is added next to each date input parameter which act as a trigger for the date picker.
In Chrome browser, Report Viewer (8 & 9) toolbar elements are displayed in multiple rows as shown below.
“Reference” comment in the JS file allows you to see JScript functions and objects from any external file whether it could be an another JS file or a web page or a web service or even an embedded resource.
The common usage is
///<reference path=”path of webservice or jsfile or webpage” />
///<reference name=”resource-name” assembly=”assembly-name” />
To reference Ajax library
/// <reference name="MicrosoftAjax.js"/>