I've got a couple pages that utilize the RadBook control and then RadButtons using the BookCommands to turn pages. However, the buttons don't enable when the document is loaded. If I change a page by clicking in the top left corner (or dragging the corner), then the buttons enable.
On one page, the RadBook is integrated with the RadRichTextPageView like the sample. The word document is retrieved as a byte array from a web service and then loaded into the RadBook control. However, the RadButtons for Previous and Next page don't enable at this time, regardless of how many pages are loaded. Is there something that has to be done to enable this?
Similarly, I have another page which loads a series of images from a webservice and adds them manually to the RadBook.Items collection (byte array --> Bitmap Image --> Image --> RadBook.Items.Add). Initially, three pages are loaded, with pairs of pages being added when the PageChanged event is fired. The same behavior for the RadButtons (using the BookCommands) is experienced, where even though 3 pages are there, the next button is not enabled. If I manually change the page, then suddenly the Previous button is enabled. Is there some command that I have to use to enable these buttons right away?
Thanks.
On one page, the RadBook is integrated with the RadRichTextPageView like the sample. The word document is retrieved as a byte array from a web service and then loaded into the RadBook control. However, the RadButtons for Previous and Next page don't enable at this time, regardless of how many pages are loaded. Is there something that has to be done to enable this?
Similarly, I have another page which loads a series of images from a webservice and adds them manually to the RadBook.Items collection (byte array --> Bitmap Image --> Image --> RadBook.Items.Add). Initially, three pages are loaded, with pairs of pages being added when the PageChanged event is fired. The same behavior for the RadButtons (using the BookCommands) is experienced, where even though 3 pages are there, the next button is not enabled. If I manually change the page, then suddenly the Previous button is enabled. Is there some command that I have to use to enable these buttons right away?
Thanks.