Posted by Ajay Matharu in .Net, ASP.Net, Development, Microsoft, Technical, Technology, Visual StudioFeb 26th, 2009 | No Comments
The GridView control provides you with the option of sorting and paging records without requiring a form-post back to the Web server. In other words, you can re-render the contents of a GridView when sorting and paging, without needing to re-render the entire page.
You enable client paging and sorting by assigning the value true to the EnableSortingAndPagingCallback property. When this property has the value true, the GridView uses JavaScript to request an updated set of records from the Web server.
1 <%@ Page Language=”C#” AutoEventWireup=”true” CodeFile=”Default.aspx.cs”...
Posted by Ajay Matharu in Motivation, Self Development, lifeFeb 25th, 2009 | No Comments
Work can be heavenly, hellish or somewhere in between. No matter what the circumstances of your work, you can make your professional life more fulfilling. Here’s how you can do it:
- Try to broaden your vision beyond the job you perform. Find out as much about your company as you can.
- Volunteering for new and more challenging assignments as soon as they become available will help. Ask before your boss thinks of someone else.
- Ask your boss what can be done to raise the level of responsibility and creativity in your present assignment. If you want a more enriched job, ask for it. Make...
Posted by Ajay Matharu in Motivation, Self Development, lifeFeb 21st, 2009 | 1 Comment
There are two type of angry people explosive and implosive;
Explosive is the type of individual you see screaming at the cashier for not taking his coupons. Implosive is the cashier who remains quiet day after day and then finally shoots everyone in the store.
Don’t get mad, don’t get even and learn to calm down. How ever this is difficult to do when your boss asks for a report way before the deadline. Experts tend to believe that anger is merely the symptom of a far deeper problem.
Some people are just chronically angry and in the habit of being angry. Giving in to their demands like...
Posted by Ajay Matharu in Browsers, Firefox, Technology, WebFeb 20th, 2009 | No Comments
Mozilla’s open source Firefox browser has made a significant dent in Internet Explorer’s dominant market share. Much of its popularity is due to the wide availability of third-party add-ons that significantly extend Firefox’s functionality — allowing Firefox to disable Java or JavaScript on the fly, perform JavaScript whitelisting, even host ActiveX controls, for example. Firefox has always pushed the boundary in terms of features and functionality, and it can boast both growing enterprise support and the ability to run on Windows, Mac, and Linux. One claim Firefox can’t...
Posted by Ajay Matharu in ASP.Net, Technical, Visual StudioFeb 18th, 2009 | No Comments
Many times you need to restrict the number of character’s in multi-line textbox in asp.net. However the maxlength property does not helps in this case what you can do is use this javascript code to restrict the number of input characters in multiline textbox.
<script language=”javascript”>
function textboxMultilineMaxNumber(txt, maxLen) {
try {
if (txt.value.length > (maxLen – 1)) return false;
} catch (e) {
}
}
</script>
use javascript like this,
<asp:textbox id=”TextBox1″ runat=”server” Width=”232px” TextMode=”MultiLine”...