K
Ken Varn
I have a made a custom control that requires postback. The control relies
on the __dopostback() function to be in place in order for it to do the
postback. I actually call this function directly when I need my control to
do a postback using javascript.
In my PageLoad event for the control, I have called the
Page.RegisterRequiresPostback() function and have implemented the
IPostbackEventHandler and IPostbackDataHandler interfaces in my custom
control class. The control normally works fine and posts back when it needs
to if there are other postback controls on the page. However, if my control
is the only postback control on a page, the __dopostback() function is never
rendered to the page, and my control cannot perform a postback. Is there
some reason why the __dopostback() function is not rendered to the page when
my control is the only postback control on the page? Are there any
suggestions on how I can make this work?
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
on the __dopostback() function to be in place in order for it to do the
postback. I actually call this function directly when I need my control to
do a postback using javascript.
In my PageLoad event for the control, I have called the
Page.RegisterRequiresPostback() function and have implemented the
IPostbackEventHandler and IPostbackDataHandler interfaces in my custom
control class. The control normally works fine and posts back when it needs
to if there are other postback controls on the page. However, if my control
is the only postback control on a page, the __dopostback() function is never
rendered to the page, and my control cannot perform a postback. Is there
some reason why the __dopostback() function is not rendered to the page when
my control is the only postback control on the page? Are there any
suggestions on how I can make this work?
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------