Hi,
I have an application which performs calculations depending on which radio butten is chosen immediately when the page is loaded. If I set one of the radi buttens from the radiobuttons list to be checked, it will calculate only using the default formula,
but I want the user first to choose he formula and then the program to perform the calculations. So, when a page is loaded it performs the calculations and store these values in a list which when the page is not a post back are used for displaying in the appropriate
labels either by
I don't know how to prevent the calculation, when no radio button is chosen.
Can anybody tell me please how to stop the application if the user hasn't chosen a radio button?
I tried with break like
for (; ; )
{
if (RadioButtonList1.SelectedIndex != 0 && RadioButtonList1.SelectedIndex != 1)
{
...
Go to the complete details ...