Update command and textbox

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Hi, I have a datagrid with a update link which is used to provide update
functionality for a row.

When I press the edit (Via EditCommand) button a textbox appears inside the
datagrid. My question is how do I specify a class for just this textbox?
TIA
Mark
 
In properties on the DataGrid, there's an EditItemStyle group, with a
CssClass property. Specify a class there. Then use the syntax like this
to specify just for the textbox...

..someClass input
{
color: red;
}

Bruce Dunwiddie
http://www.csvreader.com
 
In case you have not tried it already, checkout the ItemTemplate. You will
have more control on how and what controls to display during the Edit
process.

Regards,

Trevor Benedict
MCSD
 

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


Back
Top