Hi all,
I m trying to make an multi file upload by using RadAsyncUpload.
Project is working well on local but when i publish it, control does not include any uploaded file, so it does not enter the for loop and a exclamation mark appaers.
<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" TargetFolder="~\AttachPath"
TemporaryFolder="~\App_Data\RadUploadTemp" AllowedFileExtensions="jpg,jpeg,png,gif">
</telerik:RadAsyncUpload>
protected void lnkara_Click(object sender, EventArgs e)
{
PopulateUploadedFilesList();
ConfigDataContext data = new ConfigDataContext();
if (!string.IsNullOrEmpty(dropfleet.SelectedValue))
{
for (int i = 0; i < RadAsyncUpload1.UploadedFiles.Count; i++)
{
CNF_FILE_PATH newfile = new CNF_FILE_PATH();
string path = ConfigurationManager.AppSettings["filePatch"] ;
newfile.FILE_PATH = path + RadAsyncUpload1.UploadedFiles[i].FileName;
newfile.REGISTRATION = dropfleetlist.SelectedItem.Text;
newfile.FLEET_ID = dropfleet.SelectedValue.ToInt();
data.CNF_FILE_PATHs.InsertOnSubmit(newfile);
data.SubmitChanges();
sucsessful.Visible = true;
}
}
}
I have been trying to get the "RadProgressArea" control to work reliably. I have a process that allows the end user to build a list of reports to process, set a ton of options, then press a magic "go" button and generate all the requested documents. Everything actually works with the exception of the progress display.
The progress display currently is a "RadProgressArea" control configured along the lines documented elsewhere in the demo's covering "Custom Progress" configurations. I have a RadProgressManager and RadProgressArea controls on a standard master/client page website. The event process is fired off via a toolbar button being clicked in the header template of a RadGrid. The site is your standard C# 4.5 framework type website built using the Telerik suite of products including the Telerik Reports. Based upon my research I have a properly configured web.config file. My trust levels are set to Full so it is not a question of Reflection not being available.
My problem boils down to the process works some of the time. That is to say the Progress Area pops up and displays the data without error. The user is able to press the cancel button and everything works. Notice I said some of the time? Using the same hardware/software/selected options, the same process will not display the RadProgressArea control the next time (of course it isn't a every other time problem). This doesn't mean the process doesn't work, simply that the user display doesn't show the progress of the update and no option of canceling is given. In my particular case all the required reports get built so the end result is a happy user however they want their cancel button.
I have even gone so far as to forcibly show the progress area via client side code. While this does work, when it "fails", the shown progress area mysteriously "goes away" or is ghosted preventing user interaction with it. When it works it works irrespective to being forcibly shown.
Does anyone have any suggestions on paths to explore to solve my problems? Have I somehow reached a technical limit that I did not know of? Should I be looking toward some kind of Asynchronous web service of such? My goal is simply o give my users a progress display and the ability to cancel the task (subject to browser compatibility of course) in a reliable manner.
Hi
I use the RadPersistenceManagerProxy because I use MasterPages. All works fine!
Because I need to persist the RadDateTimePicker, which is not supported, I want to save it manually with the OnSaveCustomSettings function. How can I use this approach in child page will mean with the RadPersistenceManagerProxy?
Regards
Felix
Hi,
I was adding my style sheet in the client code of my page and my radscheduler looked fine. Then I decided to use RadStyleSheetManager to add my style sheet from the code behind and the radscheduler in my page lost all of its default styles... Do I need to load them too in addition to my style sheet and in that case how do I do that?
Hi,
I'm using RadTileList and creating the tiles dynamically based on user inputs. If user clicks on add, we will capture the data and create a tile and will Render in the UI. User can delete a tile, create a new tile with some inputs. We require Drag and Drop functionality and need to store the position of each tile. I'm using the below method to capture the position. ProjectAssetsTileList.GetAllTiles() is giving always "0" on page load. Please suggest a way to persist the TileList Tiles and Order.
protected List<
DomainDAL.ProjectAsset
> CaptureAssetPosition(List<
DomainDAL.ProjectAsset
> workingProjectAssets)
{
if (ProjectAssetsTileList.GetAllTiles().Count > 0)
{
foreach (DomainDAL.ProjectAsset asset in workingProjectAssets.Where(x => x.State != (int)Constants.AssetStatus.Deleted))
{
int position = ProjectAssetsTileList.GetAllTiles().FindIndex(x => x.Name == asset.AssetId.ToString());
asset.SequenceNumber = position;
}
}
List<
DomainDAL.ProjectAsset
> sorted = workingProjectAssets.OrderBy(x => x.SequenceNumber).ToList();
return sorted;
}
Hello,
I have a problem with show data in locked column on Internet Explorer 11. The problem appear for example when I expand some row or I added new to structure. When I use Chrome or Mozzila treelist behave good. Has anyone idea how fix this problem?
Thanks.
Hello Team,
We are using RadAsyncUplaod to select Multiple Files and save it to Azure Blob Storage on click of upload button, The functionality which we want to achieve is to encrypt the File on selection before saving it to Temporary folder.
Let me know how to achieve this.
Regards,
Ruchi
Hi,
I have a requirement to display a radwindow for every selected row in the radgrid. The content of the window is different for each row.
When I select multiple rows and click on a button, I need to display the radwindow one after the other. For example, if I select 5 rows and click on the button, I need to display the window 5 times.
In the button click event, I have the below code.
foreach (GridDataItem item in grid.SelectedItems)
{
window.VisibleOnPageLoad = true;
// Load the content for the window
}
However, the window gets loaded only once after completion of the foreach loop.
I also tried setting the Visible property of the window instead of using VisibleOnPageLoad. But in this case, the window is not displayed at all.
Is there a way to display the window first and then continue execution of foreach loop?
Thanks in advance.
Regards,
Sowmya