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

Radgrid lost layout and visibility with DropDownExtender inside UserControl

2 Answers 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 29 May 2014, 03:29 PM
Hi, i'm using Radgrid (Q2 2013) with a user control for editing detail item.

If in the usercontrol i put a "DropDownExtender" (AjaxControlToolkit Ver. 3.0xxxxx) when in the user control i press the cancel button all disappear and remains only the combobox put in aspx page and the radgrid disappear.

This is piece inside usercontrol (ASCX page)

 <div>
                         <asp:Panel ID="pnlNomeInterno" runat="server">
                         <asp:ListBox Class="textboxEdit" ID="lstNomeInternoVariabile" runat="server" OnSelectedIndexChanged="lstNomeInternoVariabile_SelectedIndexChanged"  
                         DataSourceID="" AutoPostBack="True" >
                         </asp:ListBox>


                        </asp:Panel>
                        
                        <asp:TextBox runat="server" ID="TextBox7" Width="80%" Class="textboxEdit"
                        Text='<%# DataBinder.Eval( Container, "DataItem.Nome_Interno_Variabile") %>' >
                       </asp:TextBox>
                       <br /><br />

                        <cc3:DropDownExtender ID="DropDownExtender2" TargetControlID="TextBox7" DropDownControlID="pnlNomeInterno" runat="server">
                        </cc3:DropDownExtender>

                        <br />
                    </div>

On contrary if comment the piece

<cc3:DropDownExtender ID="DropDownExtender2"
TargetControlID="TextBox7" DropDownControlID="pnlNomeInterno"
runat="server">
</cc3:DropDownExtender>

all is perfect but i lose functionaly of dropdownbox

I've used in user control file (ASCX file)

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc3" %>

and in the ASPX page i need also another that i called
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc2" %>


Thanks in advance for your time and collaboration.



2 Answers, 1 is accepted

Sort by
0
Frank
Top achievements
Rank 1
answered on 30 May 2014, 09:00 AM
In Summary:

I do have MasterPage. The ScriptManager is inside masterpage  (<asp:ScriptManager ID="ScriptManager1" runat="server">)

I have a page that is using MasterPage.

The page contains a RadGrid and DataSource connect to SQL Server.

The RadGrid allows user to add, modify and delete. The Add / Modify button using WebUserControl when its clicked.

when the user clicked "Edit" inside the grid (from one of the row),
there will be the details tab for the row clicked once the user update o cancel the
detail tab will be closed.

In the webuser control i would use DropDownExtender.

Thanks.

0
Konstantin Dikov
Telerik team
answered on 03 Jun 2014, 09:31 AM
Hello Frank,

From the provided information only it would be impossible to pinpoint what could be the root of the problem in your actual project.

Nevertheless, from your description it seems that the issue is related to the DropDownExtender and what I could suggest is that you try to use our RadDropDownList control instead. 

If you continue to experience problems with this, please open a regular support ticket with sample, runnable project attached, so we could further investigate what could be causing that behavior on your end.


Regards,
Konstantin Dikov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Frank
Top achievements
Rank 1
Answers by
Frank
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or