Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Select a value in dropdown list

Reply
Thread Tools

Select a value in dropdown list

 
 
Julien
Guest
Posts: n/a
 
      07-16-2003
Hi,

I have a problem to select an item of radio buttonlist for another
usercontrol, in this case "uc6".

How can I can the ID of item 4 passed to the other usercontrol ?

============================================= code ===========

<asp:radiobuttonlist id="RadioButtonList1" EnableViewState="True"
runat="server">
<asp:ListItem Value="0"></asp:ListItem>
<asp:ListItem Value="1"></asp:ListItem>
<asp:ListItem Value="2"></asp:ListItem>
<asp:ListItem Value="3"></asp:ListItem>
<asp:ListItem Value="4"></asp:ListItem>
</asp:radiobuttonlist><uc6:new_value id="ucContribHours"
Minutes="null" Hours="null" Runat="server"></uc6:new_value>

================================================== =============

I hope it's clear enought for you to understand the problem

Thank you in advance for your answer

Julien T.
Netarchitects
 
Reply With Quote
 
 
 
 
Jon Yates
Guest
Posts: n/a
 
      07-16-2003
Hello.

When do you want to pass the value? After you select the
Radio Button, or on a button click?

You may have to put accessor functions in the user control
and pass in the id from the form after an event has fired?

I may have misunderstood what you are doing though?

Jon

>-----Original Message-----
>Hi,
>
>I have a problem to select an item of radio buttonlist

for another
>usercontrol, in this case "uc6".
>
>How can I can the ID of item 4 passed to the other

usercontrol ?
>
>============================================= code

===========
>
><asp:radiobuttonlist id="RadioButtonList1"

EnableViewState="True"
>runat="server">
> <asp:ListItem Value="0"></asp:ListItem>
> <asp:ListItem Value="1"></asp:ListItem>
> <asp:ListItem Value="2"></asp:ListItem>
> <asp:ListItem Value="3"></asp:ListItem>
> <asp:ListItem Value="4"></asp:ListItem>
></asp:radiobuttonlist><uc6:new_value id="ucContribHours"
>Minutes="null" Hours="null"

Runat="server"></uc6:new_value>
>
>================================================= =========

=====
>
>I hope it's clear enought for you to understand the

problem
>
>Thank you in advance for your answer
>
>Julien T.
>Netarchitects
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropdown List - Check if value exists in list prior to selection =?Utf-8?B?QnJlbmRlbiBCaXhsZXI=?= ASP .Net 5 03-20-2007 11:05 PM
Select (dropdown) list and set value based on table column mcauliffe ASP General 5 01-26-2007 10:03 PM
bind a dropdown in a column in a datagrid based on the dropdown value selected in another column of the datagrid. vishnu ASP .Net 1 03-25-2006 01:24 PM
Q: select value in dropdown list =?Utf-8?B?SklNLkgu?= ASP .Net 1 04-15-2005 02:11 PM
Select dropdown box bleeds into Javascript dropdown menu Mike HTML 1 12-18-2003 09:49 PM



Advertisments