Autodesk 15606-011408-9300 Developer Guide - Page 121
We have the frameset, so let, s go back to
UPC - 606121429548
View all Autodesk 15606-011408-9300 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 121 highlights
At first glance this appears to be a good solution, but it has some problems. Users might get confused about where they are. Worse yet, when they click the Back button, they will find that the map has been reloaded and the location they zoomed to has been lost. A better approach is to display the map and the report in two frames of the same window. Let's do that now. Start by creating a standard HTML file that defines a frameset. The frameset should display the map on the left and a blank page on the right: ASP Report Data Notice that we've assigned the names Left and Right to the frames. The source for Left is parcel_map.htm, the file containing our embedded map. The source for Right is about:blank, a standard browser function whose purpose is to display a blank window or frame. We have the frameset, so let's go back to the parcel_map.htm file and change the ReportTarget parameter to Right, the name we assigned to our righthand frame: Users can now invoke as many reports as they want, without losing their place in the map or calling a new instance of the browser. The following illustration shows with the map and the report in two frames of the same window. Creating Report Scripts with ASP | 121