You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ViewOptionText comes from a dictionary used for the list view choice list labels, so all but one (the option that works) they have spaces in them.
Consequently, using that for the selected index of ddlChoices fails because 'option' is derived from the Querystring and takes its value from another list (internal enum ViewOption) that no spaces in the values.
The text was updated successfully, but these errors were encountered:
knolly42
changed the title
URL parameter 'view=5' is the only one that changes the view
in FollowUps, URL parameter ?view=5 is the only one that changes the view
Feb 16, 2018
In FollowUps.ascx.cs
Can be fixed by changing line 121 from
ddlChoices.SetValue( ViewOptionText[option] );
to
ddlChoices.SelectedIndex = Convert.ToInt32(option);
ViewOptionText comes from a dictionary used for the list view choice list labels, so all but one (the option that works) they have spaces in them.
Consequently, using that for the selected index of ddlChoices fails because 'option' is derived from the Querystring and takes its value from another list (internal enum ViewOption) that no spaces in the values.
The text was updated successfully, but these errors were encountered: