S
stevag
Hello,
1) I have an .html page that hosts 2 frames, each of which hosts a
different .aspx page with C#. What I would like to do is place a
RadioButtonList control with two options on the first frame . Based on
the option that the users chooses , I want to activate different
functionality on the other frame. For instance, if choice 1 is clicked
on frame1, I want to show label1 on frame2, whereas when option 2 is
clicked on frame1 I want to show label2 on frame2. I have tried making
the RadioButtonList on frame1 public, so that its properties are
recognised by the main Page class of frame2 and work with if structures,
but it didnt work. How could I possibly handle this?
2) I have a textbox and a button. I want to activate a series of
commands to execute, whenever the button is clicked. I want my
application to read the text value from the textbox and trigger the
above mentioned series of commands. I am using the TextBox.Text property
in the handler of Button_Click, but eventhough I write a value in the
box when app runs, there is no response when the button is hit. What
can be wrong?
3) Also , what do I have to be careful of concerning postback
behaviour when working with controls in an aspx page? In my application,
the activation of some events, such as pushing one button, activates
some other unexpected functionality of associated controls, such as
making a textbox not visible, eventhough I havent explicitly made it
invisible in the C# code. Any ideas?
Thank you very much in advance for the ideas and help.
stevag
1) I have an .html page that hosts 2 frames, each of which hosts a
different .aspx page with C#. What I would like to do is place a
RadioButtonList control with two options on the first frame . Based on
the option that the users chooses , I want to activate different
functionality on the other frame. For instance, if choice 1 is clicked
on frame1, I want to show label1 on frame2, whereas when option 2 is
clicked on frame1 I want to show label2 on frame2. I have tried making
the RadioButtonList on frame1 public, so that its properties are
recognised by the main Page class of frame2 and work with if structures,
but it didnt work. How could I possibly handle this?
2) I have a textbox and a button. I want to activate a series of
commands to execute, whenever the button is clicked. I want my
application to read the text value from the textbox and trigger the
above mentioned series of commands. I am using the TextBox.Text property
in the handler of Button_Click, but eventhough I write a value in the
box when app runs, there is no response when the button is hit. What
can be wrong?
3) Also , what do I have to be careful of concerning postback
behaviour when working with controls in an aspx page? In my application,
the activation of some events, such as pushing one button, activates
some other unexpected functionality of associated controls, such as
making a textbox not visible, eventhough I havent explicitly made it
invisible in the C# code. Any ideas?
Thank you very much in advance for the ideas and help.
stevag