Can you post an example? This is what I have but it doesn't work. The second command link is where I want to collect the user input value.
td = new
"Save this screen customization as...";
TaskDialogButtonData button =
"Customization name will be " + CurrentScreenName);
//button = new TaskDialogButtonData(1, "User Named", "Customization name will be " + CurrentScreenName + "_" + UserSession.PersonId);
Button btn =
StackPanel sp =
TextBlock tbl =
Run("Type new customization
TextBox tb =
btn.Content = sp;
Sorry it took so long to answer. I haven't been watching this space for a while, but I'm planning on a new release in the following month.
To answer your question: yes, it is quite possible. You can create a TaskDialog instance and add a CommandLink to the CommandLinks collection. You can put any content in the command link, including a text box (or assign it a content template). Then, when the
dialog returns, you can inspect the value in the TaskDialogResult.Button property (which will give you the CommandLink instance).
I'm aware that this scenario is not perfect and I will be improving it in the upcoming version.