The great thing about Javascript is that it is there in your page
source, and you can see what it does.

        function __doPostBack(eventTarget, eventArgument) {
                var theform;
                if (window.navigator.appName.toLowerCase().indexOf("netscape") 
> -1) {
                        theform = document.forms["_ctl0"];
                }
                else {
                        theform = document._ctl0;
                }
                theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
                theform.__EVENTARGUMENT.value = eventArgument;
                theform.submit();
        }

All __DoPostBack does is 
a) set the values of the event target and and argument, so the page
knows what the user did and the post back model can route the call
properly
b) submits the form (performs the post back)


On Tue, 22 Mar 2005 09:33:49 +0000, AHMET GULBAS <[EMAIL PROTECTED]> wrote:
> 
> is there any good articles about javascript:__doPostBack('','') ,which is
> automatically generated by vs.net,what it is doing and how it is
> doing..thanks.
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 


-- 
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to