I created one ListGrid and in which there is a column(field) as link type. Related field code as below:
The problem is when i click the link for some documents my browser open it with download dialogue as enclosed picture(this is what i wanted, then you could select open or save.) while for some documents browser default open it within the browser itself(i don't want to this kind of way,how can i avoid not open by browser).
It would be much appreciated if some one could help me.
By the way,my browser is IE 8.0.
Code:
attachlinkField.setType(ListGridFieldType.LINK); attachlinkField.setAlign(Alignment.CENTER); attachlinkField.setLinkText(Canvas.imgHTML("[SKINIMG]actions/download.png", 18, 18, "attachmentlink", "align=center", null));
It would be much appreciated if some one could help me.
By the way,my browser is IE 8.0.
Comment