Thursday, June 13, 2013

How to make content inside iframe 100% height without scrollbar?

<script language="javascript" type="text/javascript">
  function resizeIframe(obj) {
    obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
  }
</script>
<iframe src="http://google.com/" frameborder="0" scrolling="no" id="iframe" onload='javascript:resizeIframe
(this);' />

SignalR example code projects

Asp.Net SignalR Chat Room
http://www.codeproject.com/Articles/562023/Asp-Net-SignalR-Chat-Room

http://www.asp.net/signalr/overview/getting-started/tutorial-server-broadcast-with-aspnet-signalr