[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

(Evangelos)

12/25/2002 10:26:00 PM

i have a webcontrol that has imagecontrols in it
(here are the image controls)
<asp:ImageButton id="Home" ImageUrl="home.jpg" OnClick="Home_Click"
runat="server"></asp:ImageButton><br>
<asp:ImageButton id="ContactUs" ImageUrl="home.jpg"
OnClick="ContactUs_Click" runat="server"></asp:ImageButton><br>
<asp:ImageButton id="AboutUs" ImageUrl="home.jpg"
OnClick="AboutUs_Click" runat="server"></asp:ImageButton><br>
<asp:ImageButton id="Demos" ImageUrl="home.jpg" OnClick="Demos_Click"
runat="server"></asp:ImageButton><br>
<asp:ImageButton id="EmailUs" ImageUrl="home.jpg"
OnClick="EmailUs_Click" runat="server"></asp:ImageButton>
How would i go about making another webcontrol change dynamicly
depending on which button was clicked. I know it has to do with
postback/viewstate. could soemone show me an example.
(breakdown. 1 webcontrol has imagecontrols, and i am trying to have
them alter another webcontrol) All this done in C# not VB
Thanks
1 Answer

Ryan De Laet

12/17/2002 12:57:00 AM

0

See if this example helps:
http://www.codeproject.com/aspnet/ASPNetUserCo...

Cheers!
-= Ryan =-

"Evangelos" <var2ezis@bellatlantic.net> wrote in message
news:924f41f0.0212131246.41f9853d@posting.google.com...
> i have a webcontrol that has imagecontrols in it
> (here are the image controls)
> <asp:ImageButton id="Home" ImageUrl="home.jpg" OnClick="Home_Click"
> runat="server"></asp:ImageButton><br>
> <asp:ImageButton id="ContactUs" ImageUrl="home.jpg"
> OnClick="ContactUs_Click" runat="server"></asp:ImageButton><br>
> <asp:ImageButton id="AboutUs" ImageUrl="home.jpg"
> OnClick="AboutUs_Click" runat="server"></asp:ImageButton><br>
> <asp:ImageButton id="Demos" ImageUrl="home.jpg" OnClick="Demos_Click"
> runat="server"></asp:ImageButton><br>
> <asp:ImageButton id="EmailUs" ImageUrl="home.jpg"
> OnClick="EmailUs_Click" runat="server"></asp:ImageButton>
> How would i go about making another webcontrol change dynamicly
> depending on which button was clicked. I know it has to do with
> postback/viewstate. could soemone show me an example.
> (breakdown. 1 webcontrol has imagecontrols, and i am trying to have
> them alter another webcontrol) All this done in C# not VB
> Thanks