title: ASP.NET do not show eval in page - ASPxGridView
body: <p>I have hopefully a simple question.  I have a ASPxGridView that I need to pull data from and pass it to a function.  A simple way I figured to do this is to use a session variable.  </p>
  
  <p>But when I do the Eval binding it shows the characters on screen (as well as putting them into the variable).  How do I remove the characters from the screen?  Or maybe there is a easier way to do this.  </p>
  
  <p>Code is here (real meat is 4th line down):</p>
  
  <pre><code>            &lt;dx:GridViewDataButtonEditColumn Caption="" Name="Schedule" 
              VisibleIndex="11"&gt;
              &lt;DataItemTemplate&gt;
               &lt;%# Session["PatientID"] = Eval("PatientID")%&gt;
                    &lt;dx:ASPxButton ID="ASPxButton1"  runat="server" Text="Schedule"  OnClick="Button_Click" &gt;
                    &lt;/dx:ASPxButton&gt;
              &lt;/DataItemTemplate&gt;
  
          &lt;/dx:GridViewDataButtonEditColumn&gt;
  </code></pre>