update binding in server-side tag

  • Thread starter Thread starter davefromalbury
  • Start date Start date
D

davefromalbury

i've got a <tr> in an asp.net 2.0 formview which i set runat="server"
so that in the code, i can set visible=false for that row if the user
isn't admin. In this row, i have a drop-down with two-way binding. for
some reason, this control isn't getting picked up in an update, ie
e.oldvalues["id"]=null. Any idea why?

cheers
dave
 
Note, that controls with Visible=false don't get sent to the client. Can it
be the reason in your case?

Eliyahu
 
hmmm i don't think so, it's always visible, as during the update, it's
still the same user. it only loses visibilty for non-admin.

cheers
dave
 

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

Back
Top