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

<*> 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