Build 20100124

Rating: No reviews yet
Downloads: 354
Released: Jan 25, 2010
Updated: Jan 25, 2010 by jesobrepena
Dev status: Alpha Help Icon

Recommended Download

Application IdeaSparx.CoolControls.Web.dll
application, 42K, uploaded Jan 25, 2010 - 164 downloads

Other Available Downloads

Source Code Source code and example
source code, 1537K, uploaded Jan 25, 2010 - 190 downloads

Release Notes

In this release, item 1 and 2 are breaking-changes. You need to modify your code as described.
  1. CoolCore.js and CoolCore.cs were added to IdeaSparx.CoolControls.Web project.
  2. If you are using CoolGridView inside an UpdatePanel, the add-on script is not needed anymore. You should remove the JavaScript code* (as seen in the code below) from your ASPX page. This functionality is now fully integrated in the CoolGridView control.
  3. User can now resize column headers' width.
  4. Column header and scroll position is preserved after a postback or callback.

*Notes:

//Remove this JavaScript from your ASPX
function AjaxEndRequestHandler(sender, args) {
var p = sender._updatePanelClientIDs;
if (p != null)
for (var j = 0; j < p.length; j++) {
var scripts = $get(p[j]).getElementsByTagName("script");
// .text is necessary for IE.
for (var i = 0; i < scripts.length; i++) {
try {
eval(scripts[i].innerHTML || scripts[i].text);
} catch (e2) { }
}
}
}

try {
Sys.WebForms.PageRequestManager.getInstance() .add_endRequest(AjaxEndRequestHandler);
}
catch (e) { }

http://johnsobrepena.blogspot.com/2010/01/coolgridview-new-release-resizable.html

Reviews for this release

No reviews yet for this release.