I have a panel in C#:
Panel aspPanel = new Panel();
Button aspbutton = new Button();
aspbutton.Text = "Download PDF";
aspbutton.Click += initDownload;
aspPanel.Controls.Add(aspbutton);`
I have added Attributes and buttons and all kinds of cool dynamic stuff. But I want to just add simple text and so far am unsuccessful.
I’m looking for how to add text behind the button. In the end the HTML code would render something like:
<input type="button"/> Hello, this is a button, please click
Can someone point me in the right direction?
To add
Literaltext after the button: