I know I can set the imagebutton properties dynamically. I want code to prescribe different behaviours... (conditionally).
In my code below -
a) Behaviour1 opens another .aspx page - this works fine
b) Behaviour2 doesn't work because I think the SUB/Event ImageButton_command swallows the .ImageUrl="catalog/mycatalog.pdf"
Hope I have explained this well, I have tried to minimize the code as much as possilble.
aspx
<asp:ImageButton id="ImageThumbPic"
runat="server"
OnCommand="ImageButton_Command"
/>
aspx.vb
...
Go to the complete details ...