A
Allan Ebdrup
I have a Web User Control (.ascx page) wherin i have a repeater, now I would
like to databind to the Web User Control, and have it databind to the
repeater in the control. Ive taken a look at the walkthroughs at:
http://msdn2.microsoft.com/en-us/library/ms233813.aspx
http://msdn2.microsoft.com/en-us/library/ms171926.aspx
but can't really see what would be the best solution for this kind of nested
databinding, I mean what If I have several repeaters in my Web User Control
that I want to databind seperately, what would be the best practice for
implementing this kind of nested databinding?
It is important that I encapsulate the databinding in my Web User Control so
that I can replace it with another Web User Control that has the same
databinding behaviour, and that way make several Web User Controls that I
can switch on the main page seamlessly without having to modify anything on
the main page other than use a different Web User Control.
Any Ideas?
Kind Regards,
Allan Ebdrup
like to databind to the Web User Control, and have it databind to the
repeater in the control. Ive taken a look at the walkthroughs at:
http://msdn2.microsoft.com/en-us/library/ms233813.aspx
http://msdn2.microsoft.com/en-us/library/ms171926.aspx
but can't really see what would be the best solution for this kind of nested
databinding, I mean what If I have several repeaters in my Web User Control
that I want to databind seperately, what would be the best practice for
implementing this kind of nested databinding?
It is important that I encapsulate the databinding in my Web User Control so
that I can replace it with another Web User Control that has the same
databinding behaviour, and that way make several Web User Controls that I
can switch on the main page seamlessly without having to modify anything on
the main page other than use a different Web User Control.
Any Ideas?
Kind Regards,
Allan Ebdrup