Welcome Guest Search | Active Topics | Members | Log In | Register

Gridview Edit Options · View
Adam
Posted: Thursday, October 04, 2007 3:02:49 PM


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


Sajjad Haider
Posted: Sunday, October 07, 2007 9:16:08 PM


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
>

Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.1 (NET v2.0) - 9/10/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.040 seconds.