Software / Technology Tips

To Run Javascript On Generated PDF In NetSuite

In NetSuite you can generate the pdf, along with that you can also add form elements in your document like text box, drop-down list, and radio buttons to make your pdf more interactive. Also you can run JavaScript’s on your generated pdf. Here in this tip you would come to know how to run it.…

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

DropDownList Validation problem in ASP.NET

Suppose in your application you are using a DropDownList in a Form and depending upon the item selection you are showing/hiding some views inside a Multiview and you want that the user must select one of the item from the DropDownList before submitting a Form. So you can write code like the following to validate…

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

How to validate reCAPTCHA through AJAX in ASP.NET?

If you want to know what is reCAPTCHA and how to use it in your ASP.NET Web application then please refer to the Tip “How to use reCAPTCHA in your site?” In the above Tip i am validating the captcha on postback. But this tip will show you how to validate the captcha by AJAX…

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

Increase LINQ to ENTITY performance using Compiled Query

If you are having an application that executes structurally similar queries many times in the Entity Framework, you can increase the performance by compiling the query once and executing it several times with different parameters. For example if you are building a web application which is going to get thousands of hit per hour by…

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

MidPointRounding for Math.Round() method in .Net Application

Math.Round(doubleValue, precision, MidpointRounding.AwayFromZero) where   1. doubleValue is the Decimal valuewhich needs to be Rounded.   2. precision is the number of significant decimal places(precision) in the return value.   3. MidPointRounding enumeration value.   MidPointRounding enumeration has two values ToEven and AwayFromZero. Default value for MidPointRounding is “ToEven”. ToEven rounds the value to the nearest even number…

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

Bind jQuery Grid without service call

Query Grid plugin is an Ajax Enabled Javascript control that represents tabular data on web page. It loads data on client side, dynamically through Ajax callbacks. To bind the grid using jqGrid plugin you have to provide raw data in the format of XML data, JSON, or in array format. And for binding the grid…

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

Power of Save Search

When we add any item (which is an Assembly/Bill of Materials) in a Sales Order record, we have to create Work Order for that Item. And to build that Item we need to create Assembly Build record. Sales Order > Work Order > Assembly Build Now in one of my project client asked to populate…

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

Create a folder and file using suitescript.

To Create a folder and file in Netsuite’s file cabinet using suitescript. In this tip i am going to show how to create a folder and file inside Netsuite’s file cabinet. Nomally we can create a folder and upload files inside the same using Netsuite’s UI. But to do this in suitescript, we have to…

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

Breadcrumb menu in Cakephp

To do this in Cakephp, we just need to add few lines in the design template where one like to show the breadcrumb: Explanation: $html->getCrumbs :  It gets all the addCrumbs being added. The parameters are the “separator” ( >) which can be replaced by anything of our wish and the last parameter is the…

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

The easy way to compare two lists in ColdFusion

While it comes to comparing two lists in ColdFusion, there is no predefined functions or tags to do so. We can think of one way of doing so as below. Usual way of doing: Match happened Match did not happen But we do have one easy way to do so. Just take a look at…

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