I\'m using Page.ClientScript.RegisterStartupScript for displaying alert messages. it works fine for the first message, however second message wont display. Though i
Use different type or key to register second script as:
A client script is uniquely identified by its key and its type. Scripts with the same key and type are considered duplicates. Only one script with a given type and key pair can be registered with the page. Attempting to register a script that is already registered does not create a duplicate of the script.
(taken from MSDN)
or just concatenate both script string.
Page.ClientScript.RegisterStartupScript(GetType(), "msgbox", "alert('FiveDot File uploaded successfully'); alert('TwoDot File uploaded successfully');", true);