Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Nidhee #1
LoadPostData method called twice
Hi Everyone,
I am building an ASP.NET server control. It implements the
IPostBackDataHandler interface. My code contains implementation for
both LoadPostData and RaisePostDataChangedEvent methods. In the
RaisePostDataChangedEvent, I do database updation, insert/update. The
problem is that the LoadPostData method is called twice, once before
the Page Load and once after it. As a result, the
RaisePostDataChangedEvent is also called twice resulting in multiple
insertions in the database. Can anyone suggest a solution to this
problem?
Regards,
Nidhee
Nidhee Guest
-
Why LoadPostData() is not called?
After pressing button its text becomes clear and no matter what text has been entered in textbox near it. Whats wrong to my project? ... -
LoadPostData is not called with custom control within datagrid
I have created a custom control which maintains the client values correctly when the control is placed on a web form. The problem: when i place... -
Child OnPreRender method not being called.
I am creating a new control that inherits from the asp:calendar control so I can add some additional functionality. The way I decided to do this... -
how can method of a parent get name of what subclass its being called from?
I'm very unhappy with the error message that I'm giving in this method: /** * 11-23-03 - getter * * We want to run the query against a... -
Called as method or subroutine?
Hi is there a way to make a sub/method compatible with the two following calling methods? 1. MyClass::mySub(); 2. MyClass->mySub(); Using... -



Reply With Quote


