Ask a Question related to ASP.NET Building Controls, Design and Development.
-
crpietschmann #1
UserControl has no DataBound event?
I have a UserControl that is used inside a datalist and I am databinding a
could of the UserControl's properties to the data displayed in the datalist.
My issue is I need to have some code run once all the properties are
databound, but the UserControl class doesn't have the DataBound event.
Does anyone know a way of doing this?
--
Chris Pietschmann
[url]http://pietschsoft.com[/url]
crpietschmann Guest
-
UserControl with databound repeater drops values on postback
Hi all, I have a user control that contains a repeater that generates a list of check boxes. The checkboxes render fine, but they don't maintain... -
UserControl event & method call sequence
I have an aspx page that loads an ascx user control. This is what happens: 1. As the aspx page loads it then loads the ascx usercontrol. 2.... -
Event not firing in usercontrol inside usercontrol
I'm stumped on this problem. I've created a user control that dynamically creates 5 linkbuttons in the CreateChildControls method. Each of these... -
usercontrol that raise a javascript event
hi, is it possible to raise a javascript event when something happen on a user control field? i created a calendar user control which contains... -
UserControl click event won't fire
I've got a custom usercontrol (UC1) that dynamically loads another custom usercontrols (UC2) during it's Init event. Both controls have... -
Teemu Keiski #2
Re: UserControl has no DataBound event?
It has DataBinding event which you could listen for or you can override
DataBind() method in a class inheriting from UserControl and place the code
after a call to MyBase.DataBind (or base.DataBind() in C#)
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
[url]http://blogs.aspadvice.com/joteke[/url]
"crpietschmann" <crpietschmann@discussions.microsoft.com> wrote in message
news:5526A8D2-9A37-4C28-BD32-70F90625A482@microsoft.com...>I have a UserControl that is used inside a datalist and I am databinding a
> could of the UserControl's properties to the data displayed in the
> datalist.
> My issue is I need to have some code run once all the properties are
> databound, but the UserControl class doesn't have the DataBound event.
>
> Does anyone know a way of doing this?
>
> --
> Chris Pietschmann
> [url]http://pietschsoft.com[/url]
Teemu Keiski Guest



Reply With Quote

