Asp Forms Snippets


06 February, 2012   

ASP Forms and User Input from HTML form

An example code how to define and use asp:AccessDataSource

By default Symfony displays forms in tables, with each new input being a table row. If you want to display your forms more semantically with fieldsets and lists, Symfony has a list formatter built in. You can tell an individual form to display as a list using the code below.

Below example showing how to define and use asp:AccessDataSource

10 December, 2013   

VB.Net code for Fullscreen

Shows how to focus a control in a Windows Form. If you are working with Web forms it is very simple, you just use "WebControl.Focus()" but this does not work for Windows Forms.

29 December, 2011   

ASP code example to redirect the user to a different URL.

23 January, 2012   

How to create a folder named NewFolder2 by ASP. Here shown an example code

11 May, 2013   

ASP code example using a 301 redirect

his snippet was created under the inspiration of using the django-multilingual package. Also an additional code is used to solve the problem of saving the many-to-many relations in embedded forms (http://trac.symfony-project.org/ticket/5867#comment:21). The idea is that in all embedded I18n forms appears checkbox "delete" for each...

27 February, 2013   

An example code for tableless forms

06 October, 2012   

Code for dynamic add css file in header

20 March, 2013   

ASP code example for Moved Permanently 301 Redirect

15 May, 2012   

VB.NET Code example to add dynamic css file in header

23 January, 2012   

How to create a text file named newtest.txt . here shown an example ASP code

13 October, 2012   

You need to give each element a sequentially numbered tab index value in order for this script to work properly.

20 August, 2014   

Javascript function to check or uncheck all the checkboxes in a form.

12 May, 2012   

How to prevent users from selecting past or previous day dates in ASP.Net AJAX Control Toolkit CalendarExtender control. Author of this code is Mudassar Khan

01 March, 2011   

Mouse Move Paint . A simple program for drawing using mouse move event in vb.net 2005 version... This code is compatible with : VB 2005, VB 2008, VB 2010 Steps For Creation:- --------------------------- 1. Change the background color of the form1 as white. 2. Then, double click the form and change the event as mouse move click event. 3. Now,...

Note: The ASP.Net RadioButtons must be set with exact same GroupName property in order to make them mutually exclusive.