Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 20, 2010 02:54 PM by javierbcn
0 Points
1 Post
Jul 13, 2010 06:50 PM|LINK
First trials with Dynamic Data.
Included imageurl in both DynamicHyperlink (Edit) and ImageButton (delete) of the standard gridview. The DynamicHyperlink render the image with a border while the imageButton not.
Both use the same TD CSS style.
Any hints to remove border?
All-Star
27320 Points
5459 Posts
MVP
Jul 13, 2010 07:49 PM|LINK
Have a look at the css being applied with IE8's Developer Tools (press F12)
Dynamic Data
Member
12 Points
Jul 20, 2010 02:54 PM|LINK
Remove the imageurl property and put this
in the Text property of DynamicHyperlink control. This is a sample <asp:DynamicHyperLink runat="server" BorderStyle="None" Action="Edit" Text='<img border="0" alt="Edit" src="/myaspnetsite/images/iconpencil.jpg"/>'/>
in the Text property of DynamicHyperlink control.
This is a sample
Warm regards
Javier
villar
0 Points
1 Post
DynamicHyperLink Image Border
Jul 13, 2010 06:50 PM|LINK
First trials with Dynamic Data.
Included imageurl in both DynamicHyperlink (Edit) and ImageButton (delete) of the standard gridview. The DynamicHyperlink render the image with a border while the imageButton not.
Both use the same TD CSS style.
Any hints to remove border?
sjnaughton
All-Star
27320 Points
5459 Posts
MVP
Re: DynamicHyperLink Image Border
Jul 13, 2010 07:49 PM|LINK
Have a look at the css being applied with IE8's Developer Tools (press F12)
Dynamic Data
Always seeking an elegant solution.
javierbcn
Member
12 Points
1 Post
Re: DynamicHyperLink Image Border
Jul 20, 2010 02:54 PM|LINK
Remove the imageurl property and put this
Warm regards
Javier