Access to DataGrid Control

S

Samuel Shulman

Hi

I would like to have a drop down menu in some rows and have them disabled
(or invisible in others) is that possible?

Samuel
 
R

Riki

Samuel said:
Hi

I would like to have a drop down menu in some rows and have them
disabled (or invisible in others) is that possible?

Samuel

Sure. Just use the properties with databinding:
Visible="<%# Databinder.Eval(Container.DataItem, "visiblefield") %>"
or
Enabled ="<%# Databinder.Eval(Container.DataItem, "enabledfield") %>"
 
S

Samuel Shulman

Thank you

That was great help

Samuel

Riki said:
Sure. Just use the properties with databinding:
Visible="<%# Databinder.Eval(Container.DataItem, "visiblefield") %>"
or
Enabled ="<%# Databinder.Eval(Container.DataItem, "enabledfield") %>"
 

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top