i wrote thats, but thats not work, that not run the function "LoadGallery" i checked it with alert. - not work
1 <asp:linkbutton id="itemToDelete" runat="server" commandname="delete" OnClientClick='LoadGallery("EmilyGallery", "<%#DataBinder.Eval(Container.DataItem, "photo_id")%>")' Text="open" />
but if i changed it to
1 <asp:linkbutton id="itemToDelete" runat="server" commandname="delete" OnClientClick="LoadGallery('EmilyGallery', '150')" Text=Go to the complete details ...