I have the following code which displays all the images from a specific folder with a Radio button in it:
i = 1
For Each objFile In objFolder.Files
If (i = 1) Then Response.Write("<TR>")
Response.Write("<IMG src='" & f_strCardPath & "\" & objFile.Name & "' width='150px' height='150px'>")
Response.Write("<BR><INPUT type='radio' name='rdCardPics'
value='" & objFile.Name & "'")
If (i = 2) Then
i = 1
i = i + 1
Now, the above with the other needed code is in a function (in .aspx.vb
file) and I call it in the .aspx file as <% DispImages(\imagefolderpath) %>
But once the user selects the image he wants, I want to pick up the selected value of the radio button, how do I do that ?. Anybody got any example on this ?.
Please help, thanks.