Handling ASP.NET custom Control PostData in OnInit or IPostBackDataHandler

Posted by: Rick Strahls WebLog, on 26 Jul 2006 | View original | NEW 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: 2543 | Hits: 324

Similar Posts

  • ASP.NET MVC: DevExpress Mail Demo more
  • Export Word documents to XPS - Open XML Paper Specification format more
  • Bind InfoPath form to XML, Tables, SharePoint Lists & Web Services more
  • Ruminations on Multi-Tenant Data Architectures more
  • ASP.NET Performance Improvements in DevExpress 2009 volume 2 more
  • Create or Manage XPDL 1.0 & 2.1 packages using Aspose.Workflow more
  • Application Identifiers (AI) for EAN-128 barcode generation more
  • Create charts & add ad hoc capabilities to .NET Web & WinForm apps more
  • Why VBA Still Makes Sense more
  • ASPxperience Features in 2009 volume 2 Release 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