Archive for the ‘Microsoft.NET’ Category

Kendo Server Filtering

Share

If you want to enable Server Filtering on Kendo Grid, first step is to tell Kendo that you want to enable that functionality because, by default, the data source performs filtering on client side.

On the server side you need to map Kendo Filter to a C# Filter class.

Share
Tags:       

Request Elevated Privileges in Windows Vista and 7 where UAC is enabled

Share

This article explains how to request elevated privileges for windows applications running under Windows Vista or 7, where UAC is enabled. If an application requires administrator right, you have to pass through the UAC elevation process.

Share
Tags:      

Multiple select ComboBox in RadGrid filter

Share

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. 

Share
Tags:    

Multiple select TreeView in ComboBox

Share

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 […]

Share
Tags:    

How to custom filter ASP.NET Telerik RadGrid date columns

Share

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.

Share
Tags:     

Parametrized Queries vs. Table-direct mode (SQL Server CE)

Share

            Recently, I worked on a mobile device application and I had to insert about 50000 rows into a SQL Server CE database. NET Compact Framework offers some ways to complete this task including using of DataAdapter and DataSet objects, parametrized queries or SqlCeResultSet(table-direct mode). Considering that the first way is the slowest I will not […]

Share
Tags:   

Image scaling without interpolation

Share

Two reason to scale grayscale image without interpolation: intepolation add new color in image .net GDI mechanism can’t return image in 8 bits – pixel format Demo project When a image is scaled with a scaling factor greater then 1, the image get black pixels, to fill black pixels exist 3 well known algorithms

Share


How To: Code Generators and Code Snippets

Share

As you know, Snippets are available since Visual Studio 2005 and Add-Ins since Visual Studio 2003, but we rarely asked “Can these help our work?”. Yes, they do. It’s not important how they are created, for this are many tutorials available, important is how those could help us.

Share
Tags:  

Dynamically generate ENUMs through assembly

Share

In C# ENUMs are storage efficient data structure acting at run-time just like primitive types. The following presents one way to generate an enumeration class within a dynamic assembly using database data.

Share
Tags:      

Windows Application interaction with a Web Page

Share

Displaying a web page inside a widows form application and interact with the content it’s very simple using System.Windows.Forms.WebBrowser. This way you can easily create a panel containing ads in to your application or even communicate with a 3rd Party web component for displaying data. In our case we needed to integrate an enterprise application […]

Share
Tags:    

Page 1 of 3123

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close