Hi,
I am trying to implement the Google style filtering for RadGrid (version 2010.1.519.20) in SharePoint 2007.
First I implemented the code for google style filtering as shown in the example on your site.
The code was working but refreshing using full postback instead of AJAX postback.
AJAX has a well known issue for causing full postback in SharePoint and is fixed with the following code
protected override void CreateChildControls()
{
base.CreateChildControls();
EnsurePanelFix();
}
private void EnsurePanelFix()
{
ScriptManager.RegisterStartupScript
(this,
typeof(UpdatePanel),
"UpdatePanelFixup",
"_spOriginalFormAction = document.forms[0].action; _spSuppressFormOnSubmitWrapper=true;",
true);
}
Doing this fixed the AJAX postback for all controls but causes an issue with RadComboBox.
On the first load, before any AJAX postbacks are caused the combo box loads with the following tag
<INPUT style="DISPLAY: block" id=xxx class=xxx name=xxx autocomplete="off" jQuery1286221047445="5">
after I click an action like sort, the combobox no longer has the autocomplete and jQuery properties and looks like the following
This makes it so the drop down box no longer appears. Does anyone know how to fix this?
Andy