Welcome To Snipplr


Everyone's Recent ASP Snippets



« Prev 1 2 3 4
  1. FAV

    How to send SMS using ASP.NET through HTTP

    Hello Guys, This short ASP.NET code snippet is intended to provide you a brief review on how to add SMS functionality to your website. You will see, this is a very simple but smart solution. This ASP.NET application is able to send messages by usi...
    ASP 21 views posted 5 years ago by Gupta86
  2. FAV

    ASP.net Dropdown U.S States (non-abbreviated)

    To select a US State from a form.
    ASP saved by 9 people 15 views posted 5 years ago by windmarble
  3. FAV

    Format a date to a as short a string as possible

    Todays dates are shown as hh:mm, dates from yesterday and earlier as dd mmm. This can be useful, since recent dates are showing more details
    ASP 11 views posted 6 years ago by lakkie
  4. FAV

    Call javascript function on onClientClick method with parameters

    For example, in a button, in OnClientClick method, pass parameters for a javascript method.
    ASP 20 views posted 6 years ago by keidash
  5. FAV

    Date and hour Format in RadDatePicker

    Como añadir el formator para dd/mm/yyyy + hora
    ASP 8 views posted 6 years ago by keidash
  6. FAV

    Detect Mobile Browser Using ASP

    A function and if statement to detect whether or not the browser is a mobile device.
    ASP 16 views posted 6 years ago by nshakin
  7. FAV

    ASP Request Current Page Name

    Request the current page name relative to the home directory of the server.
    ASP 8 views posted 6 years ago by nshakin
  8. FAV

    how to use dynamically generated .Net element IDs on page in jquery or css

    In the examples, below, Step1 is the id given to the element. If the element is set to runat="server", when it is rendered on the page, the id will change dynamically to something like ctl00$PlaceHolderMain$Step1. But the actual value may change. To...
    ASP 15 views posted 7 years ago by rumremix
  9. FAV

    Breadcrumb in Sharepoint 2010

    Both ASP and Javascript versions provided below. Use either one or the other. Code should be placed in a SharePoint 2010 master page.
    ASP 13 views posted 7 years ago by rumremix
  10. FAV

    SharePoint Field Validator

    ASP 13 views posted 8 years ago by nickaranz
  11. FAV

    SharePoint Styling Common Controls

    ASP 11 views posted 8 years ago by nickaranz
  12. FAV

    Kentico - Smart Search Date w/o Time

    Wanna lose the time portion of the date something was created in a smart search result!?!?
    ASP 8 views posted 8 years ago by inreflection7
  13. FAV

    Redirect a page to another domain in ASP

    ASP 7 views posted 8 years ago by ajbatac
  14. FAV

    Kentico - JWPlayer file ResolveUrl

    The usual way to resolve a url file path doesn't work with JWPlayer. You'll need a different one because the "+" in ... ?guid="+ Eval("fieldName"))%> will throw an error...
    ASP 8 views posted 8 years ago by inreflection7
  15. FAV

    Kentico - Display Custom Date Format with Date/Time selector

    You don't modify the CMSDesk in order to display only the date or only the time. You do it through the aspx control. http://authors.aspalliance.com/aspxtreme/sys/globalization/demos/DateTimeFormatInfoGetAllDateTimePatterns.aspx
    ASP 10 views posted 8 years ago by inreflection7
  16. FAV

    Kentico - Force download of PDF

    "This was a requirement that the client had because there were differences in how various browsers were displaying the same PDFs. By setting the "Content-Disposition" header to "attachment" it forces the user to download the file. I thought this was...
    ASP 8 views posted 8 years ago by inreflection7
  17. FAV

    Kentico - Change bizform notification

    When submitting a bizform in Kentico it has some crappy default message. Change them in this file.
    ASP 7 views posted 8 years ago by inreflection7
  18. FAV

    Login failed for user ‘IIS APPPOOL\DefaultAppPool’

    If you obtain this error using WCF, IIS7, LINQ to SQL on Windows 7, read this thread: http://www.codetoday.net/default.aspx?g=posts&t=1595
    ASP 8 views posted 8 years ago by derebus
  19. FAV

    < script > in ASPX

    ASP 5 views posted 8 years ago by inreflection7
  20. FAV

    Kentico - Resolve file path URL

    This will get the file path for something. Typically used with a cms:CMSRepeater
    ASP 8 views posted 8 years ago by inreflection7
  21. FAV

    Link Field and check box field in the Grid view

    ASP 11 views posted 8 years ago by kashif21
  22. FAV

    Exporting asp.net treeview data control

    ASP 7 views posted 8 years ago by kashif21
  23. FAV

    removing I Like and Tags and Notes icons from Sharepoint 2010

    ASP 8 views posted 8 years ago by rumremix
  24. FAV

    Disable ASP.NET button on click (but still postback)

    this will disable a button after the first click, but will continue to do its original postback. Note: if it has a custom css class, then the button will still appear clickable, with the exception that the text of the button gets the slight disabled...
    ASP 9 views posted 9 years ago by pjobson
  25. FAV

    ASP.NET Repeater

    ASP 7 views posted 9 years ago by mbbrennan
  26. FAV

    Default Visual Web Developer 2008 ASPX template

    ASP 7 views posted 9 years ago by oyvindrobertsen
  27. FAV

    List all Post Parameters

    This function return a string with all the post parameters and their values.
    ASP saved by 1 person 9 views posted 9 years ago by sikwan
  28. FAV

    Current Url With Parameters

    This function return the current Url, including the Get parameters.
    ASP saved by 1 person 6 views posted 9 years ago by sikwan
  29. FAV

    ASP.net MVC: Accept file upload from all browsers.

    I use this action code with http://valums.com/ajax-upload/ to handle the upload from any browser.
    ASP 4 views posted 9 years ago by jink
  30. FAV

    get today date string

    gets you a date string for today in YearMonthDay formant like this 20100917
    ASP 5 views posted 9 years ago by jlvallelonga
« Prev 1 2 3 4