Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
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: Resizing the DialogService popup
Daniel
Posts: 12
 
Resizing the DialogService popupYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Oct 07 6:27 AM
Hi,

I have added my own custom validation in InsertContact.ascx. This looks as follows:

this.DialogService.ShowMessage("<div style=color:red><b> Please enter the following fields:</b></div>" + "<br><ul>" + validationString + "</ul>" + "<br><div style=color:red>(Fields marked with a * are mandatory)</div>");

The problem is that there is a long list of mandatory fields so the dialog window box ends and the text continues to run below it (past the bottom line of the popup box). I've tried resizing it in the following ways (before the code above):

this.DialogService.SetSpecs(300, 300, 1000, 800, "");
this.DialogService.SetSpecs(300, 300, 1000, 800, null);

Both do not error but do not affect the size. I'm not sure what to do with the last parameter since my understanding is that you can pass in a smartpart here but I don't want to do that.

I've also tried the following:

this.DialogService.DialogParameters.Add("Height", 500);
and
this.DialogService.DialogParameters.Add("height", 500);

Neither have any effect. Has anyone managed to resize this dialog and if so how?

Thanks very much,

Daniel
[Reply][Quote]
Daniel
Posts: 12
 
Re: Resizing the DialogService popupYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Oct 07 6:32 AM
Sorry the HTML I'd pasted in mucked up the formatting. Please see below;

Hi,

I have added my own custom validation in InsertContact.ascx. This looks as follows:

this.DialogService.ShowMessage(validationString);

The problem is that there is a long list of mandatory fields so the dialog window box ends and the text continues to run below it (past the bottom line of the popup box). I've tried resizing it in the following ways (before the code above):

this.DialogService.SetSpecs(300, 300, 1000, 800, "");
this.DialogService.SetSpecs(300, 300, 1000, 800, null);

Both do not error but do not affect the size. I'm not sure what to do with the last parameter since my understanding is that you can pass in a smartpart here but I don't want to do that.

I've also tried the following:

this.DialogService.DialogParameters.Add("Height", 500);
and
this.DialogService.DialogParameters.Add("height", 500);

Neither have any effect. Has anyone managed to resize this dialog and if so how?

Thanks very much,

Daniel
[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 © 2024 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): 11/26/2024 11:55:05 AM