Rank: Member Groups: Member
Joined: 3/4/2008 Posts: 24
|
I would like used flyout to display large text (or more informations) in grid displaying differents informations for each item
I have tried this code <eo:CustomColumn Width="30" DataField="Comments" Name="column_zoom" > <EditorTemplate> <asp:ImageButton runat="server" ID="B_View" ImageUrl="../Images/Zoom-in.png" Style="border: 0px; width: 25px; height: 25px"> </asp:ImageButton> <eo:Flyout runat="server" ID="Flyout1" For="B_View" ExpandDirection="BottomLeft"> <ContentTemplate> <div style="border: solid 1px #404040; padding: 5px; width: 400px; color: Black;"> <p style="font-family: Arial; font-size: 22px; line-height: 28px;"> <%#Eval("column_zoom")%> </p> </div> </ContentTemplate> </eo:Flyout> </EditorTemplate> </eo:CustomColumn>
The flyout is display 1 second (empty) then disappair The same thing with Eval("Comments")
Is it possible and how?
Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
That will not work. EditorTemplate is only rendered once for all grid items. So even if you have multiple grid rows, you will only have one single EditorTemplate thus one single Flyout control.
In order to have a Flyout control for each item, you must use a traditional server side template based control, such as asp:Repeater or asp:DataGrid.
Thanks!
|