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

panel is invisible when the radAjaxManager is applied

2 Answers 77 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Anjali
Top achievements
Rank 1
Anjali asked on 08 Aug 2011, 10:13 PM

Hi All,

I have a radcombox, I have a add button right next to rad combox, If the user chooses something from the rdcombox box, the items moves from the combox to the listbox. I applied radAjaxmanager on the add button so that no postback can be seen if add button is clicked. I am making a panel visible in the code behing once the add button is clicked. when i apply teh ajax on the add button, the panel does not become visible. below is my code.

<td style="width: 160px" valign="top">
                   <telerik:RadComboBox ID="RadComboBox_Filter" runat="server" Width="156px" OnClientSelectedIndexChanging="RadComboBox_Loads"
                       OnItemsRequested="RadComboBox_filters_ItemsRequested" EnableLoadOnDemand="True"
                       AllowCustomText="True" EmptyMessage="Select Filters" HighlightTemplatedItems="True"
                   </telerik:RadComboBox>
               </td>
               <td valign="top">
              
                   <telerik:RadButton runat="server" Text="Add" Width="60px" OnClick="btnAdd_Click"
                       ID="btnAdd" SplitButtonCssClass="" SplitButtonPosition="Right">
                   </telerik:RadButton>
                  
               </td>
               <td rowspan="5" valign="top" colspan="10">
                     
                   <telerik:RadListBox ID="radList_Systems" runat="server" Height="65px" 
                       Width="200px" oninserted="radList_Systems_Inserted" 
                         
                   </telerik:RadListBox>
               </td>
              
           </tr>
   <telerik:RadAjaxManager runat="server">
       <AjaxSettings>
           <telerik:AjaxSetting AjaxControlID="btnAdd">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="radList_Systems" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="btnRemove">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="radList_Systems" />
               </UpdatedControls>
           </telerik:AjaxSetting>
       </AjaxSettings>
   </telerik:RadAjaxManager>

any help will be appreciated.

2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 11 Aug 2011, 11:53 AM
Hi Anjali,

Could you please elaborate a bit more on your application. What exactly is the invisible panel markup and how it is made visible on button click event. Note that in this scenario you should add the mentioned panel in the RadAjaxManager settings to be updated by the Button which changes its state. However as adding invisible controls into the RadAjaxManager settings is not a supported scenario, please wrap the panel into another always visible panel and add the visible one to be updated by the button.


Regards,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Maria Ilieva
Telerik team
answered on 11 Aug 2011, 11:53 AM
Hi Anjali,

Could you please elaborate a bit more on your application. What exactly is the invisible panel markup and how it is made visible on button click event. Note that in this scenario you should add the mentioned panel in the RadAjaxManager settings to be updated by the Button which changes its state. However as adding invisible controls into the RadAjaxManager settings is not a supported scenario, please wrap the panel into another always visible panel and add the visible one to be updated by the button.


Regards,
Maria Ilieva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Ajax
Asked by
Anjali
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or