February 2008 - Posts

3
Comments

Server.HtmlEncode in ASP.NET 2.0 by stoian bucovich

In this post I am going to show how you can avoid inserting malicious code into your html, database ... if you are get user input from forms. For this example, in aspx file I am going to use the following controls: < asp : TextBox ID ="tbText" runat...
2
Comments

Asp.net 2.0 generate image on the fly by stoian bucovich

Ok, this time I will be straight to work. - aspx file < asp : Image ID ="Image1" runat ="server" /> <!-- only one control to show the image --> - aspx.vb file ' Importing needed name spaces Imports System.Drawing.Imaging Imports System.Drawing...
0
Comments

Finding control in GridView by stoian bucovich

Have you ever wanted to get the control property in your code-behind but you can't "see" it? Ok, here is the way to find it. In this case I am using GridView control which is bind to datasource and has, for example a template field which has custom control...
More Posts