ShowUsYour<Blog>

Irregular expressions regularly

What CommandName's to use in a FormView

taken from Fredrik's blog:


Paging:

 

Next

Prev

First

Last

 

The FormView has support for paging so we don’t really need to add button controls for those commands. We only need to use those if we want to create our own custom paging.

 

For changing modes:

 

New

Cancel

Edit

 

The New command will change the mode of the FormView to the Insert mode. The Cancel will turn back the mode to its default mode. The Edit will turn the mode into Edit mode.

 

For actions:

 

Insert

Delete

Update

 

When we press a button with the Insert command specified the FormView will execute the associated DataSource control’s InsertCommand. If the CommandName of the button is set to Delete or Update the DataSource’s DeleteCommand or UpdateCommand will be executed. By default the SelectCommand of the DataSource control will be executed.

Posted: Apr 02 2005, 07:31 AM by digory | with 10 comment(s)
Filed under: ,

Comments

Sameen said:

I want to make a duplicate button, any idea?

# May 16, 2007 2:45 PM

SameenIsALeach said:

Sameen, you are just a worthless leach. You should try learning to programming -before- getting a job as a developer. Crazy idea no?

# March 9, 2009 2:12 AM

Sergio said:

Thanks Fredrik. You were an excellent help with this.

# June 29, 2009 6:38 AM

Abdul Wakeel said:

Yes Offcourse you can duplicate

just create a hidden field and set the value of your button on onclientClick

just go to the inserting event of the form view and try to enjoy duplication

# January 15, 2010 1:42 AM

www.dreamywebsolutions.com said:

www.dreamywebsolutions.com

# April 26, 2012 7:51 AM

icon library said:

 Has casually come on a forum and has seen this theme. I can help you council. Together we can find the decision.

<a href="www.hpixel.com/.../a>

# September 24, 2012 10:44 AM

icon collection said:

<a href=w.geekpoint.net/.../> Yes, thanks</a>

# November 4, 2012 7:51 AM

icons library said:

[url=lintasglobal.com/.../YaBB.pl] What entertaining question[/url]

# November 4, 2012 2:54 PM

http://www.chaussurefrance.biz/chaussure-nike-c-17.html said:

their own long-term durability could be a concern if you want to regularly cram them right travel travelling bag.

# May 22, 2013 8:30 PM

http://www.powerbandsaustralia.net/power-balance-pendant-c-2.html said:

being gigantic won't be enough on the attention getter currently make these red with a yellow form of transport!!

# May 23, 2013 6:14 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)