Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 29, 2012 01:45 PM by Himanshu Porwal
Jun 29, 2012 08:14 AM|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 10:04 AM|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 01:45 PM|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.