Software / Technology Tips

Working with jquery popup in dotnetnuke 6 modules

For example: View.ascx(View Page) ——————– View.ascx.cx ———— lkbButton.Attributes.Add(“onclick”, “return ” + UrlUtils.PopUpUrl(Globals.NavigateURL(“popupkey”, “mid=” + this.ModuleId), this, PortalSettings, true, false, 390, 670)); Above example description: Let say my custom module is having 2 view page. In default view page I am having one link button and on clicking of this link button i wants to open…

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

Blocking an Entire Country from accessing the website In ASP.NET

Suppose we have a  condition  that we don’t want to allow the access of our website  in certain parts of the world . That we can do here in ASP.Net . In the process , it retrieves the country based on the browser . It  isn’t going to be 100% accurate but probably more like…

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

Two minutes to learn Ajax File upload

If we have read/seen it somewhere that ” File upload using Ajax”, then it is not through AJAX. File uploading is basically done through an iframe in this case. We have to use an iframe to upload the files. Honestly speaking implementing javascript code using an iframe is quiet difficult for a beginner. In that…

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

Set Focus To Kendo Numeric Text Box

Suppose you create a textbox. You use kendo ui to make it numeric textbox as follows, $('#numeric').kendoNumericTextBox();  Now the problem is when you try to make focus on this text box, you see you can’t simply focus on the textbox using simple jquery function, $('#numeric').focus()  The problem you can found when you deeply debug the…

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

Resolving Background Scrolling Issue Of Modal Popup Vew In Mobile Devices

Problem: While dealing with a scrollable view where a large numbers of data are shown I faced the following issue. When a popup shows above it, the background scrollable view still has focus and can be  scrolled in mobile devices. After much of the research I got the solution and I am sharing it below…

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

To validate form fields by using a single function throughout the application

Mostly each and every project has a smaller or a bigger form to be filled by the user and we need to validate the form fields on the client side. Here is a summed up function, where we can add the following classes for specific validations and pass the form to this function for validation…

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

Creating menu items at the right corner of system's menu bar on Mac using Cocoa

Everyone must have noticed some menu items at the right corner of the system’s menu bar while working on Mac. These are called “Menu Bar Extras”. These extra menus are typically used to display application’s or system’s status information. Some of the built-in menu extras are time indicator, system’s volume control etc. Although these menu…

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

PHP functions str_ireplace and str_replace

PHP has many predefined functions. Whenever you face a problem and search for a solution there is 90% probablity that you can find a php predefined function to solve your problem. While most functions are supported by PHP 4 there are a few new ones have been introduced by PHP5. Often these functions look identical…

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

How to Restrict Entering of Future Date in Textbox using jQuery

We can use Mask plugin of jQuery for Datefield as $(txtBox).setMask(“19/39/9999”) which will accept inputs in mm/dd/yyyy format. While using this we may face problems if it accepts invalid values like : Month value > 12, date value > 31 and also future dates. The solution to this is after giving the date value in…

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

Use of 'URL Rewriting' in Web Application

The purpose of writing this tip is that somedays before I  was almost lost in my current project. It was miserable for me to find out how  and where a particular event is fired to execute a particular functionality  though it was understandable that the event was fired because whenever I changed  something in the…

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