__doPostBack is added automaticly by .NET my guess HtmlForm object creates
it once it decides it need it.
Not sure how to make it appear programmatically but I have a workaround.
Just drop LinkButton on your form and specify empty text for it. Thus link
will not be visible but __doPostBack will be created on the Form
George.
"Smokey Grindel" <no****@nospam.netwrote in message
news:e0**************@TK2MSFTNGP04.phx.gbl...
>I have a page with no ASP.NET controls on it put I have links that use the
__doPostBack('','') javascript method on it, it wont work, oh course I know
why, the script isnt registered.. because if you add a asp.net control to
the page suddently it works! remove it, it gives an error on clicking...
how do you get the scripts needed for it to register without having to
place a control on the form? thanks!