ViewState and OnItemCommand on an ASP.NET Repeater

Posted by: Rick Strahls WebLog, on 20 Feb 2006 | View original | Bookmarked: 0 time(s)

Thinking out loud here… Here's something I never noticed before: It looks like an ASP.NET Repeater doesn't fire OnItemCommand events when ViewState is off for the control. Not sure why this should be, but I'm working on a form where there are several repeaters all of which are reloaded on every.   I have a LinkButton control in the Repeater template with a CommandName and CommandArgument set like this: <asp:Repeater ID="repLatestItems" runat="server"               OnItemCommand="repLatestItems_ItemCommand">    ...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 4432 | Hits: 489

Similar Posts

  • Code Based Repeater for ASP.NET MVC more
  • Entity Framework object graphs and viewstate more
  • Entities, Viewstate and postback more
  • ASP.NET: Modifying display of DataBound Items based on values of data more
  • Login control and ViewState on successful logon more
  • Access Headertemplate and FooterTemplate of a Repeater in code more
  • Move the ViewState off the client and cache it on the server more
  • ViewState Chunking in ASP.NET 2.0 (maxPageStateFieldLength) more
  • Understanding the naming container hierarchy of ASP.NET databound controls more
  • Search Engine Optimization for .NET more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD