title: how to set session variable during click in context menu asp.net
body: <p>I have question how can I set session variable during click element in content menu. I have code like this: </p>
  
  <pre><code>&lt;dl  id='K15m'&gt;
       &lt;dt&gt;&lt;asp:imagebutton id="K15"  runat="server" ImageUrl="images\pict.gif"&gt;&lt;/asp:imagebutton&gt;&lt;/dt&gt;
    &lt;dd&gt;&lt;a  href='page1.aspx'&gt;page1&lt;/a&gt;&lt;/dd&gt;
    &lt;dd&gt;&lt;a  href='page2.aspx'&gt;page2&lt;/a&gt;&lt;/dd&gt;
    &lt;dd&gt;&lt;a  href='page3.aspx'&gt;page3&lt;/a&gt;&lt;/dd&gt;
   &lt;/dl&gt;
    &lt;script type='text/javascript'&gt;
        new Menu('K15m', 'position: absolute;', true, false);
    &lt;/script&gt;
  
  &lt;dl  id='K20m'&gt;
       &lt;dt&gt;&lt;asp:imagebutton id="K20"  runat="server" ImageUrl="images\pict.gif"&gt;&lt;/asp:imagebutton&gt;&lt;/dt&gt;
    &lt;dd&gt;&lt;a  href='page1.aspx'&gt;page1&lt;/a&gt;&lt;/dd&gt;
    &lt;dd&gt;&lt;a  href='page2.aspx'&gt;page2&lt;/a&gt;&lt;/dd&gt;
    &lt;dd&gt;&lt;a  href='page3.aspx'&gt;page3&lt;/a&gt;&lt;/dd&gt;
   &lt;/dl&gt;
    &lt;script type='text/javascript'&gt;
        new Menu('K20m', 'position: absolute;', true, false);
    &lt;/script&gt;
  </code></pre>
  
  <p>It works like this. When I move mouse over image pict.gif  JS script shows elements from DL list. I would like to set session variable (session("myvar")) to 5 when I click on element from K20m list's and set variable to 10 when I click on element from K15m list's
  All code is written in VS2010. 
  please help .</p>