Last post Jun 29, 2012 02:45 PM by Himanshu Porwal
Jun 29, 2012 09:14 AM|clowndog|LINK
I have a gridview working fine, however I need when the page gets clicked an update occurs to update my grandtotal label- which is outside my gridview. If I click a button the grandtotal updates, otherwise it just shows totals for the current page its on.
I NEED to find a way to raise postback on a button whatever, though without user clicking on it ot cause postback. Any code help would immensly be appreciated. Have tried everything!!! By the way autopostback for entry on the gv for txtquantity is set to
false...I know if I turn it on it will work and everything will be fine, however when doing so it wrecks havock with lost focusing occuring on the textbox going row to row, hoever when autopostback is off she works fine. HELP!!!
Jun 29, 2012 11:04 AM|robert.westerlund|LINK
I'm pretty sure I'm not really understanding your problem correctly. Could you perhaps create and provide a small project with an isolated reproduction of your problem (a sample gridview, a totals label, etc), a description of steps to see the problem, the
actual result when following those steps and the expected result when following those steps? Given a reproduction of your problem it would be a lot easier to help you.
Jun 29, 2012 02:45 PM|Himanshu Porwal|LINK
Which version of .net you are using? If you are using 4.0 then you can define the properties for updatepanel that on which event it should get updated or how it needs to be updated.
As updateanel has triggers which can execute depending upon the event asigned to it.