Hi all,
I am binding datagrid dynamically. As i mentioned in bold letter i am binding ImageUrl of ImageButton, which have a value either '../images/b-active1.gif' or '../images/b-Inactive1.gif'
Everything run fine in local machine but when online I can't see Image if it is '../images/b-active1.gif'
I checked the viewsource and the found that value has changed to '../images/b%0d%0a-active1.gif'
Thanks in AdvanceCode:<asp:TemplateColumn HeaderText="Status" ItemStyle-HorizontalAlign="Center" HeaderStyle-CssClass="arial6b"> <ItemTemplate> <asp:ImageButton runat="server" OnClick="changeStatus" CommandName='<%#DataBinder.Eval(Container.DataItem, "arc_Id")%>' CommandArgument='<%#DataBinder.Eval(Container.DataItem, "cStatus")%>' BorderWidth="0" AlternateText='Change Status' ImageUrl='<%# Eval("imgsrc")%>' ID="Imagebutton1" ></asp:Imagebutton> </ItemTemplate> </asp:TemplateColumn>


Reply With Quote