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
Blog on .Net, JavaScript, Web, Mobile, Integration, Cloud, IOT, Data Science, E-Health, Blockchain technologies.
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
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.
A workaround for this issue is to add a custom attribute and some code change in the unobtrusive JavaScript library. 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.
How to download a file with events as like that of Ajax Upload. Its impossible to attach an event before and after a download through javascript. Browser doesn’t allow this type of events for security reasons. Usually a file can be downloaded simply clicking on <A> link pointing to the URL and browser prompts a save dialog to the user.
A file download sometimes may take several minutes, there is no way to display a progress message (ex: downloading.. please wait) to the user like that of Ajax loading (once save dialog displayed , it should be hidden). Read more