Gridview Edit

A

Adam

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
 
S

Sajjad Haider

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top