This is a migrated thread and some comments may be shown as answers.

RadComboBox in SharePoint

1 Answer 82 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 04 Oct 2010, 09:19 PM

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

<INPUT style="DISPLAY: block" id=xxx class=xxx name=xxx>

This makes it so the drop down box no longer appears. Does anyone know how to fix this?


Andy

1 Answer, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 08 Oct 2010, 02:04 PM
Hi Andy,

Seems like RadComboBox' scripts are not registered after the Ajax postback for some reason and RadComboBox fails to initialize. Unfortunately the information is not enough for us to decide where exactly is the problem. Can you send a live URL or the whole web part with detailed instructions how to reproduce the issue and we will try to help you fix it? If you prefer privacy - open a support ticket if you have access to this channel or you can directly paste your web part code here using the Format Code Block function.

All the best,
Kamen Bundev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Andy
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Share this question
or