why not set the CSS style in an onClick event?  You would have to change
this to a link button I think but it would work. 

Travis D. Falls | Consultant   RAFT.Net   IT | 860.547.4070 |
[EMAIL PROTECTED]


-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] Behalf Of Arindam
Sent: Thursday, June 23, 2005 12:38 PM
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] Web User control property issue .



Hi Web User control champs,

I have a user control which have the follwing code, a server side table with
links of 7 pages, 
this will be used from all 7 pages for navigation.

Now i want when user clicks on any link, some property of that particular
cell needs to get changed,

like example when i click on "About Us", in the cell i want to write 
<asp:TableCell BorderStyle=Dotted>
      <asp:HyperLink runat="server" NavigateUrl="../Aboutus.aspx"
ID="HyperLink1">About Us</asp:HyperLink>
</asp:TableCell>

other wise cell should be normal.

look at the table bellow.

i want write some property in ascx codebehind file.

which i need to change from the place the usercontrol being called.

 


<asp:Table id="Table2" runat="server" BorderWidth="1" CellPadding="1"
CellSpacing="1" Width="90%">
    <asp:TableRow>
     <asp:TableCell>
      <asp:HyperLink NavigateUrl="../Index.aspx" id="HyperLink8"
runat="server">Home</asp:HyperLink>
     </asp:TableCell>
     <asp:TableCell>
      <asp:HyperLink runat="server" NavigateUrl="../Aboutus.aspx"
ID="HyperLink1">About Us</asp:HyperLink>
     </asp:TableCell>
     <asp:TableCell>
      <asp:HyperLink runat="server" NavigateUrl="../Ourjobs.aspx"
ID="Hyperlink3">Our Job</asp:HyperLink>
     </asp:TableCell>
     <asp:TableCell>
      <asp:HyperLink runat="server" NavigateUrl="../Development.aspx"
ID="Hyperlink4">Development</asp:HyperLink>
     </asp:TableCell>
     <asp:TableCell>
      <asp:HyperLink runat="server" NavigateUrl="../Marketing.aspx"
ID="Hyperlink5">Marketing</asp:HyperLink>
     </asp:TableCell>
     <asp:TableCell>
      <asp:HyperLink runat="server" NavigateUrl="../Contactus.aspx"
ID="Hyperlink6">Contact Us</asp:HyperLink>
     </asp:TableCell>
     <asp:TableCell>
      <asp:HyperLink runat="server" NavigateUrl="../Login.aspx"
ID="Hyperlink7">Login</asp:HyperLink>
     </asp:TableCell>
    </asp:TableRow>
</asp:Table>



Thanks & Regards

Arindam 
Web Designer & Developer  




                
---------------------------------
 Free antispam, antivirus and 1GB to save all your messages
 Only in Yahoo! Mail: http://in.mail.yahoo.com

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links



 



*************************************************************************
PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to