To use this control fallow these simple steps:
  • Download source code and compile it or download compiled library (Manic.Controls.dll)
  • Include library in your project or web site
  • Register library in web.config or directly in page
  • Place controls in your page

How to register control?

To register control you can add control reference to system.web/pages/controls element of web.config file or register tag prefix in asp.net page. Add this in system.web/pages/controls element:

<add tagPrefix="manic" namespace="Manic.Controls" assembly="Manic.Controls"/>

To register tag prefix in page add this before opening html tag:

<%@ Register Assembly="Manic.Controls" Namespace="Manic.Controls" TagPrefix="manic" %>

Controls

Adding controls to Visual Studio toolbox

To add controls to toolbox, right click on empty space in toolbox and select "Choose items ...". Browse for Manic.Controls.dll library and select controls from the library. When you click OK control icons will show in Toolbox.

Last edited Feb 8, 2010 at 4:13 PM by ManicStudio, version 18

Comments

ManicStudio Sep 27, 2010 at 8:00 AM 
Here is the solution for "Invalid length for a Base-64". Just change this line in Decrypt function and compile:
inputByteArray = System.Convert.FromBase64String(stringToDecrypt.Replace(" ", "+")
I will add this in the next release.

richardebel Feb 27, 2010 at 11:19 AM 
I am still having trouble with the encryted image url with manic thumb. I am getting exceptions from the Crypto Decrypt function. (Invalid length for a Base-64 char array). My encrypted url's are 76 bits. The code just ignores the exception and returns the encryted url, which of course fails to display the image.

duartebeck Feb 15, 2010 at 3:51 AM 
Hello, friends, There any event after inserted? I need to manipulate all files inserted.

Thanks

ManicStudio Jan 30, 2010 at 9:41 PM 
Here it is: <add tagPrefix="manic" namespace="Manic.Controls" assembly="Manic.Controls"/>
Add this in your web.config system.web -> pages -> controls element.
You have this above in documentation. Read it.

Please ask your questions in "Discussions" section.

saif9 Jan 30, 2010 at 8:47 PM 
I tried the above steps and whenever i add the control to the vs designer it says Please regiter Manic controls. thumbhadler handler in web.config file under httphandlers section. Assembly name is Assembly="Manic.Controls can any body show how to regiter this control in webconfig.