title: I want to change the textButton in asp from my Resources
body: <p>I have a little situations.
  I have one button who needs to change when one flag from my database have some value.
  I can make it simple, but I need to make it from Resources because when the user change language, the text needs to change on proper language.</p>
  <p>.ascx code:</p>
  <pre><code>&lt;div class=&quot;&quot; style=&quot;text-align: right; margin-top: 5px; padding-top: 5px; text-align: right;&quot;&gt;
      &lt;asp:Button ID=&quot;btnSave&quot; runat=&quot;server&quot; Text=&quot;&lt;%$ Resources:Resource, Save %&gt;&quot; OnClick=&quot;OnSaveClick&quot; CssClass=&quot;btn btn-primary&quot; /&gt;
  &lt;/div&gt;
  </code></pre>
  <p>.cs code :</p>
  <pre><code> Customer c = new Customer().GetById(Convert.ToInt32(curentId));
  
          if (c.Image == null)
              imgProd.ImageUrl = &quot;/styles/img/defaultProduct.jpg&quot;;
          else
          {
              string strBase64 = Convert.ToBase64String(c.Image);
              imgProd.ImageUrl = &quot;data:Image/jpg;base64, &quot; + strBase64;
          }
          if (c.Lead == 1)
          {
              btnSave.Text = &quot;Save as Partner&quot;;
          }
  </code></pre>
  <p>I want to make something like this:</p>
  <pre><code>btnSave.Text = Resources:Resource, SaveasPartner;
  </code></pre>
  <p>I hope I made myself clear abouth what I am trying to do.</p>
  <p>Thanks</p>