Hi.
I am looking at somebody else's code and in it there is a user control:
<UserControl:Comments ID="Comments1" runat="server" ObjectID="4" ObjectRecordID='<%#((Alert)Container.DataItem).AlertId %>'></UserControl:Comments>
What I don't quite understand is how the value for ObjectRecordID gets assigned. I understand by looking at the code that AlerId is getting assigned to ObjectRecordID but how is ((Alert)Container.DataItem).AlertId grabbing its value?
Thanks.