Hi,
thank you for your code.
When the property
ShowTextBox is not set to true, the code which creates path to image is not executed. If you need to hide a textbox you can set the property to true, use your code and add following code in your control to hide the textbox:
protected void Page_Load(object sender, EventArgs e)
{
mediaSelector1.ImagePathTextBox.Attributes.Add("style", "display: none;");
}
Best regards,
Ivana Tomanickova