Hello,
I am trying to use a radiobuttonlist with the new multiview control. Am
having trouble understanding how to build the radiobuttonlsit just one time,
and not many times.
In my first view, I select from a list of items, then select "next". Of
course, this causes a postback, and displays the next view.
On this second view, I want to build a radiobuttonlist based on the
selection from the first view. This works fine...UNTIL, I go back to the
first view, change the inistial selection, and then proceed to view 2.
Now my rbl gets built again, BUT, the first items added to the rbl are
there, as well as the second group.
If I surround the code that builds the radio button with if (! IsPostBack),
then the list will not build, because the list is contained in view2...going
from view 1 to 2 causes a postback.
Is there a way to build this raiobutton list one time, based on the
selection from view 1?
Hope this makes sense...thanks,
Lynn 1 1383
Just to clarify...here's the situation...
View 1
- user makes a selection, 1 thru 5
- go to view 2
View 2
- build a radiobuttonlist based on selection made in view 1
- go to view 3
- OR go back to view 1 and make a new selection
View 3
- continue...
"lb" <ye******@NOSPAMMMMhotmail.com> wrote in message
news:o5******************************@comcast.com. .. Hello,
I am trying to use a radiobuttonlist with the new multiview control. Am having trouble understanding how to build the radiobuttonlsit just one time, and not many times.
In my first view, I select from a list of items, then select "next". Of course, this causes a postback, and displays the next view.
On this second view, I want to build a radiobuttonlist based on the selection from the first view. This works fine...UNTIL, I go back to the first view, change the inistial selection, and then proceed to view 2.
Now my rbl gets built again, BUT, the first items added to the rbl are there, as well as the second group.
If I surround the code that builds the radio button with if (! IsPostBack), then the list will not build, because the list is contained in view2...going from view 1 to 2 causes a postback.
Is there a way to build this raiobutton list one time, based on the selection from view 1?
Hope this makes sense...thanks,
Lynn This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Hazzard |
last post by:
I store radiobuttonlist values in the db using the string value of the radio
button item value. (nvarchar)
I am creating an edit functionality on the asp.net form so that when I reuse
my...
|
by: William LaMartin |
last post by:
If I create a RadioButtonList with, say, two items, then after the page
loads and I select one of the items and then click on a button whose click
event contains some code to display the...
|
by: DotNetGruven |
last post by:
Anyone have any pointers on how to set the Value and Selected attributes in
a ListItem in a RadioButtonList that is in a DataGrid?
Here's what I have
------DataGrid------
-- BoundColumn 0 --...
|
by: juststarter |
last post by:
Hello,
I have an aspx file where i've put a placeholder element. On load
(page_load) i create dynamically an html table which contains a checkbox and
a radiobuttonlist in each tablerow . The...
|
by: =?Utf-8?B?UGF1bA==?= |
last post by:
Hallo,
I have a radiobuttonlist control that is added on a custom Web User Control.
This control has a property that exposes the SelectedIndex property of the
embedded radiobuttonlist.
When...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| | |