Handling ASP.NET custom Control PostData in OnInit or IPostBackDataHandler

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

Here’s a basic question for control development. If I have a control that has maybe a single POST value that it needs to retrieve, is it safe to use code like this:   protected override void OnInit(EventArgs e) {     base.OnInit(e);       //// *** Read our custom client managed Form Var that holds the tab selection     if (this.Page.IsPostBack)      {         string TabSelection =...

Advertisement
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 3437 | Hits: 725

Similar Posts

  • How To: Silverlight grid hierarchy load on demand using MVVM and RIA services more
  • Ruminations on Multi-Tenant Data Architectures more
  • WPF Release History : Q2 2009 (version 2009.2.701) more
  • Designer Support for One-Way navigations in Entity Framework 4 more
  • Customizing the SharePoint ECB with Javascript, Part 1 more
  • CodeDigest.Com Article,Codes,FAQs - April,2009 more
  • ASP.Net Framework - Create your own RouteHandler more
  • ASP.Net MVC Framework - Create your own IControllerFactory and use Spring.Net more
  • WebChart AJAX Zooming and Scrolling: How to get the most out of your data more
  • ASP.Net MVC Framework an early look 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