Aug 30, 2007 - 05:09 AM
Do I understand you correctly? When a visitor selects the "View / Update" menu option on page wfmMAIN.aspx they are going to be directed to wfmCUST_SEARCH.aspx. Once they land on wfmCUST_SEARCH.aspx you want to automatically "fire" the event that would be fired by the "Search" button. Is that correct?
If so, the easiest way would be to fire it from the Page_Load() event...such as:
public partial class wfmCUST_SEARCH : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
protected void btnSearch_Click(object sender, EventArgs e)
// do something magical here
If I'm not understanding the intent of your code, please provide a more detailed explanation and I'll see if I can come up with a few more suggestions.