开发者

Setting Tab Index

I have some values in Grid at Runtime.. Two Columns "Name" and "Value".. I made column[0] i.e Name uneditable..So when I press tab I don't want tabindex on Column[0]..I want Tab to move only开发者_如何学运维 on editable values.. Can Anyone Help!!!

Thanks in Advance!!!


Try to set TabIndex for that column with a negative value as -1.

From this page on MSDN you have the following:

You can remove a Web Server control from the tab order by setting the TabIndex property to a negative value.


Actually, negative values wont work on tab index, it makes error, if that's the case try positive number or zero for your tab index.

Thanks,

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜