Software / Technology Tips

Add Pagination in Rails

This tip shows how to add pagination in Rails. Let’s create a basic rails project : $rails new pagination #creating project $cd pagination $rails generate scaffold user name:string address:string #Createed a basic app with 2 fields name & Address $rake db:migrate #let's create our users table in Database. Now run your rails server & Navigate…

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

Access instance of a Radiobutton from Radiobuttonlist through Javascript

If we are using ASP.NET Radiobuttonlist in our page it becomes a little difficult to find the instance of it through Javascript  because it is rendered in a different way in the browser ( the code is reproduced below ) ASP.net Code —————– Is rendered in browser as : AAA BBB Blank So to access…

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

Show The RecordView Of Any List Grid In New Window With Telerik RadGrid TemplateHyperlinkColumn Using Client-side API

In many cases we do have requirements to show the record view of our records listed in any grid within a other floating or non-floating window so that we can go for any other record data to view in the record view window by just closing the first. In this approach we can avoid a…

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

Rails BDD Cucumber Set up for Rails3 in Linux

The new features in cucumber BDD for rails have been released by its developer, now ‘web_step.rb’ is no longer required. Sounds crazy? Sorry friends,first let me introduce what a web_steps.rb in cucumber is.. IN previous version of cucumber this web_steps.rb file was used for defining some basic functions so that pending cases outcome of cucumber…

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

Set Required Field Validation in CRM 4 Form

Anyone can set requirement level for required field to any attributes in CRM 4. The following instruction will help to set required field validator. 1.  From the Web Application -> to to Settings -> Customization -> Customize Entities. 2.  Open the entity where the attribute belongs. 3.  Go to Attributes and open the attribute which…

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

Solving back button issue in an Ajaxified page

THE PROBLEM We all know that when a user navigates through a website, each page s/he visits is logged by the browser in their history. An inherent problem with an Ajaxified application is browser navigation, as AJAX pages don’t postback while making request,they cant remember their previous states. The problem that arises here is that…

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

CRM Online 2011 Plugins

One of the limitation, that we have on MS Dynamics CRM Online(CRM 4.0) is that it does not support plug-ins. In CRM 4.0 one has to register the plugins on the CRM Server to extend the CRM capabilities which is possible for the On-Premise setups. CRM 2011 has addressed this issue by introducing the sandbox…

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

How to use Application Bar in Windows Phone 7

Before going to the steps need to follow for using application bar lets us know something about Application bar in windows phone. 1.Why we need an Application Bar   In every application we need some menus for navigating to some specific screens or to do some common  operations like save,delete     update etc .so we…

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

Registering server ids to client ids in ASP.NET

Problem In ASP.NET each control has its unique ID. The control ID remains as it is until it is placed directly under “form” tag. But it is not practical . Our control may needed to placed inside a GridView which in turn placed under Update Panel which is in the Master Page. Now the format…

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

Ajax pushing in rails 3

This a tip on real time ajax pushing using faye and private pub in rails 3 Gems used:    gem “private_pub”       gem ‘thin’       gem ‘faye’ Step 1 : generate a new rails app using rails new App_name Step 2: install the above the mentioned gem in your gem file and run the bundle…

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