Sep 4, 2004 #1 S shlvy Regular Joined Oct 27, 2003 Messages 68 Hi I want to change the color of the Text. I mean to the text ' Click to edit ' How can i do it? <asp:LinkButton Text="Click to edit" CommandName="edit" Runat="Server" /> Thank's.
Hi I want to change the color of the Text. I mean to the text ' Click to edit ' How can i do it? <asp:LinkButton Text="Click to edit" CommandName="edit" Runat="Server" /> Thank's.
Sep 4, 2004 #2 P PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,471 Location Lancashire, UK You could add a ForeColor attribute to the tag like Code: <asp:LinkButton Text="Click to edit" CommandName="edit" Runat="Server" ForeColor="#0000C0"/> or you may want to look at CSS as an alternative and more managable method.
You could add a ForeColor attribute to the tag like Code: <asp:LinkButton Text="Click to edit" CommandName="edit" Runat="Server" ForeColor="#0000C0"/> or you may want to look at CSS as an alternative and more managable method.
Sep 4, 2004 #3 S shlvy Regular Joined Oct 27, 2003 Messages 68 Hi Thank's for your reply, another lasr queastion. Can i input a button instead of theText. Thank's.
Sep 5, 2004 #4 B Bucky Contributor Joined Dec 23, 2001 Messages 791 Location East Coast What do you mean? Do you want to change the color of the text on a button?
Sep 6, 2004 #5 S shlvy Regular Joined Oct 27, 2003 Messages 68 Hi I maen that instead of the text will be a button. Thank's.
Sep 6, 2004 #6 B Bucky Contributor Joined Dec 23, 2001 Messages 791 Location East Coast Oh, well, in that case, don't use a LinkButton control. Use the Button control.