Reputation: 190 Stalwart
- Active Posts:
- 682 (0.36 per day)
- 03-February 10
- Profile Views:
- Last Active:
- Yesterday, 10:18 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
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?
Posted 30 Mar 2015Have you tried putting a break point in your delete method, to make sure that the SelectedNode is what you think it is? It could be possible that by clicking on the confirmation button for the delete the node is getting unselected, but a break point would confirm it.
- 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,