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
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 4260 | Hits: 466

Similar Posts

  • Access Headertemplate and FooterTemplate of a Repeater in code more
  • ASP.NET: Modifying display of DataBound Items based on values of data more
  • Code Based Repeater for ASP.NET MVC more
  • ASP.NET: Modifying display of DataBound Items based on values of data more
  • Entity Framework object graphs and viewstate more
  • Login control and ViewState on successful logon more
  • Entities, Viewstate and postback more
  • Move the ViewState off the client and cache it on the server more
  • Search Engine Optimization for .NET 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