>I have an ASP page with Previous Page/Next Page buttons, which I would like to include a visable indication to the user when previous or next are available or not. It would be great if I could make this a part of the procedures I wrote for determining what page to go to. > >Hope it is just a matter of syntex, as it VFP, I would just use Thisform.cmdPrevious.Enabled = .T., etc. > >Any suggestions? > >Tom
You have to be pretty careful about this... otherwise you will leave out some of the folks with older browsers.
If you are using code to determine which page to go to, why not allow it to make your buttons as well? Ie, make a program you call return the entire page and leave off the next,previous, etc buttons if there is nothing else.
HTH
Wayne Myers, MCSD Senior Consultant Forte' Incorporated "The only things you can take to heaven are those which you give away" Author Unknown