Posted by Ruben Canton on January 11, 2012 at 11:49 am
Web programming
If you want to embed your images in an email sent using ASP.Net server instead than using URLs you can use an AlternateView and use the mime standard to embed them:
using System.Net.Mail;
protected void SendBTN_Click(object sender, EventArgs e) {
// Send [...]
Posted by Ruben Canton on September 15, 2011 at 11:32 pm
Web programming
This time I found myself in a very interesting challenge. We store user profile and login images in a server folder and users update their images as they need. Sometimes, when you make a release, it is just better to remove everything and paste the new version (just in case some old file remains on [...]
Posted by Ruben Canton on September 7, 2011 at 8:37 pm
Web programming
MasterPages are very useful to set the site structure like a header and footer, but, they can also help managing authorization or global issues of the site just declaring the needed variables on it and using them, if necessary, from the content pages or user controls. Let’s see this with an example, imagine we need [...]
Posted by Ruben Canton on August 19, 2011 at 9:31 pm
Web programming
In standard HTML label tags are used to assign some text to an input inside a form, giving the user the option to click the text in the label and causing the assigned input to be clicked too. This is very useful for CheckBoxes and Radio Buttons.
<!– Standard HTML4.1 –>
<input type="checkbox" id="CHKCandies" value="1" />
<label for="CHKCandies">I [...]
Posted by Ruben Canton on July 21, 2011 at 10:17 pm
Web programming
One of the most common controls used in .Net is the Web User Control, which is in fact a website piece to be reused in different pages.
You normally place them in the page while developing it just dropping it into the page and then using them as part of it, but, what if you want [...]