Autor Beitrag
mokona
Hält's aus hier
Beiträge: 1



BeitragVerfasst: Do 16.08.07 14:59 
Hey leute (:

also, mein problem: ich hab da einen RB für plz-orte suche und einen RB für blz-bank suche. klicke ich auf einen dann zeigt er mir die richtige suchmaske an, klicke ich auf den anderen, dann zeigt er mir, für die suche die richtige maske an. klick ich dann zurück zum einen, dann is garnichts mehr da -.- weiß vL jemand warum das so is?

ausblenden volle Höhe XML-Daten
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
<asp:Label ID="lbl_SuchMaske" runat="server" Visible="false">
<table class="mask">
<tr>
<th colspan="5" class="Search" align="left">
<asp:Label ID="lbl_Uebers" runat="server"></asp:Label>
</th>
</tr>
<tr>
<td colspan ="5"
</td>
</tr>
<tr>
<td>
<asp:Label ID="lbl_PlzBlz" runat="server"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb_PlzBlz" runat="server"></asp:TextBox>
</td>
<td
</td>
<td>
<asp:Label ID="lbl_Name" runat="server"></asp:Label>
</td>
<td>
<asp:TextBox ID="tb_Name" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan ="5">  
</td>
</tr>
<tr>
<td colspan ="5" align="right">
<asp:Button ID="b_Suche" runat="server" Text="Suche" CssClass="button" />
</td>
</tr>
</table>
</asp:Label>



ausblenden C#-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
    protected void cb_Blz_CheckedChanged(object sender, EventArgs e)
    {
        cb_Plz.Checked = false
        lbl_SuchMaske.Visible = true
        lbl_Uebers.Text = "BLZ - Banknamen Suchfunktion";
        lbl_PlzBlz.Text = "BLZ: ";
        lbl_Name.Text = "Bankname: ";
    }


    protected void cb_Plz_CheckedChanged(object sender, EventArgs e) 
    {
        cb_Blz.Checked = false
        lbl_SuchMaske.Visible = true
        lbl_Uebers.Text = "PLZ - Ortsnamen Suchfunktion";
        lbl_PlzBlz.Text = "PLZ: ";
        lbl_Name.Text = "Ortsname: ";
    }



Danke schon im voraus :)

LG mokona

Moderiert von user profile iconChristian S.: C#- und XML-Tags hinzugefügt
John Sanson
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 72

WinXP,WinVista
Delphi(BDS2006, 5), C#(VS2005, BDS2006), VB6
BeitragVerfasst: Mi 14.11.07 16:16 
weil du die, die auf Visible ==false sind nicht wieder auf true setzt.