crazyboybert
Programmer
Hi All
This is not really something I'm having a problem with so much as something i'm wondering about. When you create a control which is not a button but has a postback event, e.g. a dropdownlist with a selectedindexchanged event and autopostback=true, then .NET outputs a client function called __doPostback which is used tot submit the form.
Does anyone know a way to tell .NET output this function regardless of wether it is needed by a webcontrol to handle the postback. Say i had a plain anchor I wished to use to submit the page via the client side onclick event. How can I tell .NET to output the __doPostback function so I can use it to handle the form submit.
Just a thought.
Rob
This is not really something I'm having a problem with so much as something i'm wondering about. When you create a control which is not a button but has a postback event, e.g. a dropdownlist with a selectedindexchanged event and autopostback=true, then .NET outputs a client function called __doPostback which is used tot submit the form.
Does anyone know a way to tell .NET output this function regardless of wether it is needed by a webcontrol to handle the postback. Say i had a plain anchor I wished to use to submit the page via the client side onclick event. How can I tell .NET to output the __doPostback function so I can use it to handle the form submit.
Just a thought.
Rob