Home
Setup
Design & Behavior
Terms of Use
Support
Download
There is not need for any installation, you just drag and drop your BlogControl on your web page
First we need to add the control to our toolbox in Visual Studio. You can skip this step and write the
code
for adding the control by yourself.
Let's go to our toolbox
Right click on the toolbox and select "Choose Items"
In the opened window will click "Browse"
and point to the location of the file "BlogControl.dll"
Now just drag the control from the toolbox to your web page. You should see the preview now:
We need to set the "Directory" attribute in which the posts will be saved. Go the the attributes tag in Visual Studio Html Design view:
On the "Misc" section set the directory attribute:
And that's it!
You can also add the control through source view :
Add a "Register" directive at the top of the page:
<%
@
Register
Assembly
="BlogControl"
Namespace
="BlogControl"
TagPrefix
="cc1"
%>
Now add the control anywhere you want in the page:
<
cc1
:
Blog
ID
="blog2"
Directory
="blogs"
runat
="server"
/>
You need to change the "Directory" attribute in which the posts will be saved.