Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 with user control,repeater itemcomand not firing

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-06-23 : 01:43:51
I declare a user control including a label and a textbox. Then in my containg aspx page, I register the UC and add a repeater control like this:
The tagname is: Practice and tagprefix is: UC
Here is the aspx html code of the containig page:
<asp:Repeater ID="rep" Runat="server">
<ItemTemplate>
<uc:practice id="itpractice" runat="server"></uc:practice>
</ItemTemplate>
</asp:Repeater>

The pb is that when I edit in the text box which is part of the user control, the rep_itemcommand sub should fire , right? the pb it doesn't

P.S: (My user control displays without any pb in the containg page)

JBelthoff
Posting Yak Master

173 Posts

Posted - 2006-06-26 : 10:37:45
quote:
Originally posted by rtutus
The pb is that when I edit in the text box which is part of the user control, the rep_itemcommand sub should fire , right?


Wrong. Or I should say not necessarily. It all depend on how you wire up your events and routines.



JBelthoff
• Hosts Station is a Professional Asp Hosting Provider
• Position SEO can provide your company with SEO Services at an affordable price
› As far as myself... I do this for fun!
Go to Top of Page
   

- Advertisement -