Installing PyGraphviz on Windows
Django Extensions provides a bunch of management commands for the Django Framework. One of the most handy is the graph_models command. This command creates a visual representation of the Django models existing in the database.
Read the rest of this entry »
Convert python object to XML representation
The application I was working on used a Flash slide show. The configuration on the slide show was done from a xml file. The task was to make this configuration manageable from the Django admin.
Liferay Portlet Development
Liferay is a very popular open source social network script that has been programmed in Java and as a result has become a favourite amongst cost conscious Enterprises who are looking to deploy intranet and collaboration solutions.
Read the rest of this entry »
Norway Road Show 2011 private meeting invitation
Norway Road Show 2011 private meeting invitation (PDF)
Mobile Solutions, Portals, Expert Systems, Software Consulting and Development
Between 12 and 16 September 2011 Ropardo S.R.L is in organized roadshow in Norway where we are looking to meet IT companies – Software house (ISV), Application providers, System integrators that are interested to outsource development and consulting / service maintenance (ITIL).
We are also looking for new opportunities to distribute our own solutions (please visit ropardo.ro) on Norway market.
Ropardo is actively promoting software engineering services using different technologies – Microsoft (.NET, SharePoint), Java (web/client/application servers) and Mobile Apps. (iOS –iPhone/iPad, Android and Windows Phone) all using on our Quality assurance services.
Read the rest of this entry »
Oracle OpenWorld 2011
October 2-6, Moscone Center, San Francisco.
“Oracle OpenWorld is the most cost-effective and efficient way to stay ahead of the technology curve.”
Why not believe it? When tens of thousands of people attend, you have thousands of sessions to choose from, you can enjoy membership in a global community of Oracle technologists, customers and partners – in the halls and on the street.
Here are some of the things you’ll hear, learn or see:
How to create a SQL Server Agent Job (Transact-SQL) – with only needed fields
In this post you will see two major sections:
I. Detailed description for every needed field in system stored procedures.
II. Full working example related to above description. Here you need only to replace the names if the default configuration is suitable.
Multiple select ComboBox in RadGrid filter
There are many examples of how you could use a ComboBox as a RadGrid filter but if you would like to use check boxes inside that ComboBox you’ve got your work cut out for you. This article is going to make you life easier and give you an example of how you could achieve that. Read the rest of this entry »
Multiple select TreeView in ComboBox
The Telerik ComboBox for ASP.NET allows you to define an ItemTemplate which gives you the possibility to customize the appearance and functionality of the ComboBox. This article provides an example on how to place a multi-select TreeView inside an ItemTemplate, handling the selection on client side and how to process the data on the server side. Read the rest of this entry »
Builder pattern
Consider using a builder pattern when faced with classes that have constructors that take a large number of parameters. Read the rest of this entry »
How to custom filter ASP.NET Telerik RadGrid date columns
The Telerik RadGrid for ASP.NET Ajax allows custom filtering on date columns by using JavaScript.
The user will normally need to be able to filter the date columns by writing a date inside the RadDateInput control and then pressing a key (e.g. Enter) or by choosing a date from the DatePicker filter control. Date validation can be done before actually doing the filtering. Also, other checks can be performed according to the logic of the application.

The desired functionality is achieved using the OnDateSelected client side event of the DatePicker.
The date format of the controls on the date column can be changed according to the culture or whatever logic.
The aspx page code can look like this:
The JavaScript function where the custom logic will be performed is the following:
function filterDateOnDateSelected(sender, gvwColName, filterFunction) {
var masterTableView = $find('').get_masterTableView();
var dtInput = sender.get_dateInput();
var dateValue = dtInput.get_value();
//custom validations can be done here
if (dateValue != "") {
masterTableView.filter(gvwColName, dateValue, filterFunction);
} else {
masterTableView.filter(gvwColName, dateValue, Telerik.Web.UI.GridFilterFunction.NoFilter);
}
}
Using the ItemCreated server side event of the grid, the date format is set and the javascript function is assigned to the column.
protected void gridDate_ItemCreated(object sender, GridItemEventArgs e)
{
if (e.Item is GridFilteringItem) {
RadDatePicker picker = ((GridFilteringItem)e.Item)["DateColumn"].Controls[0] as RadDatePicker;
if (picker != null) {
picker.DateInput.DisplayDateFormat = "dd.MM.yyyy";
picker.DateInput.DateFormat = "dd.MM.yyyy";
picker.ClientEvents.OnDateSelected = "function(sender, args) { filterDateOnDateSelected(sender,'DateColumn',Telerik.Web.UI.GridFilterFunction.GreaterThanOrEqualTo); }";
}
}
}


Tags: 


