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
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: 3559 | Hits: 792

Similar Posts

  • Designer Support for One-Way navigations in Entity Framework 4 more
  • How To: Silverlight grid hierarchy load on demand using MVVM and RIA services more
  • Customizing the SharePoint ECB with Javascript, Part 1 more
  • Ruminations on Multi-Tenant Data Architectures more
  • WPF Release History : Q2 2009 (version 2009.2.701) more
  • CodeDigest.Com Article,Codes,FAQs - April,2009 more
  • Software Consulting Customer's Bill of Rights more
  • ASP.NET Data Control Events more
  • How to use Ninject with ASP.NET MVC more
  • EntityObject Class Constructors 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