Please note: In an effort to better serve you, we are in the process of restructuring DevCenter.
In the process, we have moved many items that you may be used to finding in DevCenter over to the
Main Site. If you are having trouble locating something,
please try looking at the following places:
While supplying different valuelists on different rows is not an feature intrinsic to the grid, it is easy to simulate this functionality. We can change the makeup of a valuelist on the client-side programmatically. Suppose there is a grid with three columns. In the first and second column, we can choose teams, say baseball teams who are playing each other. In the third column, we will choose the team we think will win. Naturally, the valuelist in the third column should show only two entries, those teams shown in the first two columns.
The code for this project is in the samples directory under "DifferentValuelists".WebForm1.aspx.vbIn the form load event we have the following code:
With the comments, most of this is self explanatory, so we will move on.WebForm1.aspxIn the .aspx page, click the HTML view button in the lower left corner of the Designer. Notice in the