I am using an OnDrawCommandClick event to change the value of a field on a
user click. Following that, I would like to refresh the page, so the
OnGetText event could execute.
Is there a way to refresh the current page without going to the next and
back, manually ?
Comments
tell the screen device to rerequest the page. The drill down subreport
behavior does this. There is a method on the report to reset from a given
page number. This clears all pages from that page forward and they are
regenerated. You can ask the Viewer to go to a page. However,
Viewer.GoToPage has a check to keep it from going to the same page, so that
doesn't work. You have to make a page request on the screne device. Here is
a simepl example. Go to page two and click the blue label. Then check out
the OnDrawCommandClick event handler for the label.
http://www.digital-metaphors.com/tips/DrawCommandClickReRequestPage.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com