You can see what I am trying to do below. Two ways I have tried to do the same thing, but neither of these work. What is the fundamental here that I don't get?
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="javascript:$('#<%= fileInput1.ClientID%>').uploadifyUpload()">
</asp:HyperLink>
OR
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl='<%= GetJavascriptString()%>'>
</asp:HyperLink>
public void GetJavascriptString()
{
return "javascript:$('#" + fileInput1.ClientID + "').uploadifyUpload();";
}
There have been several answers that work and don't work. I think that James Curran has what I was looking for though. The reason, although I'm not sure why my code doesn't work AND a fix for it. Thanks for all your answers.