Hi all, I am trying to pass value of a code behind variable to a user control like:
<pv1:ShowPdf ID="ShowPdf2" runat="server" BorderStyle="Inset" BorderWidth="2px" FilePath='<%=path2%>'
Height="700px" Width="856px" />
where path2 is a protected string variable declared in code behind. The problem is that the value of path2 is not being passed to the FilePath. What is the mistake I am making? Simply doing <%=path2%> gives me correct value of the path2 variable on the page. Any help will be most appreciated.
-- Ali