Hello,
I have a problem with handling a simple radlistview control.
The result must be like Image1.jpg (attached).
My aspx code:
The above code result is shown in image2.jpg.
As you can see there is a space above and bellow every small map. how can I remove this space. I tried to play with Panel1 height (I changed it to 32px), but it is not solving the problem but it displays a scroolbars as it shown is Image3.jpg.
Please, what is wrong with my code in order. I need to get the result which is shown in Image1.jpg.
It is apprecited to send me the modified code.
Regards,
Bader
I have a problem with handling a simple radlistview control.
The result must be like Image1.jpg (attached).
My aspx code:
<asp:Panel ID="Panel3" Width="112px" BorderWidth="1px" runat="server"> <telerik:RadListView runat="server" ID="RadListView1" DataSourceID="SMapXmlDataSource" > <ItemTemplate> <asp:Panel class="rlvI" ID="Panel1" BorderWidth="2px" BorderColor="Red" style="vertical-align:middle;" Height="35px" Width="52px" runat="server"> <asp:ImageButton ID="SMapImageButton" runat="server" CommandArgument='<%# XPath("@name") %>' ImageUrl='<%# string.Format("~/Common/Img/Cities/{0}/SmallMaps/{1}.jpg", City, XPath("@name").ToString()) %>' CommandName="SmallMaps" Height="32px" BackColor="Blue" OnCommand="CommonSmallMapImageButton_Command" Width="50px" /> </asp:Panel> </ItemTemplate> <LayoutTemplate> <div class="RadListView RadListViewFloated RadListView_<%# Container.Skin %>" > <div class="rlvFloated rlvAutoScroll"> <div id="itemPlaceholder" runat="server"> </div> </div> </div> </LayoutTemplate> </telerik:RadListView> </asp:Panel>The above code result is shown in image2.jpg.
As you can see there is a space above and bellow every small map. how can I remove this space. I tried to play with Panel1 height (I changed it to 32px), but it is not solving the problem but it displays a scroolbars as it shown is Image3.jpg.
Please, what is wrong with my code in order. I need to get the result which is shown in Image1.jpg.
It is apprecited to send me the modified code.
Regards,
Bader
