I have telerik 2011.3.1305.35 -> Q3.
In a sharepoint 2010 visual webpart I have a RadTreeView control, when some particular menu options are selected I want to open radwindow(s) which has an asp:updatepanel and within which I have another radtree,radgrid,repeator, RadAynscUpload (not all in same window).
Folowing is the code I have for this requirement:
Issues I am facing currently:
1) Every time I click on any of these menu options the page is getting refreshed and then radwindow is getting opened, Can we avoid page refresh and just simple open radwindow?
I have also tried asp:fileupload (even though its not multiple upload) it is uploading the documents correctly but it is closing the radwindow even though I specified trigger for the button.
You can add the AsyncUpload and ProgressManager to a new VisualWebPart.
Then you can test if the upload works (uploads files) firstly with, and then without the ProgressManager(simply remove it from the webpart) – I am sure that this will help you find out what causes the error.
I have one rad window with RadAsyncUpload and one asp.net button in window . i want to create -- after user click on the button the file is uploaded on server and rad widow gets close. i was completed this task ...but my problem is after the clicking to button my page gets postback and reloaded any way to stop to reload hole page .
I tried using Updatepanels -> Control templates -> Uplad button and outside button panel I used triggers which takes care of postback.....I think it works in ASP.net application, but if you are into Sharepoint and opening a usercontrol in radwindow then this wonot work, meaning you would not see the flicker (postback) but the document will not get uploaded and hence I created an application page and opened it in radwindow and hence on button click my application page will get refreshed not my original page ....
answered on 15 Aug 2012, 08:31 AM
I tried to reproduce the issue you described but to no avail. Would you please share the exact isolated code that will help us observe the described issue that works properly in ASP.net application and does not work in SharePoint? Please remove all the controls and code that are not directly connected to the issue so we can inspect it and be more helpful.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.