ViewState and OnItemCommand on an ASP.NET Repeater

Posted by: Rick Strahls WebLog, on 20 Feb 2006 | View original

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
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.

Similar Posts

  • August 9th ASP.NET Link-Listing more
  • Frames, ASPX Pages and Rejected Cookies more
  • SDC Sessions - THE CODE more
  • Tech Ed 2006 Summary more
  • Repeating myself (should be: overriding autogenerated item IDs in Repeater) more
  • Avoid IISRESET in ASP.NET applications (added bonus: ASPRESET) more
  • Software Development Conference 2006 more
  • What causes ViewState Errors more
  • Sharepoint 2007 - Enabling Custom Authentication using a Custom Membership Provider more
  • Failure to start monitoring changes / Unable to start debugging on the web server more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | 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