I'm using Roles in my web site.
How do I create and If statment to say:
IF (User Role = Administrator) then
<asp:CommandField ShowEditButton="True" />
<asp:CommandField ShowEditButton="False" />
Then were do I put this code (in the code behide? or on the page it's self)?
This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks.
I had to provide a way for user…