title: Visual Studio Warning "Content is not allowed" in ASP.NET project
body: <p>I am just started working as a programmer last month, so there will be plenty of newbie question come from me, stay tuned... I am now working on modify the provided template (from DevExpress) to create new web form using ASP.NET 2.0 on Visual Studio 2008.</p>
  
  <p>While the functionality of that web form is there, I am in the process of get rid of ninety something warning message, most of them come from the provided template.</p>
  
  <p>One of them puzzled me for a while is this one:
  "Warning    75  Content is not allowed between the opening and closing tags for element 'ClientSideEvents'."</p>
  
  <p>And here is the code:</p>
  
  <pre><code>&lt;dxe:ASPxListBox id="edtMultiResource" runat="server" width="100%" 
  SelectionMode="CheckColumn" DataSource='&lt;%# ResourceDataSource %&gt;' Border-BorderWidth="0"&gt;
      &lt;ClientSideEvents SelectedIndexChanged="function(s, e) {
      var resourceNames = new Array();
          var items = s.GetSelectedItems();
          var count = items.length;
          if (count &gt; 0) {
              for(var i=0; i&lt;count; i++) 
                  _aspxArrayPush(resourceNames, items[i].text);
          }
          else
              _aspxArrayPush(resourceNames, ddResource.cp_Caption_ResourceNone);
          ddResource.SetValue(resourceNames.join(', '));
      }"&gt;&lt;/ClientSideEvents&gt;
  &lt;/dxe:ASPxListBox&gt;
  </code></pre>
  
  <p>I couldn't see anything wrong with the code myself, so please help me out here.</p>