Software / Technology Tips

Adding Rows To The Table Dynamically Using JQuery

In This Scenario,An HTML Page Has One Text Box,One Button And One Table.Here,Suppose I Want To Add Rows To The Table Dynamically On Clicking The “Ok” Button On My Form. Here Is My Simplest Html Form //Starting Of HTML Form HTML FORM //Entry Point Of Jquery $(document).ready(function () { //Entry Point After Clicking OK Button…

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

Creating drag and drop for grid in Extjs.

This tip shows how to create a panel that shows how rows can be easily dragged and dropped between two or more grids in Extjs-4.2 Note:- This drag and drop is helpfull when we have list of user out of these to select some of them ,or give some previlage,authentication,add as a friend etc we…

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

Issue with OnRowCommand event of GridView while using reserve words in CommandName property

I came across a very interesting error while using buttons/link buttons in the GridView for editing the GridView rows data. The exact situation I faced is like this – I have a GridView with a column which contains an edit button. The button is associated with the CommandName property as “Edit”. The GridView is associated…

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

Dynamically Changing Text Of Button On jQuery UI Modal PopUp

Introduction This tip/trick will help you to reach the buttons inside one jQuery UI modal popup dialog and change its text. Background Currently I am working in a multi lingual project, so we need to translate every component present in one webpage according to the user’s language. During the development, I came across one issue,…

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

Retrieving Data From Excel Files Having Multiple Worksheets In ASP .NET

While working with ASP.NET we may come across a situation where we need to import some data from excel files having multiple work sheets and need to insert/update the data in the database accordingly. Following example demonstrates the way to fetch the data from excel file having multiple sheets and use those data for insertion/updation.…

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

Reduce image size using PHP GD functions

In the above code imagejpeg($im, “VW_Beetle_Sport_Concept_by_husseindesign_interlaced.jpg”, 90); is the function which will reduce the image size; We can change the third parameter sent to the function call which is currently set to “90” to reduce the image size accordingly. NOTE: This parameter controls the image quality so we need to focus on that factor while…

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

Prevent cross-site scripting attacks in ColdFusion.

ColdFusion has some very smart feature one of them is script-protect. It will help you protect your script from cross-site scripting(XSS attack). Let me show you how easy it is. If you are using Application.cfm then you need to do the following steps. 1. Open Application.cfm file 2. Add “” in cfapplication tag. If you…

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

Avoiding if condition in CUDA

Branching is one of the most time consuming operation in CUDA ( in general as well). For example, See below CPU code and GPU code … void CPUCode( int* input, int* output, int length) { for ( int i = 0; i < length; ++i ) { output = input + 2 * input; } } GPU…

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

Document merging in C#.NET

Some times during application development we need to generate a MS Word document from a predefined format and some custom data. The predefined format is generally called as Template. This template used to carry some merge fields which can be replaced with the user data. The user data can be taken from DB or XML…

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

How to find Controls In Wizard Navigation Steps

Sometimes we need to find a control from Wizard navigation steps. For that we need to use FindControl() method but we fail in this case, as we always get null when using WizardId.FindControl(“ControlId”). Why? Because when ASP.NET adds the navigation area controls to the wizard control, it adds a prefix onto the control name. So…

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