|
-
June 10th, 2005, 08:28 AM
#7
Re: Drop Down List and Enabled=false
 Originally Posted by bjswift
Ok, really this is for an ASP.Net web form, backed by VB.net, so I would really like to get around the selectedIndexChanged on the server, but I guess I didn't even think about javascript being the answer, doing what you guys suggest, to bounce back to the origonal index, when the index changes, if the user's security level is not high enough..
I'll do the server side selectedIndexChanged first, only because I'm not quite sure how to pass the security variable, to the javascript function..
Also, I'm not too sure how to, or where to initialize the drop down list as the new class 'ReadonlyListBox'.. I did try and change the protected Withevents to readonlyListBox, but got a parser error on the html part of the code.
Anyhow, it looks like a great opertunity for a learning experience is ahead of me! Thanks!
Sorry, my code was for a windows form listbox!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|