title: DotNetNuke ObjectDataSource.SelectMethod not being saved in viewstate
body: <p>I'm using DotNetNuke 4.9.2 and am running into an odd issue.  </p>
  
  <p>I have a MultiView in the module that I'm developing, and in one of the views have a GridView that is bound to an ObjectDataSource.</p>
  
  <p>In a separate view, i have several buttons that will switch the SelectMethod of the ObjectDataSource in the 2nd view and then set that view active.  That all works fine, until the grid is sorted on the 2nd view - which causes a postback and the ODS somehow picks up its original SelectMethod.  The SelectParameters that are assigned at the same time in the code-behind stick though.</p>
  
  <p>Seems to me that the ObjectDataSource should be remembering the SelectMethod in viewstate, shouldn't it?</p>
  
  <pre><code>&lt;asp:ObjectDataSource runat="server" ID="MyObjectDataSource" SelectMethod="MyFirstSelectMethod" TypeName="Whatever"&gt;&lt;/asp:ObjectDataSource&gt;
  
  protected void Button1_Click(object sender, EventArgs e)
  {
      MyObjectDataSource.SelectMethod = "MyNewMethod";
      // more code here to change the parameters as well...
      MyMultiView.SetActiveView(MyView2);
  }
  </code></pre>
  
  <p>When I run that button click, the grid displays as expected.  When I click on one of the column headers for the GridView and break in the page load to inspect the SelectMethod, it has reverted to the one declared in the markup.</p>
  
  <p>Any suggestions as to what my problem could be here?</p>