Show Div when Grid Item is Clicked - Javascript not Updating Panel
<p>On one aspx page I have a GridView that has a list of Thingys that are loaded from db. This is placed in one div. </p>

<p>In another Div with display=none I have the form to add a new thingy. </p>

<p>I also have a link [add new thingy] that hides the gridview div and shows the content of the form. </p>

<p>I am using JS methods to hide and show the Divs. </p>

<p>Now in the grid the first column is also a link that I want to load the form with the Thingy info without postback. </p>

<p>Currently the problem is that if I use the Grid's OnRowCommand I get a postback. </p>

<p>1) how can I remove that postback and load the form in the second Div</p>

<p>2) a similar issue is on save form, I can switch back to the gridview div using js really quickly but how do I reload the grid with the newly saved Thingies. </p>

<p>I am open to a completely different approach if it solves the issue. I chose this approach over the much easier UpdatePanel because its much faster to switch between the contents without a postback.</p>

<p>Thanks in advance. </p>
