Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, June 29, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Problem attaching in Dialog
David Lumm
Posts: 87
 
Problem attaching in DialogYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Jun 10 4:48 AM
Hi Folks

We've got a custom addition to the Ticket page, a dialog fired from the TicketDetails form that mimics the add attachment functionality on the OOTB tab. Unfortunately it appears that this causes some problems if used when the Attachment tab is also selected. After attaching you get an error which states that a RadProgressManager could not be found on the page.

We believe this may be because of there being two on the page (i.e. one in the tab and one in the dialog) but removing either of them causes problems when they're not both showing.

Has anyone had any experience of this or a similar problem, does anyone have any ideas how we can fix it.

As a workaround, we're looking at using the tab "add attachment" when the tab is present, but it would be nice if we could use our dialog permanantly.
[Reply][Quote]
Mike LaSpina
Posts: 116
 
Re: Problem attaching in DialogYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Jun 10 2:54 PM
Dave,
This is a drawback of the RAD controls. Unfortunately, the RAD controls are a little odd. If you look at the attachments page, you will notice that a div is shown in order to get the RAD file upload control to render to the page. It's a little odd, but you need to model your dialog after that page in order to see that RAD control as well as the progress meter.

First thing, make sure you have the following in your dialog smartpart - this means that you'll need a custom control as there's no easy way to register these on quickforms:
<%@ Register TagPrefix="radU" Namespace="Telerik.WebControls" Assembly="RadUpload.NET2" %>


Next, you need to have some action show the Upload Control in order to get ti to render properly. This is a RAD limitation. Something along the lines of this would do the trick assuming your RAD file upload control is in the 'FileDiv' div:
RadProgressContext context = RadProgressContext.Current;
setMeter();
context["PrimaryValue"] = "";
context["PrimaryPercent"] = "0";
FileDiv.Style.Add(HtmlTextWriterStyle.Display, "inline");

Once they choose a file and click 'Upload', you need to manually set the Progress meter values:
RadProgressContext context = RadProgressContext.Current;
setMeter();
context["PrimaryValue"] = "Doing Something";
context["PrimaryPercent"] = "10";
// Call upload - the meter will automatically update - you will not even see it if the file is small


My SetMeter Function just resets that progress meter:
radUProgressArea.DisplayCancelButton = false;
radUProgressArea.ProgressIndicators = ProgressIndicators.TotalProgressBar | ProgressIndicators.TimeElapsed | ProgressIndicators.TotalProgress;
RadProgressContext context = RadProgressContext.Current;
context["PrimaryTotal"] = "1";
radUProgressArea.Localization["Uploaded"] = string.Empty; ;
radUProgressMgr.Visible = true;
radUProgressArea.Visible = true;
context["PrimaryValue"] = string.Empty;
context["PrimaryPercent"] = string.Empty;








[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/29/2025 11:52:31 PM