CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 12/19/2003 3:43:48 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 33 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
gohsman
Asp.Net User
PostBack Event not firing12/19/2003 3:43:48 PM

0/0

I have a custom menu webcontrol that I have built. Originally, I call a function from my code behind that basically BUILDs the control by creating a bunch of controls and adding them to the Controls collection.

I've decided that the menu control should build responsible for building the controls and that the BUILD process should be handled automatically by the control rather than being called from the page's code behind. I am doing this by calling the BUILD function on PreRender.

Both methods generate the control, however, the latter does not raises my PostBackEvent for LinkButtons that are contained in the control. My guess is that I am now doing something too late in the PreRender stopping the PostBackEvent from being fired. Any ideas on how to make this work properly.

Can anyone recommend a good book on Control development. I have access to the O'Reilly Safari, so if it is in there, that would be great.

Thanks.

master4eva
Asp.Net User
Re: PostBack Event not firing12/20/2003 9:02:10 PM

0/0

Hi, try build your control during the CreateChildControls method. Override it and then call this BUILD method. You might want to check that your hyperlinks have static IDs (like link1, link2, link3, and so forth).
-- Justin Lovell
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Learning C# 2005: Get Started with C# 2.0 and .NET Programming Authors: Jesse Liberty, Brian MacDonald, Pages: 528, Published: 2006
Visual Basic .NET: Your Visual Blueprint for Building Versatile Programs on the .NET Framework Authors: Richard Bowman, Pages: 352, Published: 2002
Pro ASP.NET 2.0 Website Programming Authors: Damon Armstrong, Pages: 641, Published: 2005
Web Development, Silverlight, and ASP. NET AJAX: From Novice to Professional Authors: Laurence Moroney, Pages: 427, Published: 2008
Beginning ASP.NET 1.1 with VB.NET 2003 Authors: Chris Ullman, John Kauffman, Chris Hart, David Sussman, Pages: 888, Published: 2003
ASP.NET for Developers Authors: Michael Amundsen, Paul Litwin, Pages: 458, Published: 2001
Expert ASP.NET 2.0 Advanced Application Design: Advanced Application Design Authors: Dominic Selly, Andrew Troelsen, Tom Barnaby, Pages: 459, Published: 2005
Developing Web Applications with Visual Basic.NET and ASP.NET Authors: John Alexander, Billy Hollis, Pages: 400, Published: 2002
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Beginning ASP.NET 1.1 with Visual C# .NET 2003 Authors: Chris Ullman, John Kauffman, Chris Hart, Dave Sussman, Daniel Maharry, Pages: 888, Published: 2004

Web:
Postback Event not firing - ASP.NET Forums Re: Postback Event not firing. 09-18-2007, 7:56 AM. Contact. Answer ... Re: Postback Event not firing. 09-18-2007, 9:57 AM. Contact ...
Masterpage's postback event not firing for a single page... - ASP ... Also, other postback events are firing... Just not a button click on the master page. Very strange. Dave. Re: Masterpage's postback event ...
dropdownlist postback not firing - .NET ASP dropdownlist postback not firing. Get answers to your questions in our .NET ASP forum.
btnSubmit.click not firing when another control does postback #Note: TextBox's Change event is not a postback event, .... firing both events on the server is actually what I want (I believe it's a ...
specific PostBack event not firing (handler not reached) after ... Hi, I'm having a problem with something that used to work. I'm not sure what I did, but when I click on either of 2 buttons to submit, or on a DataGrid ...
dnn.callpostback not firing postback eventhandler in module ... dnn.callpostback not firing postback eventhandler in module ... second module will not fire the server side postback event handler function. ...
Help, please: Postback event not firing without ViewState - .NET ASP Help, please: Postback event not firing without ViewState. Get answers to your questions in our .NET ASP forum.
DataGrid Paging Events not firing - Rick Strahl's Web Log Events firing, UI not updating by Gene October 15, 2004 @ 6:14 am How about this - I've got a user control with some post-back events that perform as the ...
user control load event does not fire on postback Talk about user control load event does not fire on postback.
dynamic loaded ascx delegate event not firing in parent form in ... dynamic loaded ascx delegate event not firing in parent form in .... Also if you don't create it with the same ID the postback events won't ...




Search This Site:










dnn templates : error from dataprovider class : from createprovider method

system.net.sockets.socketexception when using the httpwebrequest.getresponse

new module

not builiding the tables...

1st post be gentle

giving value to master page contents

page postback problems

recompile aspnetportal.dll

error when clickinh to tab on menu bar

field in database

adding an item to a dropdownlist

problems with user controls

problem with logviewer

referencing dynamic controls

dotnetnuke marketing project

helloworld tutorial part 2 - c#

av calendar images

drop down calendar

iframe question...

variable scope

system.invalidcastexception: unable to cast object of type 'asp.platform_epp_portfolio_eppmasterpage_master' to type 'masterpage'

problem using ms word com object

dumb question

to create a dynamic menu or treeview

asp.net process.start()

!!first fatbirdstudio skin available at snowcovered!!

best means of limiting crud

repopulate a gridview on separate tab

website in different languages

restricting access in web.config

 
All Times Are GMT