Problem displaying different pdf documents one at a time on an Iframe
-
I have a dropdownlist and based on its selected value I want to display the appropriate pdf document. This is the code under the dropdownlist protected void ddlBasicConcept_SelectedIndexChanged(object sender, EventArgs e) { if (ddlBasicConcept.SelectedValue.Equals("Variable")) { ShowPdf1.Visible = true; ShowPdf1.FilePath = "file///C:/Documents and Settings/lingwatil/My Documents/VisualStudio2008/websites/LearningConceptsB/asp.net_tutorial01_Basics_cs.pdf"; showpdf1 is my Iframe and this is the ERROR I'm getting, please help. Server Error in '/LearningConceptsB' Application. -------------------------------------------------------------------------------- HTTP Error 400 - Bad Request. -------------------------------------------------------------------------------- Version Information: ASP.NET Development Server 9.0.0.0
ML Lingwati