[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.3

Ajaxified controls not working in asp:panel control

Asked by Small_Balls in .NET, Programming for ASP.NET, JavaScript

Tags: ASP.NET, C#, AJAX

Hello Experts,

I have a Panel control bound to a ModalPopupControl with a set of ajaxToolkit:Tabs and Accordions.. in side the accordions are Telerik RadGrids..

The problem is when I open the popup and select the tab I want eg'Customers' then select the appropriate accordion pane to expose the radgrid, I then click on the grid to either select a row or edit a record it seems that all client side functionality has gone how do I fix this???
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
<asp:Panel ID="Panel1" runat="server" DefaultButton="LinkButton1">
                
    <ajaxToolkit:TabContainer ID="TabContainer1" runat="server">
                        <ajaxToolkit:TabPanel ID="TabPanel1" runat="server">
                            <HeaderTemplate>
                                Customer Info
                            </HeaderTemplate>
                            <ContentTemplate>
                                <ajaxToolkit:Accordion ID="DataAccordion" runat="server" SelectedIndex="0" HeaderCssClass="accordionHeaderDeselected"
                                    HeaderSelectedCssClass="accordionHeaderSelected" ContentCssClass="accordionContent"
                                    FadeTransitions="false" FramesPerSecond="40" TransitionDuration="250" AutoSize="None"
                                    RequireOpenedPane="false" SuppressHeaderPostbacks="true">
                                    <Panes>
                                        <ajaxToolkit:AccordionPane ID="AccordionPane2" runat="server">
                                            <Header>
                                                <a href="" style="text-decoration: none">Contact Details</a></Header>
                                            <Content>
                                                <telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
                                                    AllowAutomaticUpdates="True" AllowSorting="True" AutoGenerateDeleteColumn="True"
                                                    DataSourceID="ContactDS" EnableAJAX="True" GridLines="None" Skin="SkyBlue" OnItemCommand="RadGrid1_ItemCommand">
                                                    <HeaderContextMenu Skin="SkyBlue">
                                                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                                                    </HeaderContextMenu>
                                                    <ExportSettings FileName="ContactList" IgnorePaging="True">
                                                        <Excel Format="ExcelML" />
                                                    </ExportSettings>
                                                    <MasterTableView AllowPaging="True" AutoGenerateColumns="False" CommandItemDisplay="Top"
                                                        DataKeyNames="ContactID,Name_Contact" PageSize="25" Width="100%" GridLines="Vertical">
                                                        <RowIndicatorColumn Visible="False">
                                                            <HeaderStyle Width="20px"></HeaderStyle>
                                                        </RowIndicatorColumn>
                                                        <Columns>
                                                            <telerik:GridEditCommandColumn AutoPostBackOnFilter="True" UniqueName="EditCommandColumn">
                                                                <ItemStyle Width="50px" />
                                                            </telerik:GridEditCommandColumn>
                                                            <telerik:GridDropDownColumn DataField="CustomerID" DataSourceID="CustomerDS" DropDownControlType="RadComboBox"
                                                                HeaderText="Company_Name" ListTextField="Company_Name" ListValueField="CustomerID"
                                                                SortExpression="CustomerID" UniqueName="CustomerID" AutoPostBackOnFilter="True"
                                                                CurrentFilterFunction="Contains" EditFormColumnIndex="0">
                                                            </telerik:GridDropDownColumn>
                                                            <telerik:GridBoundColumn UniqueName="Name_Contact" HeaderText="Name_Contact" DataField="Name_Contact"
                                                                SortExpression="Name_Contact" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains"
                                                                EditFormColumnIndex="0">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Customer_Phone" HeaderText="Phone" SortExpression="Customer_Phone"
                                                                UniqueName="Customer_Phone" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains"
                                                                EditFormColumnIndex="0">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Customer_Mobile" HeaderText="Mobile" SortExpression="Customer_Mobile"
                                                                UniqueName="Customer_Mobile" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains"
                                                                EditFormColumnIndex="0">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Customer_Fax" HeaderText="Fax" SortExpression="Customer_Fax"
                                                                UniqueName="Customer_Fax" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains"
                                                                EditFormColumnIndex="0">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Customer_Email" HeaderText="Email" SortExpression="Customer_Email"
                                                                UniqueName="Customer_Email" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains"
                                                                EditFormColumnIndex="0">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Postal_Address" HeaderText="Postal_Address" SortExpression="Postal_Address"
                                                                UniqueName="Postal_Address" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains"
                                                                EditFormColumnIndex="0">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridDropDownColumn DataField="LocationID" DataSourceID="LocationDS" DropDownControlType="RadComboBox"
                                                                HeaderText="Town" ListTextField="Location" ListValueField="LocationID" SortExpression="LocationID"
                                                                UniqueName="LocationID" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains"
                                                                EditFormColumnIndex="0">
                                                            </telerik:GridDropDownColumn>
                                                            <telerik:GridDropDownColumn DataField="PostcodeID" DataSourceID="PostcodeDS" DropDownControlType="RadComboBox"
                                                                HeaderText="Postcode" ListTextField="Postcode" ListValueField="PostcodeID" SortExpression="PostcodeID"
                                                                UniqueName="PostcodeID" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains"
                                                                EditFormColumnIndex="0">
                                                            </telerik:GridDropDownColumn>
                                                            <telerik:GridDropDownColumn DataField="StateID" DataSourceID="StateDS" DropDownControlType="RadComboBox"
                                                                HeaderText="State" ListTextField="State" ListValueField="StateID" SortExpression="StateID"
                                                                UniqueName="StateID" AutoPostBackOnFilter="True" CurrentFilterFunction="Contains"
                                                                EditFormColumnIndex="0">
                                                            </telerik:GridDropDownColumn>
                                                            <telerik:GridHTMLEditorColumn DataField="Notes" HeaderText="Notes" SortExpression="Notes"
                                                                UniqueName="Notes" EditFormColumnIndex="1">
                                                            </telerik:GridHTMLEditorColumn>
                                                        </Columns>
                                                        <EditFormSettings ColumnNumber="2" CaptionFormatString="Edit details for {0}" CaptionDataField="Name_Contact">
                                                            <FormTableItemStyle Wrap="False"></FormTableItemStyle>
                                                            <FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle>
                                                            <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" Width="50%" />
                                                            <FormTableStyle GridLines="None" CellSpacing="0" CellPadding="2" />
                                                            <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
                                                            <FormStyle Width="100%" BackColor="#F1FBFE"></FormStyle>
                                                            <EditColumn UniqueName="EditCommandColumn1" ButtonType="ImageButton" CancelImageUrl="~/App_Themes/Images/false.gif"
                                                                CancelText="" EditImageUrl="~/App_Themes/Images/clear.gif" EditText="" UpdateImageUrl="~/App_Themes/Images/true.gif"
                                                                UpdateText="">
                                                            </EditColumn>
                                                            <PopUpSettings ScrollBars="None"></PopUpSettings>
                                                        </EditFormSettings>
                                                        <PagerStyle Mode="Slider" />
                                                    </MasterTableView>
                                                    <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" EnableRowHoverStyle="True">
                                                    </ClientSettings>
                                                    <FilterMenu Skin="Vista" EnableTheming="True">
                                                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                                                    </FilterMenu>
                                                </telerik:RadGrid>
                                            </Content>
                                        </ajaxToolkit:AccordionPane>
                                    </Panes>
                                </ajaxToolkit:Accordion>
                            </ContentTemplate>
                        </ajaxToolkit:TabPanel>
            <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">Close</asp:LinkButton>
        </asp:Panel>
        <ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" BackgroundCssClass="modalBackground"
            PopupControlID="Panel1" TargetControlID="Panel1">
        </ajaxToolkit:ModalPopupExtender>
[+][-]04/05/09 01:10 AM, ID: 24070573Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: .NET, Programming for ASP.NET, JavaScript
Tags: ASP.NET, C#, AJAX
Sign Up Now!
Solution Provided By: MrMintanet
Participating Experts: 2
Solution Grade: A
 
[+][-]04/05/09 02:21 AM, ID: 24070791Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625