I think you will still get compile error because the FeatureLayer property would expect only FeatureLayer type. It is however, possible to create a FeatureLayer from a map service (maybe this is what you were doing). It is true that FeatureDataForm will show read-only fields if the FeatureLayer comes from a map service. You will not be allowed to edit, but you will be allowed to retrieve the feature ID, if this is part of your feature Attributes.
Well . . . You were right. I went back to my previous attempt and it was in fact a FeatureLayer that I was playing with. Here is the code <esri:FeatureLayer ID="PointLayer"
Url="http://198.182.104.173/ArcGIS/rest/services/Intersection_Test/MapServer/0"
MouseLeftButtonUp="FeatureLayer_MouseLeftButtonUp"
DisableClientCaching="True"
Mode="OnDemand"
SelectionColor="#FFFFFF00"
OutFields="*" />
Interestingly, when I copy this exact code into my current project I get 2 errors that say "Mode" and "SelectionColor" are not properties of Feature Layer. The only difference is the current project is in Silverlight 4.Also, the codebehind private void FeatureLayer_MouseLeftButtonUp(object sender, GraphicMouseButtonEventArgs args)
tells me I may be missing a reference because GraphicMouseButtonEventArgs cannot be found. I have all the same references (I think) but I did convert from VB to C#. So, before I can go further I need to get these fixed.