Reputation: 190 Stalwart
- Active Posts:
- 683 (0.34 per day)
- 03-February 10
- Profile Views:
- Last Active:
- May 21 2015 06:47 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 21 May 2015You may need to delete the temporary files on the server, IIS may not be seeing your changes.
Pay attention to the Compilation Output section.
Understanding ASP.NET Dynamic Compilation
Posted 4 May 2015To make sure that it is posting back, place a breakpoint in the Page_Load method and on in the ddlFaculty_SelectedIndexChanged method.
Other things to check:
Is the dropdownlist inside any update panels?
Posted 29 Apr 2015It does not look like you are building a valid path to a image. Check you code at lines 1 and 2. At what point do specify the actual image file name?
Posted 30 Mar 2015Try using a textbox -
<asp:TextBox runat="server" ID="txtDisplayPdfText" TextMode="MultiLine" Width="100%" Rows="25" ReadOnly="True"></asp:TextBox>
If the text displays in the textbox the way that you want it too then to get it to display in the label you will probably have to do a replace.
String displayText = pdfText.ToString(); // this is to html encode all characters that could be interpretted as html '<', '>', '&' etc... // we do this before we do the replace - because with the replace we are inserting html that we want to remain that way displayText = Server.HtmlEncode(displayText) displayText = displayText.Replace(Environment.Newline, "<br />");
Posted 30 Mar 2015And what code have you tried?
- Member Title:
- D.I.C Addict
- Age Unknown
- February 2
- my family, reading, programming, DDO
- Full Name:
- Years Programming:
- Programming Languages:
VB.NET, C#.NET, ASP.NET, SharePoint 2007 - 2010 development,