I was curious if anyone had an issue when trying to use a variable which was set to request from user?
Basically I have a variable called Station. I have set the property "Request from User" set as checked. However when I run my report it does not display the prompt for this variable?
I must admit that I am picking up someone else's code here and it could be set to not to appear. So it may be as simple as setting one of the properties during the init of the StiViewerControl.
Code: Select all
string myTheme = assistant.SettingsHandler.GetSetting("MainForm", "scheme", "default");
switch (myTheme)
{
case "Blue": StiOptions.Windows.GlobalGuiStyle = StiGlobalGuiStyle.Office2010Blue; break;
case "Black": StiOptions.Windows.GlobalGuiStyle = StiGlobalGuiStyle.Office2010Black; break;
case "Silver": StiOptions.Windows.GlobalGuiStyle = StiGlobalGuiStyle.Office2010Silver; break;
default: StiOptions.Windows.GlobalGuiStyle = StiGlobalGuiStyle.Office2010Blue; break;
}
StiOptions.Viewer.Windows.ShowBookmarksPanel = false;