Do the functions like document.RPApplet.UPLOAD return any value to indicate whether it completed successfully? or do we rely on the setStatus_RP again? For instance in my html code in ASP .NET:
<asp:Button ID="btnSave" runat="server" Text="Save" class="normalbuttons" OnClientClick="UPLOAD_RP();" OnClick="btnSave_Click" />
Upon clicking of Save (it is the Upload Button) I call first the UPLOAD_RP javascript function. I want the btnSave_Click function to be called only if UPLOAD_RP was successful (returns true), this can be done: OnClientClick="return UPLOAD_RP();"
but do the UPLOAD function of the applet return true or false? or 1 or 0? if not, then do you know how i can go about my problem?
thanks a lot
applet functions
Started by Guest_Nanit_*, Jan 11 2008 08:32 AM
1 reply to this topic
#1 Guest_Nanit_*
Posted 11 January 2008 - 08:32 AM
#2
Posted 11 January 2008 - 03:52 PM
You have to use setStatus_RP() function. Applet sends messages to this function. The list of messages is in the Table 5a in the User's Guide. Message #7 is Uploaded.
Call the btnSave_Click function if num=7 ( num is argument of setStatus_RP() ).
Hope it can help you.
Call the btnSave_Click function if num=7 ( num is argument of setStatus_RP() ).
Hope it can help you.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












