You are hereMonthly archive / March 2010
March 2010
Ext.Net - Simultaneous AutoHide/Close support for Notifications
As before, I deeply appreciated the Ext.Net (also known as Coolite) extensions over the core ExtJs (both server-side and client-side), and how well they integrated with ExtJs, making them look-like part of core ExtJs itself. And this time, it was the turn of the Ext.Net's Notification class to get me to make such a statement.
Coolite - Ensuring appropriate inclusion of script files for Custom Controls
Working on a custom Window control derived from Coolite Window control, I wanted to ensure that my script file for the custom Window gets included at an appropriate place in the page header before the ClientInitScript for my custom control.
DotNetNuke - Getting files in native DNN folders during installation
I use DotNetNuke extensively for building Enterprise applications for my clients (you might be interested in checking out iClinic, or iMLM etc.). DNN together with ASP.NET & Sql Server put forward extreme power and flexibility in your hands as a Solution Architect, together with great off-the-shelf features, a perfect platform to build upon.
ExtJs - Copy GridPanel content to Clipboard
Continuing on my previous two blog posts regarding copying content to clipboard in javascript, and embedding a Flash movie in ExtJs toolbar, I present here an approach to copy content in an ExtJs GridPanel to system clipboard in various formats.
Flash movie in ExtJs toolbar
I recently had a situation, where I needed to embed a Flash movie inside the bottom toolbar of an ExtJs GridPanel.
Initially I added a Panel inside the items of the toolbar, which did not work. Then, I used a regular label, whose html was set to the <object> tag used for embedding a Flash movie onto a web page. You can see the results below:
Here's the code snippet that produces the bottom bar in the GridPanel above:
Cross-Browser approach to Copy content to Clipboard with javascript
Before anything else, here is a sample demonstration of what I am discussing in this blog post. Enter some text in the textbox, and click the Flash's Copy icon below. You should have the text on your system clipboard. The .swf file for the same is attached with the post. Feel free to use it anywhere you like.
Drupal Voting API - Deleting votes for multiple content-ids together
While working on the next release of my open-source Drupal module Reference Links, I needed to delete all votes for links attached to a node when the node itself was being deleted. Here, remember the votes were stored for the links attached to the nodes (and not the nodes themselves).
Specifying Run time Connection parameters for Crystal Reports using Pull Model
I was having considerable problem figuring out a way to specify the connection parameters for my Crystal Reports at runtime that used the Pull model for stuffing data. The problem was that I needed to use a different runtime connection than what was configured for the report at design time. And everytime I did so, the report threw up the form asking the user to fill in the connection parameters (I was using ASP.NET web-based reports but the approach below works on desktop also). Needless to say, this was utterly unprofessional.
An Ajax Toolbar for ASP.NET Crystal Reports
I blogged yesterday here, regarding fetching the total Number Of Pages in an ASP.NET web-based Crystal Report in the code-behind. My original motive for doing that was replacing the default Crystal Toolbar with a custom one.
Drupal CSS incompatibility with ExtJs
I faced this the first time, when I was working on the File Browser add-on for the 2.x branch of my Take Control module for Drupal. Drupal's core CSS is significantly incompatible with the ExtJs' CSS, and considerably disorients the layout of widgets like MessageBox, Toolbars, or even GridPanel.
Get Number of Pages in an ASP.NET crystal Report
This is the first of a couple of blog entires I am writing for web-based ASP.NET Crystal Reports. Both of these blog entires concentrate on having more control over the actual Report Generation to be able to replace the default Crystal Report toolbar, with a custom one, that integrates better with the overall design of your web application.
Ext.Net - Button's OnClientClick and Handler properties
We all love Ext.Net, isn't it? Well, ExtJs brought the power of Desktop controls to web on the client-side, and Ext.Net (also known as Coolite) extended that power to the server-side with its server-side wrapper controls to the client-side ExtJs controls.
However, one thing that I particularly dislike about Ext.Net controls is the deep nesting of controls and inner properties in markup, which often takes the markup way far towards the right of the editor screen when properly indented, making it unreadable at times.
Ext.Net - Creating command columns for GridPanel on client-side
All of us using Ext.Net (also known as Coolite) must have used the <ext:CommandColumn> in the GridPanel's Columns collection, which allows us to have clickable buttons (called GridCommands in Ext.Net) inside the columns of a GridPanel, though which we can allow operations on individual rows of the grid. A cool feature one should agree!!






