CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets for: Abhilash
XML
<?xml version="1.0" encoding="utf-8" ?>
<MenuItems>
    <Level1 Text="Home" Value="Home" Enabled ="True"  url="defaulttcf.aspx" li="MainHome"  Selected="1">
    </Level1 >
    <Level1 Enabled="False" Text="Operational" Value="Operational" Enable ="False" li="MainOperational">
    </Level1 >
    <Level1 Text="Reports" Value="Reports" Enable ="True" li="MainReports">
        <Level2 Text ="Operational" Value ="Operational">
            <Level3 Text="Commodity Quotation Warnings" Value ="Commodity Quotation Warnings" url="TCFFacilityReports.aspx?Report=QuotationWarning"  target="_blank"/>
            <Level3 Text="DDA Accounts Per Facility" Value ="DDA Accounts Per Facility" url="TCFFacilityReports.aspx?Report=DDAAccount"  target="_blank"/>
by Abhilash   Wednesday @ 3:47am
Tags:
8 Views
no comments
 
/* Generic definitions */
body{
  background-color:#FFFFFF;
  margin:0;
  text-align:center;
}
body *{
  font-family:arial, verdana, sans-serif;
  font-size:100.01%;
}
by Abhilash   February 02, 2012 @ 3:26am
Tags:
11 Views
no comments
 
// ===================================================================
// Author: Matt Kruse <matt@mattkruse.com>
// WWW: http://www.mattkruse.com/
//
// NOTICE: You may use this code for any purpose, commercial or
// private, without any further permission from the author. You may
// remove this notice from your final code if you wish, however it is
// appreciated by the author if at least my web site address is kept.
//
// You may *NOT* re-distribute this code in any way except through its
330 Views
no comments
 
C#
/// <summary>
        /// Sorts the list box in descending order
        /// </summary>
        /// <param name="pList">the list to sort</param>
        /// <param name="pByValue">Sort the list by values or text</param> 
        private void SortListBox(ref ListBox pList, bool pByValue)
        {
            var lListItems = new System.Collections.SortedList();
 
            //add listbox items to SortedList 
by Abhilash   November 13, 2009 @ 4:03am
1489 Views
no comments
 
C#
/// <summary>
/// Sorts the dropdownlist in descending order
/// </summary>
/// <param name="objDDL"></param>
private void SortDropDownList(ref DropDownList objDDL)
{
    var textList = new ArrayList();
    var valueList = new ArrayList();
 
    foreach (ListItem li in objDDL.Items)
by Abhilash   November 13, 2009 @ 4:03am
454 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate