Print Page | Close Window

Postbacks in custom controls

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=12145
Printed Date: 28 March 2026 at 3:11pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Postbacks in custom controls
Posted By: Mart
Subject: Postbacks in custom controls
Date Posted: 12 October 2004 at 3:57pm
Hey,

does anyone here know how to handle postbacks in custom server controls, basically all I want to do is have a Sub fire when a button is clicked, the control seems to render on postback but I need to know how to see if it has been caused by a postback.

Thanks, Martin.



Replies:
Posted By: Mart
Date Posted: 12 October 2004 at 4:19pm
Its ok, I've got it sorted, you just use If Page.IsPostBack



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net