asp:HyperLinkField inside Gridview in Ajax:Update panel
-
I have a gridview with the HyperLinkField. When I click on the HyperLink in the Gridview The Content of the row must be populated in the fields above the Gridview. Here the DataNavigateUrlFormatString is the same page. Currently the page loading with the contents of selected row from the gridview,but Postback is occuring. I don't want to refresh the page, When i click on the Hyperlink. Please help me out. Thanks in Advance, Sowmya K
-
I have a gridview with the HyperLinkField. When I click on the HyperLink in the Gridview The Content of the row must be populated in the fields above the Gridview. Here the DataNavigateUrlFormatString is the same page. Currently the page loading with the contents of selected row from the gridview,but Postback is occuring. I don't want to refresh the page, When i click on the Hyperlink. Please help me out. Thanks in Advance, Sowmya K
Hello, I'm not sure I understand your question, but at least I understand a part of it. For the " don't want to refresh the page, When i click on the Hyperlink" question, here is the answer : The only way to not refresh the page on a hyperlink click is to call some client side action, such as javascript. For the rest of your question, I guess you want to copy the current row to the fields you might have created upside from your gridview. To achieve that, you could use a javascript method (so there will be no page refresh) and copy the data into the fields. This could be a simple call on the hyperlink such as href="javascript:SomeMethodThatCopyDataToFields('data1','data2');" Cheers
______________________ Dominic Goulet FroggedSoft My blog