
 Rank: Guest Groups: Guest
Joined: 9/17/2007 Posts: 11,670 Points: -1,200
|
Date parsed: 04/10/2007 15:02:49 Date: Thu, 4 Oct 2007 14:02:49 +0100
Hi All,
I have a grid view which contains an edit button (ie: CommandName="Edit").
When clicked this button displays a form view with the required details displayed.
Problem: When this buttons is clicked it is sending the Grid View into edit mode, thus displaying unwanted text boxes etc in the Grid.
Is there a way of stopping this?
Cheers, A
|

 Rank: Guest Groups: Guest
Joined: 9/17/2007 Posts: 11,670 Points: -1,200
|
Date parsed: 07/10/2007 21:16:08 Date: Sun, 7 Oct 2007 18:16:08 +0300
hi,
You have to use the css class, place a name of css class in the properties of the label and textboxes
Code / Set the following properties
Label1.class = "labeltext" Textbox1.class = "inputtext"
CSS File
..labeltext { background-color:Yellow; } ..inputtext { background-color:#e1e1e1; }
Hyder
"Adam" <adamatlondonbaby.com.au> wrote in message news:usXWqQ3BIHA.1356@TK2MSFTNGP03.phx.gbl... > Hi All, > > I have a grid view which contains an edit button (ie: CommandName="Edit"). > > When clicked this button displays a form view with the required details > displayed. > > Problem: When this buttons is clicked it is sending the Grid View into > edit mode, thus > displaying unwanted text boxes etc in the Grid. > > Is there a way of stopping this? > > Cheers, > A >
|