This is a migrated thread and some comments may be shown as answers.

jQuery fade-in div does not remain after server side onclick handling

1 Answer 90 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
David Fox
Top achievements
Rank 1
David Fox asked on 11 May 2010, 06:40 PM
Page has RadScriptManager and a RadWindowManager for separate functionality. I have added a div to get a jQuery fade-in effect (http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/). Inside div is a user control MyUploader (http://www.c-sharpcorner.com/UploadFile/munnamax/bulkuploader03272007031417AM/bulkuploader.aspx) with ListBox for adding files and buttons for adding, removing and uploading (POST'ing) to UploadPost.aspx. When clicking buttons, the fade-in disappears--I want it to remain on screen when adding and removing. The "Add" and "Remove" asp:Button's have OnClick handlers in the code-behind. MyUploader control is surrounded by <form id="frmUpload action="UploadPost.aspx">...</form>

However, clicking the upload asp:Button behaves exactly as above. No post and the fade-in disappears. The ListBox manages to hang on to any files added, but the fade-in initially disappears. I don't think asp:UpdatePanel's are allowed with RadScriptManager, but is there some kind of UpdatePanel-equivalent to add around the MyUploader to make it async? What am I missing?

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 12 May 2010, 11:42 AM
Hello David,

I am afraid it is not clear why you think the problem is related to RadControls. I inspected the link that you have provided and the popup element hides automatically when you click somewhere outside it.

In addition, you can use asp:UpdatePanels with RadScriptManager.

Sincerely yours,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Ajax
Asked by
David Fox
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or