en_lang.jpg, 1 kB sk_lang.jpg, 1 kB
English Slovak

      Px Framework - ASP.NET components for rapid development of database applications


Menu:



Components of Px Framework:


PxDbNavigator - the component for the work with the PxWebQuery components, row cursor movement, etc.



The PxDbNavigator component serves for moving or changing the cursor position and acts usually as a compliment to the PxSuperGrid component. The PxDbNavigator component is connected to the PxWebQuery component, and after the corresponding button is pressed, the carried-out change is displayed in the PxSuperGrid component, by moving the cursor, or by some other operation. The PxDbNavigator component looks like as follows:

Obrázok komponenty PxDbNavigator


If you want to work with the PxDbNavigator component, you have to define it in the Adresar.aspx file as follows:

<Prx:PxDbNavigator ID="dbnAdresar" runat="server" />

Link the PxDbNavigator component to the PxWebQuery component in the Adresar.aspx.cs file as follows:

dbnAdresar.PxDataSource = wquAdresar;

Buttons display can be controlled via the PxVisibleButtons property in the following way:

dbnAdresar.PxVisibleButtons = "FRNLIEDPC";

The following value list shows the legend, according to which the individual buttons are displayed, if the specific letter is added to the PxVisibleButtons property, the corresponding button matching the this letter shall be displayed in the PxDbNavigator component:

 F - (First) move the cursor to the first row in the component PxWebQuery
 R - (Prior) move the cursor to the previous line in component PxWebQuery
 N - (Next) move the cursor to the next line in component PxWebQuery
 L - (Last) move the cursor to the last line in component PxWebQuery
 I - (Insert) changing components in a state PxWebQuery entering a new row
 E - (Edit) PxWebQuery changing components in a state of editing, change the actual row
 D - (Delete) delete the actual row in component PxWebQuery
 P - (Post) save changes after editing data or insert new row components PxWebQuery
 C - (Cancel) cancel the changes after editing data or insert new row components PxWebQuery



Others articles of Px Framework:



It doesn't the intention of this part website, describe in detail the work with PxFramework components, a detailed description of the component available in manual, which can be downloaded here: Download manual of Px Framework