Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: selecteditemstyle object


Message #1 by tvoss@c... on Thu, 6 Dec 2001 08:57:13
Lou is correct.
I caused the selection through commandName="Select" in the button
definition:

<COLUMNS>
<asp:ButtonColumn ButtonType="LinkButton" CommandName="Select"
DataTextField="Name"></asp:ButtonColumn>
</COLUMNS>

rgds,
Octavio

-----Original Message-----
From: Louis T Kklauder Jr [mailto:lklauder@w...]
Sent: Thursday, December 06, 2001 9:25 AM
To: ASPX_Professional
Subject: [aspx_professional] RE: selecteditemstyle object


In my limited experience, it is a row. However, I found that I needed in
VS.NET to go to design view for the page and insert a column of buttons
in the grid and then give the buttons the property of causing a
selection. You would normally want the selection action to have some
consequences that would be coded in a function invoked when the
selection occurs.

Lou

-----Original Message-----
From: tvoss@c...
[mailto:tvoss@c...]
Sent: Thursday, December 06, 2001 8:57 AM
To: ASPX_Professional
Subject: [aspx_professional] selecteditemstyle object

Of the datagrid tableitemstyle objects most seem to do what I would
expect, but the usage of:

<asp:datagrid>
<selecteditemstyle backcolor="red"></selecteditemstyle>
</asp:datagrid>

I cannot observe. What is the selected item a row or cell? Why does it
not
seem to show up as an effect?

Thanks,
$subst('Email.Unsub').


$subst('Email.Unsub').


  Return to Index