In my project I'm using the InjectEntity attribute in my controller to
populate an entity:

[InjectEntity(EagerLoad = "status")]
public Status Status
{
    set { status = value; }
}

And this was working fine when I was using a DropDownList on the page
to display the Statuses available however this list is used in other
pages so I created a UserControl to wrap up the database retrieval and
bind to an internal DropDownList, since this the Status property
doesn't get populated this appears to be related to the
HttpContextAdapter.GetInputVariable method in that the Form Key for
the UserControl looks like this "ctl00$Body$Status$Statuses" where
Status is the ID assigned to the UserControl and Statuses is the ID of
the internal DropDownList inside the UserControl and that it uses
formKey.EndsWith(aspNetFormKey) so only finds the internal ID and not
the assigned UserControl ID, is there any harm associated with making
this Contains? Or am I missing something?

Thanks,
Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to