Welcome To Snipplr


Everyone's Recent Snippets Tagged aspnet



« 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 8 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 3 people 7 views posted 5 years ago by windmarble
  3. FAV

    C#/.NET Code Samples to Save Microsoft OneNote (.one) file as an image (.PNG, .BMP, .JPEG, .GIF) file

    The Aspose.Note for .NET API allows developers to open files & manipulate elements of OneNote books & export them to PNG, GIF, JPEG, BMP and PDF formats. The following code sample shows developers how to save OneNote File as an image in C#/.NET
    C# 6 views posted 5 years ago by johansonkatherine
  4. FAV

    Data Table Bible

    http://www.dotnetfunda.com/articles/show/131/datatable-adding-modifying-deleting-filtering-sorting-rows-readingwrit
    C# 4 views posted 6 years ago by thetwai
  5. FAV

    Call javascript function on onClientClick method with parameters

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

    Globalize jQuery Validate for ASP.Net MVC 4

    jQuery Validate is used in ASP.Net MVC 4. As it is checking only en-US as a default you may have problems with different cultures for decimal inputs and dates (I had to try for minutes to find a accepted date format. I don't want to see how my custom...
    JavaScript 2 views posted 6 years ago by SnipplrSlush
  7. FAV

    different class for alternating item

    To use a different class for alternating item of asp.net repeater control
    C# 4 views posted 7 years ago by samilce
  8. FAV

    Access a Method in a Master Page with Code-Behind

    Access a Method in a Master Page with Code-Behind
    C# 4 views posted 7 years ago by kfiil
  9. FAV

    jQuery and Clicking an ASP.NET Linkbutton

    This is a pretty standard jQuery method to listen for the enter key and simply "click" the button. However, if you are using a LinkButton this code will not work. The reason for this is that a LinkButton is rendered to the browser as an Anchor tag...
    jQuery 3 views posted 7 years ago by weldonr30
  10. FAV

    ASP.NET MVC Controllers in subfolder

    Per gestire le situazioni in cui è necessario avere dei controller in una subfolder (ad esempio /api/v1/{controller}/{action}/{id}, utilizzare il seguente codice nella "global.asax.cs" nel metodo "RegisterRoutes".
    C# 7 views posted 7 years ago by dancerjude
  11. FAV

    Dropdown list ASP.NET MVC

    Dropdown list bound in MVC using Entity Framework
    C# 4 views posted 7 years ago by praveensewak
  12. FAV

    IsPageRefresh in ASP .NET - Preventing previously submitted

    How do I prevent previously submitted form data from being reinserted into the database when the user presses the browser's Refresh button? Although it is not possible due to unique key constraint available in tables but it is unnecessary go to othe...
    C# 5 views posted 7 years ago by satie83
  13. FAV

    Dynamic CSS file in header

    Dynamic Add css file in header
    VB.NET 13 views posted 7 years ago by kzelda
  14. FAV

    JQuery popup new window from ASP.NET page

    This can be put into a utility class in your ASP.NET project and put onto the page with ScriptManager.RegisterStartupScript(). The script alters the ASP.NET __VIEWSTATE value which somehow validates requests; if you leave it out the popup wont work.
    JavaScript 4 views posted 8 years ago by Krummelz
  15. FAV

    Resolve relative Urls from Javascript (for ASP.NET)

    JavaScript 4 views posted 8 years ago by plugables
  16. FAV

    static ResolveUrl and ResolveServerUrl

    You do not have Page object available everywhere to use Page.ResolveUrl. Here is an alternate.
    C# 0 views posted 8 years ago by plugables
  17. FAV

    Sending different Email types with ASP.Net

    Como insertar imgenes en un envio via email en ASP.NET
    C# 6 views posted 8 years ago by derebus
  18. FAV

    Saving data from gridview to xml file

    this code will show you how to save data from gridview to xml file
    VB.NET saved by 2 people 7 views posted 8 years ago by tabook22
  19. FAV

    create a new datatable

    This code will sow you how to create a new datatable
    VB.NET 8 views posted 8 years ago by tabook22
  20. FAV

    Create a new xml file and display it in browser

    Create a new xml file and display it in browser
    VB.NET 6 views posted 8 years ago by tabook22
  21. FAV

    Binding xml file to Gridview

    This code will be used to bind an xml file to gridview
    VB.NET 7 views posted 8 years ago by tabook22
  22. FAV

    add data to an existing xml file

    This code snippet is used to add data to an existing xml file
    VB.NET 6 views posted 8 years ago by tabook22
  23. FAV

    How to Print in ASP.NET 2.0

    how to print controls in ASP.NET 2.0 using both server side code and javascript.
    VB.NET 10 views posted 8 years ago by derebus
  24. FAV

    How To Create A Remember Me Cookie

    How To Create A Remember Me Cookie
    VB.NET 9 views posted 8 years ago by derebus
  25. FAV

    Exporting asp.net treeview data control

    ASP 3 views posted 8 years ago by kashif21
  26. FAV

    Get the Host Name in ASP.NET C#

    Will return the host name that the site is running on. Example: `http://mysite.com` or `http://myspecialsite.com:102`
    C# 3 views posted 8 years ago by jasonseney
  27. FAV

    Null check for razor in line text display

    This is far from ground breaking but I forget it all the time so thought this might be a useful place to keep a reference of it
    C# 5 views posted 8 years ago by AndewAllison
  28. FAV

    ASP.NET Repeater

    ASP 2 views posted 9 years ago by mbbrennan
  29. FAV

    ASP.NET Image Upload and Resize

    Image Upload and Resize
    C# 5 views posted 9 years ago by vedgiee
  30. FAV

    Server-side Cookie Helper Methods

    You should include these Cookie helpers in your base page class. Enjoy!
    C# saved by 2 people 4 views posted 9 years ago by mecha
« Prev 1 2 3 4