I was working on a project that happened to have the need to embed a jQuery UI Autocomplete textbox within a Tab container. Normally fine and easy thing to do, however I also needed to override the Autocomplete’s private function _renderItem property so I could template my own html to display. The problem was that when the Autocomplete would kick in it would drop the contents of it’s drop down to every <ul> with jQuery UI classes it could find and being inside the Tab control that was a few, this was not the effect I desired. Continue reading ‘jQuery UI: Using Autocomplete with Tabs’
Posts Tagged 'JavaScript'
jQuery UI: Using Autocomplete with Tabs
Published June 8, 2011 Javascript , Programming Leave a CommentTags: JavaScript, jQuery, Programming
Report Viewer Control 2010 – Setting height to browser window across multiple browsers
Published June 3, 2010 .Net , Programming 6 CommentsTags: JavaScript, jQuery, Report Viewer, Report Viewer Control 2010, Reporting Services
When you add a Report Viewer control to your Asp.Net site the height will default to 400 pixels. In many situations you want the control to automatically fill to either the browser window or at least its containing block element. Setting it to 100% works for width but will not work for height. This is down to the DOCTYPE of the web page specifying XHTML and 100% height for the table is an illegal attribute.