Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 5th, 2004, 07:30 AM
Registered User
Join Date: May 2004
Location: , , Ireland.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Get values of dynamically created radio button con


I have the following code which displays all the images from a specific folder with a Radio button in it:

       Dim objFile
        i = 1
        For Each objFile In objFolder.Files

            If (i = 1) Then Response.Write("<TR>")

            Response.Write("<TD align='center'>")
            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
            End If

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.


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamically created control's values to database saket123 ASP.NET 2.0 Basics 4 August 13th, 2008 12:49 AM
Comparing values between different MSHFlexGrid Con davekrunal46 Pro VB Databases 0 November 28th, 2005 07:36 AM
Dynamically created code Puck312 Pro VB 6 3 September 7th, 2005 01:21 PM
Button acts depending on radio button values janise Access 4 March 10th, 2004 12:53 AM

All times are GMT -4. The time now is 07:26 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.