I know why this is happening but not sure how to fix it.
I have a panel like this in an UpdatePanel:
<div id="pnlOrderItems" runat="server">
<asp:Button runat="server" ...>
I click on that button and I want to update a text on a linkbutton THAT IS OUTSIDE that updatepanel. Code is correct but i think because that textbox is outside the panel, that's why it doesnt get updated.
Anyway to do this? This is the linkbutton i want to update. The text remains as "No Data". If I come back to the page, it shows the correct text.
***If I make the linkbutton part of the updatepanel, then it works. I cant do this tho because of the position of the link button. It has to be on top.
<asp:Content ID="Content2" ContentPlaceHolderID="PageMenu" Runat="Server">
<asp:Button ID="hlViewTranHistory" Visible="false" runat="server"/>
<asp:Label ID="lblNoTransactions" runat="server" Visible="false" Text="No Data."></asp:Label>