Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have call Images stored in DataBase using ashx handler i am not able to apply CSS to adjust width and height to Imgs
ASP.NET
<asp:TreeView ID="TreeView1" runat="server" ImageSet="Arrows">
                    <NodeStyle CssClass="TreeImg" />
                      <ParentNodeStyle Font-Bold="False" CssClass="TreeImg"/>
                      <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" CssClass="TreeImg"/>
                      <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px"
                          ForeColor="#5555DD" CssClass="TreeImg"/>
                      <NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" HorizontalPadding="5px"
                          NodeSpacing="0px" VerticalPadding="0px" />
                  </asp:TreeView>


CSS TreeImg not getting apply

C#
headnode.ImageUrl = "TreeImg.ashx?id=" + Parent.Tables[0].Rows[0]["MCID"].ToString();// to call ashx handler byte to get img
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900