RadComboBox in SharePoint

2 posts, 0 answers
  1. Andy
    Andy avatar
    1 posts
    Member since:
    Oct 2010

    Posted 04 Oct 2010 Link to this post

    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
  2. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 08 Oct 2010 Link to this post

    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
Back to Top