Bodybag Posted January 16, 2004 Posted January 16, 2004 I have the following problem.When i disable my datalist eg datalist.enabled = false. Controls in the item template does not disable for example the dropdownlist. Buttons still post back to the server even if they are grayed out.Is there a way to fix this.What i have done is loop through each control in the datalist disabeling it but it takes a long time. Quote Programmers are trying to create bigger and beter idiot proof programs.The universe is trying to create bigger and beter idiots and so far the universe is winning.
d1820 Posted January 16, 2004 Posted January 16, 2004 I think you can diasable the buttons and dropdown lists in the item templete and it will propegate to all the controls the datalist creates. Quote
Bodybag Posted January 16, 2004 Author Posted January 16, 2004 I tried doing it. It Disables textboxes and labels. However dropdownlists can still be accesed and buttons can be clicked even if they are grayed out. Quote Programmers are trying to create bigger and beter idiot proof programs.The universe is trying to create bigger and beter idiots and so far the universe is winning.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.