Need to call Silverlight Handler event and then serverside event on Page submit.
Posted
by Shivkant
on Stack Overflow
See other posts from Stack Overflow
or by Shivkant
Published on 2010-03-19T09:26:24Z
Indexed on
2010/03/19
10:01 UTC
Read the original article
Hit count: 142
I have a Silverlight control on page which has a upload control. the silverlight exposes some events such as
StartUpload() => To start the file upload,
StopUpload() => To stop the file upload if running,
CheckFileStatus() => to check the status of the file upload.
The page has aspx Submit button with onclientclick event and ocClick event.
<asp:Button ID="btn_upload" Text="External Upload" runat="server" OnClientClick="Javascript:StartUpload();"
OnClick="btn_upload_Click" />
When I click on the aspx Submit Button, the file selected in Silverlight control should be uploaded and after the completion of upload, the Server side event should get called.
I tried for it but was not able to do so.
Please help me out!....
© Stack Overflow or respective owner