puma
Freshman
Hello. I'm relatively new to ASP.Net, so please don't laugh at my post
I recently made an ASP custom control that generates a barcode. It has a property which holds the numeric data for the code, and I used GDI+ to create a bitmap which I saved and then set it to the src of an img object in the control.
The problem is that I don't know how (better say when) to refresh the display.
Let's say the control is consumed in a WebForm, the user enters the code in a TextBox and then presses a button. There's no method I can use for the control to refresh the display.
I recently made an ASP custom control that generates a barcode. It has a property which holds the numeric data for the code, and I used GDI+ to create a bitmap which I saved and then set it to the src of an img object in the control.
The problem is that I don't know how (better say when) to refresh the display.
Let's say the control is consumed in a WebForm, the user enters the code in a TextBox and then presses a button. There's no method I can use for the control to refresh the display.