Software / Technology Tips

Secret of ASP.NET Validation control

In your projects you must have used ASP.NET validation controls like Required Field Validator, Range Validator, Custom validator, etc. Suppose in a page you have used Required Field Validator for a textbox, so while Form submission it will validate the textbox control for its value. But if you want to disable validation for a particular…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Integrating Google map in Extjs. 3.3

Now a days Google map has come to play a vital role in web applications. This tip demonstrates how to integrate Google map with Extjs. To integrate Google map API in Extjs we need to download Ext.us.GMapPanel user extention. We can download it from the following link Example : Lets create a small example using…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Java Script hangs IE

Sometime JavaScript(Ajax call) hangs some browser(specially IE) or browser stops responding. The reason behind it is the settings of the Ajax call. If we are using ajax call then such problem may arise. The partern of Ajax call in JQuery is like- //Ajax call $.ajax({ url: "the url here", global: false, type: "POST", data: ({param1…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

WebClient Vs HttpWebRequest and HttpWebResponse in ASP.NET

If you are already familiar with the basics of HttpWebRequest and HttpWebResponse classes for WebCommunication, the following code can help you get the response using HttpWebRequest . HttpWebRequest hRequest = (HttpWebRequest)WebRequest.Create("[email protected]"); This is the basic way to get HttpWebRequest . It is fastest way but difficult to implement for downloading of content to our local…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to customize Flat(2D) Chart into 3D Chart in Microsoft Dynamics CRM 2011

Goal: Customization of chart from 2D to 3D in MS Dynamics CRM 2011 Step 1 : The first thing we’ll need to do is select the chart you want to modify in CRM. Step 2 : click Export Chart to get the XML definition for the chart. Step 3 : Save the Exported file Step…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Run a Specific DB Migration in Rails

Scenario: Let’s say we are having 10 migration files in our application. Our DB is already set as per our migrations. Now let’s say we got a requirement to add a new column to an existing table. Literally we need to update our migration file and synchronize the same with database. Description: We are having…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

How to color column elements of a GridPanel in ExtJS

This is a brief demonstration on coloring the column elements of a GridPanel in ExtJS. Now if we want to identify the jobs having the status ‘FINISHED_FAILURE’ by coloring the status messages with red. We may proceed as follows. var jobGrid = new Ext.grid.GridPanel({ store: jobStore, frame: false, trackMouseOver: false, disableSelection: true, loadMask: true, //***************…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Showing Splash Screen At The Start Of Android PhoneGap Application

If you want to disaplay a splash screen at the beginning of Phonegap based Android application you need to put splash screen image(splash.png) inside res\drawable-hdpi,  res\drawable-mdpi,  res\drawable-idpi which can be located inside your project directory. The splash screen image size should be different for different size of Android devices. For large screens size (hpdi) image…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Navigation in Windows Phone 7

1 ) All the contents in the xaml Page should be places inside the        TAG     for Windows Phone This code will contain 5 Files : 1 ) NavigatePage.xaml 2 ) Navigatepage.xaml.cs 3 ) NavigatepageViewModal.cs 4 ) Navigationutility.cs 5 ) ButtonClickCommand.cs ——————*————————— Code for NavigatePage.xaml * This page contains a button whose click event will direct you…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!

Look at your ViewState

Some useful information on ViewState : 1. In asp.net ViewState is used to keep state information of controls to cope with the state less nature of HTTP and provides a means to persist the state across postbacks. 2. There is a saying – There is no free lunch . And ViewState is no exception .…

read more
150 150 Burnignorance | Where Minds Meet And Sparks Fly!