R8VI
asked on
gridview repeating tag
Hi,
I have a nested gridview, in which the grid inside displays images. I have used the jquery from the link this link http://galleria.aino.se/
I want the jquery to be repearted everytime a picture happens in the inside grid but for some reason the jquery tage only get picked up once.
The jquery tag is <div id="galleria">
Please help
Thanks,
R8VI
I have a nested gridview, in which the grid inside displays images. I have used the jquery from the link this link http://galleria.aino.se/
I want the jquery to be repearted everytime a picture happens in the inside grid but for some reason the jquery tage only get picked up once.
The jquery tag is <div id="galleria">
Please help
Thanks,
R8VI
<asp:GridView ID="GridViewOutside" runat="server" DataSourceID="SqlDataSource6" AutoGenerateColumns="false"
OnRowDataBound="gridviewoutside_RowDataBound">
<Columns>
<asp:TemplateField HeaderText="Y">
<ItemTemplate>
<asp:Label ID="lblDescription" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Y") %>'>></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<div id="galleria">
<asp:GridView ID="InsideGridView" runat="server" AutoGenerateColumns="false" DataSourceID="SqlDataSource7">
<Columns>
<asp:TemplateField HeaderText="Picture">
<ItemTemplate>
<asp:Image ID="Image1" runat="server" ImageUrl='<%# DataBinder.Eval(Container, "DataItem.Name") %>' />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi Marc,
Thanks for the help so i put div runt=server
but i think this still causes a problem as know the id is galleria + clientid i think the client id goes before.
I have attached the source file again for your reference.
I am assuming that if i put update panel the same problem will occur
please help
Thanks,
R8vi
Test-Wizard.txt
Thanks for the help so i put div runt=server
but i think this still causes a problem as know the id is galleria + clientid i think the client id goes before.
I have attached the source file again for your reference.
I am assuming that if i put update panel the same problem will occur
please help
Thanks,
R8vi
Test-Wizard.txt
just do one thing change your select query...
lIke Select '<div> ' + ColumnName +'</dv>' as colname now bind the column with any of the label control..
check this .. Idea..
lIke Select '<div> ' + ColumnName +'</dv>' as colname now bind the column with any of the label control..
check this .. Idea..
Can you send me the page source of the rendered page? This will help me identify what tag is rendered by the gridview control.
Thanks,
Marc