I print a pdf with formfield , but now i want to get the date of a datepicker.
But .Text is not working , how do i get the date of the date picker ?
This is how i fill the formfield
(form.Fields["f1_13(0)"] as PdfLoadedTextBoxField).Text = Datepicker.Text;
Found a solution.
Made another Editor
Then before i print in the buttonclick for printing
Langszij.Text = Datepicker.Date.ToString("dd-MM-yyyy");
(form.Fields["f1_13(0)"] as PdfLoadedTextBoxField).Text = Langszij.Text;
Works
Answers
Found a solution.
Made another Editor
Then before i print in the buttonclick for printing
Langszij.Text = Datepicker.Date.ToString("dd-MM-yyyy");
(form.Fields["f1_13(0)"] as PdfLoadedTextBoxField).Text = Langszij.Text;
Works