I am trying to open a new window when a user clicks a button but need to pass 'CallLogID' into my query parameters. For the life of me I can not seem to get the CallLogID to show up. The value of CallLogID is in a datafield set to Display="False". I have tried using <%# Eval() %> but maybe I am not using the appropriate escape characters. Any help would be much appreciated.
Here are my code snippets that are currently working to open a new tab and navigate to the specified URL.
<telerik:GridTemplateColumn HeaderText="Follow Up" UniqueName="FollowUp">
<HeaderStyle Width="22%" />
<ItemStyle Width="22%" />
<ItemTemplate>
<asp:LinkButton ID="lnkFollowUp" runat="server" OnClick="FollowUpView" ToolTip="Follow Up">
(<%# Eval("FollowUpCount") %>) view
</asp:LinkButton>
<asp:Literal ID="separator" runat="server" Text=" | " />
<asp:LinkButton ID="FollowUpAdd" runat="server" Text="add" ToolTip="Follow Up" OnClientClick="window.open('addfollowuptocalllog.aspx?calllogid=', '_blank'); return false;"/>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="CallLogID" UniqueName="CallLogID" Visible="True" Display="False">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
</telerik:GridBoundColumn>