I have a frameset1.htm which has 3 frames(top: search.aspx , left: navigation.aspx, right: main_content.aspx) and other webforms too.


I have a search textbox at the (top frame: search.aspx), that allow user to enter words to search for products and upon clicking the "search" button, it will return the result at the (right frame: searchProduct.aspx). searchProduct.aspx contains my datagrid.

Problem: When i clicked on the "search button", it shows the datagrid at the (top: search.aspx) instead of the right frame. So, how could i target the result to the right frame upon clicking the button.