RE: programmaticaly invoke the button onclick method InvokeOnClic
- From: cindy <cmello@xxxxxxxxxxxxx>
- Date: Thu, 27 Apr 2006 08:57:02 -0700
Unfortunately you are only validating the flow not giving any example of how
to invoke the CmdClose onclick method programmatically. I have registered see
the code some client script to close the form. I have tied that script to
CmdClose button if I manually click the button the modal will close. The
code I have in the CmdUpload button works great, the form data gets uploaded.
Please help me now with the next part. How do I invoke the CmdClose button
onClick method after completion of the upload, for example
cmdUpload onClick()
{
//data uploaded
// how do I force
cmdClose.CLICK(); //?????????????????????????????????????????/
}
--
cindy
"Steven Cheng[MSFT]" wrote:
Thanks for the response cindy,.
IMO, for such scenario, the main flow of the dialog and opener page should
be as below:
In Model dialog page, the user upload the file and then the page register
some client-script and postback, in the script, if necessary, we can use
script to invoke another button's postback event(then do some additional
work at server-side). After that, still register some script to
programmatically close the model dialog itself.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
- Follow-Ups:
- RE: programmaticaly invoke the button onclick method InvokeOnClic
- From: Steven Cheng[MSFT]
- RE: programmaticaly invoke the button onclick method InvokeOnClic
- References:
- RE: programmaticaly invoke the button onclick method InvokeOnClick no
- From: Steven Cheng[MSFT]
- RE: programmaticaly invoke the button onclick method InvokeOnClic
- From: cindy
- RE: programmaticaly invoke the button onclick method InvokeOnClic
- From: Steven Cheng[MSFT]
- RE: programmaticaly invoke the button onclick method InvokeOnClic
- From: cindy
- RE: programmaticaly invoke the button onclick method InvokeOnClic
- From: Steven Cheng[MSFT]
- RE: programmaticaly invoke the button onclick method InvokeOnClick no
- Prev by Date: C# Interview questions
- Next by Date: Re: Problem reading an XML string without first writing to disk
- Previous by thread: RE: programmaticaly invoke the button onclick method InvokeOnClic
- Next by thread: RE: programmaticaly invoke the button onclick method InvokeOnClic
- Index(es):