Are you getting a valid button object? Is the Enabled property returning an error?
I've found that especially in WordMail that even if a button object is a valid object that most of its properties and methods aren't valid even in the button Click event handler. In those cases I have to actually reinstantiate the button object using FindControl and then I can set properties such as Picture and Mask and set visibility and enabled.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm
<roger[ at ]rogndeb.us> wrote in message news:1148495848.843506.42530[ at ]38g2000cwa.googlegroups.com...
[Quoted Text] > > I created access to the button objects when they are created. > They're not null, but when setting the Enabled property to true, the > buttons remain > grayed out. >
|