Welcome To Snipplr


Everyone's Recent Snippets Tagged aspnet



« Prev 1 2 3 4
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...
0 4339 posted 11 years ago by Gupta86
To select a US State from a form.
1 3908 posted 11 years ago by windmarble
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
0 4064 posted 12 years ago by johansonkatherine
http://www.dotnetfunda.com/articles/show/131/datatable-adding-modifying-deleting-filtering-sorting-rows-readingwrit
0 1553 posted 12 years ago by thetwai
For example, in a button, in OnClientClick method, pass parameters for a javascript method.
0 5055 posted 12 years ago by keidash
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...
0 1863 posted 12 years ago by SnipplrSlush
To use a different class for alternating item of asp.net repeater control
0 1511 posted 13 years ago by samilce
Access a Method in a Master Page with Code-Behind
0 1842 posted 13 years ago by kfiil
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...
0 1427 posted 13 years ago by weldonr30
Dropdown list bound in MVC using Entity Framework
0 1651 posted 14 years ago by praveensewak
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...
0 1573 posted 14 years ago by satie83
Dynamic Add css file in header
0 3711 posted 14 years ago by kzelda
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.
0 1490 posted 14 years ago by Krummelz
You do not have Page object available everywhere to use Page.ResolveUrl. Here is an alternate.
0 1823 posted 14 years ago by plugables
Como insertar imgenes en un envio via email en ASP.NET
0 1876 posted 14 years ago by derebus
this code will show you how to save data from gridview to xml file
1 4174 posted 14 years ago by tabook22
This code will sow you how to create a new datatable
0 3899 posted 14 years ago by tabook22
Create a new xml file and display it in browser
0 4714 posted 14 years ago by tabook22
This code will be used to bind an xml file to gridview
0 3985 posted 14 years ago by tabook22
This code snippet is used to add data to an existing xml file
0 4272 posted 14 years ago by tabook22
how to print controls in ASP.NET 2.0 using both server side code and javascript.
0 4208 posted 15 years ago by derebus
How To Create A Remember Me Cookie
0 2667 posted 15 years ago by derebus
Will return the host name that the site is running on. Example: `http://mysite.com` or `http://myspecialsite.com:102`
0 2144 posted 15 years ago by jasonseney
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
0 1855 posted 15 years ago by AndewAllison
0 3494 posted 15 years ago by mbbrennan
Image Upload and Resize
0 1757 posted 15 years ago by vedgiee
You should include these Cookie helpers in your base page class. Enjoy!
1 1846 posted 15 years ago by mecha
« Prev 1 2 3 4