Information générale
Catégorie:
The Mere Mortals .NET Framework
>Kendall,
>
>>I have a MM datagrid, populated using a MM BO that is setup for editing and deleting. It is working fine without the FK columns . Now I want to build the FK columns to display the friendly name value of the FK in display mode, and present a dropdown list when in edit mode. So I setup a template column and inserted a MM textbox control in the ItemTemplate and inserted a MM dropdown control in the EditItemTemplate. I set the binding properties for those controls and ran the page. Ha! Didn't work, so back to the drawing board.
>
>When you say it didn't work, did you get an error or it just didn't bind? Does it work if you use a regular combo box?
>
>Regards,
Kevin,
This sounds like the same issue that I posted a while back and never got a response to. I still have not been able to get template columns to work, regardless of what type of controls I drop into the EditItemTemplate. I don't get any errors, but any changes to the data never get persisted. I can replace the template column with a bound column and it works fine.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement