E
EmilyWright
Guest
Having issues with iframe in edge browser. Works in IE
<%# (DataBinder.Eval(Container.DataItem, "image_file_location").ToString().EndsWith(".pdf") ? "<iframe src=\""+ DataBinder.Eval(Container.DataItem, "image_file_location") +"\" style=\"width:100%;height:100%;\" />Your browser does not support IFRAMEs. </iframe>" : "<img src=\""+ DataBinder.Eval(Container.DataItem, "image_file_location") +"\" border=\"0\" height=100% width=100% />") %>
Continue reading...
<%# (DataBinder.Eval(Container.DataItem, "image_file_location").ToString().EndsWith(".pdf") ? "<iframe src=\""+ DataBinder.Eval(Container.DataItem, "image_file_location") +"\" style=\"width:100%;height:100%;\" />Your browser does not support IFRAMEs. </iframe>" : "<img src=\""+ DataBinder.Eval(Container.DataItem, "image_file_location") +"\" border=\"0\" height=100% width=100% />") %>
Continue reading...