GST Billing Software
header image

RAD Framework for Developing Web Apps in .Net

Erachana Line

68. How to use image control and browse image?

In Kushal we have a provision to display images which are stored in a database, or through file. We can preview the image inside the image layout.

To do that, add Image as a custom control from Custom Controls Tab. Below that, add a Text Box and two buttons.

Associate the text box to Table and Column and also AssociatedImage Property in Properties Tab and select the image control.

Next, for button1, label it as 'Browse Image'. SetActionType property as PredefinedAction,DefaultButtonType as OpenFile, AssociatedImage as ImageControl , and AssociatedInputControl as <TextBoxName>

Select the second button, and Set the ActionType asClearImage and AssociatedImageControl as <ImageControlName>