Hi,
I have image template item in grid,
and i am showing images in it. this grid is in a popup.
<telerik:GridTemplateColumn UniqueName="imgPicture">
<ItemTemplate>
<asp:Image ID="Picture" runat="server" Height="100px" ImageAlign="Middle" Width="150px" />
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" Width="15%" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50%" />
</telerik:GridTemplateColumn>
i have an image button to swap this image with another image in grid.
and i am showing another popup on swap image button click. The user select the image and click on save button.
The problem is that when I click on the "save button" on the popup then my previous popup grid rebinds and both of the events fires "NeedDataSource" and
"ItemDataBound".
in itemdatabound i am giving the imageurl.
i have checked that image url is also correct and new image replaced on the old image but my grid shows old image.
what can be the problem.
Please guide me. its urgent
Thanks
I have image template item in grid,
and i am showing images in it. this grid is in a popup.
<telerik:GridTemplateColumn UniqueName="imgPicture">
<ItemTemplate>
<asp:Image ID="Picture" runat="server" Height="100px" ImageAlign="Middle" Width="150px" />
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" Width="15%" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50%" />
</telerik:GridTemplateColumn>
i have an image button to swap this image with another image in grid.
and i am showing another popup on swap image button click. The user select the image and click on save button.
The problem is that when I click on the "save button" on the popup then my previous popup grid rebinds and both of the events fires "NeedDataSource" and
"ItemDataBound".
in itemdatabound i am giving the imageurl.
i have checked that image url is also correct and new image replaced on the old image but my grid shows old image.
what can be the problem.
Please guide me. its urgent
Thanks