Ok, so, what is happening right now, is for some reason when I try to add columns to the RadGrid in the designer, I can see them in the designer, but the source is not changing. So if I right-click on the control and hit refresh, the columns are gone. Its as though the designer is working but its not actually chaning the Source Code. The only way I can get it to work is to remove it and add a new RadGrid Control. Then it works for awhile, and stops working again.
| <%@ Control Language="VB" AutoEventWireup="false" CodeFile="leftPowerPAD.ascx.vb" Inherits="controls_leftPowerPAD" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <telerik:RadAjaxPanel ID="RAPPowPad" runat="server"> |
| <div id="areaPwrPadLists"> |
| <table cellpadding="0" cellspacing="0"> |
| <tr> |
| <td> |
| <asp:DropDownList ID="DropDownList1" runat="server" CssClass="dropListA"> |
| <asp:ListItem Selected="True" Value="0">-- Select List--</asp:ListItem> |
| </asp:DropDownList> |
| </td> |
| <td> </td> |
| <td valign="middle"> |
| <asp:ImageButton ID="ImageButton13" runat="server" |
| ImageUrl="~/images/buttonPPGo.gif" /> |
| </td> |
| </tr> |
| </table> |
| </div> |
| <table border="0" cellpadding="0" cellspacing="0" class="tblPowerPad"> |
| <tr> |
| <td class="cellPowerPadHead">JS Order #</td> |
| <td class="cellPowerPadHead">Qty</td> |
| <td> </td> |
| </tr> |
| <tr> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox1" CssClass="inputA" Width="155px" runat="server" /> |
| </td> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox2" CssClass="inputA" Width="25px" runat="server" /> |
| </td> |
| <td> |
| <asp:ImageButton ID="ImageButton3" runat="server" |
| ImageUrl="~/images/buttonDelete.gif" T |
| oolTip="Delete This Item" /> |
| </td> |
| </tr> |
| <tr> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox3" CssClass="inputA" Width="155px" runat="server" /> |
| </td> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox4" CssClass="inputA" Width="25px" runat="server" /> |
| </td> |
| <td> |
| <asp:ImageButton ID="ImageButton4" runat="server" |
| ImageUrl="~/images/buttonDelete.gif" T |
| oolTip="Delete This Item" /> |
| </td> |
| </tr> |
| <tr> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox5" CssClass="inputA" Width="155px" runat="server" /> |
| </td> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox6" CssClass="inputA" Width="25px" runat="server" /> |
| </td> |
| <td> |
| <asp:ImageButton ID="ImageButton5" runat="server" |
| ImageUrl="~/images/buttonDelete.gif" T |
| oolTip="Delete This Item" /> |
| </td> |
| </tr> |
| <tr> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox7" CssClass="inputA" Width="155px" runat="server" /> |
| </td> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox8" CssClass="inputA" Width="25px" runat="server" /> |
| </td> |
| <td> |
| <asp:ImageButton ID="ImageButton9" runat="server" |
| ImageUrl="~/images/buttonDelete.gif" T |
| oolTip="Delete This Item" /> |
| </td> |
| </tr> |
| <tr> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox9" CssClass="inputA" Width="155px" runat="server" /> |
| </td> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox10" CssClass="inputA" Width="25px" runat="server" /> |
| </td> |
| <td> |
| <asp:ImageButton ID="ImageButton6" runat="server" |
| ImageUrl="~/images/buttonDelete.gif" T |
| oolTip="Delete This Item" /> |
| </td> |
| </tr> |
| <tr> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox11" CssClass="inputA" Width="155px" runat="server" /> |
| </td> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox12" CssClass="inputA" Width="25px" runat="server" /> |
| </td> |
| <td> |
| <asp:ImageButton ID="ImageButton7" runat="server" |
| ImageUrl="~/images/buttonDelete.gif" T |
| oolTip="Delete This Item" /> |
| </td> |
| </tr> |
| <tr> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox13" CssClass="inputA" Width="155px" runat="server" /> |
| </td> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox14" CssClass="inputA" Width="25px" runat="server" /> |
| </td> |
| <td> |
| <asp:ImageButton ID="ImageButton8" runat="server" |
| ImageUrl="~/images/buttonDelete.gif" T |
| oolTip="Delete This Item" /> |
| </td> |
| </tr> |
| <tr> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox15" CssClass="inputA" Width="155px" runat="server" /> |
| </td> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox16" CssClass="inputA" Width="25px" runat="server" /> |
| </td> |
| <td> |
| <asp:ImageButton ID="ImageButton10" runat="server" |
| ImageUrl="~/images/buttonDelete.gif" T |
| oolTip="Delete This Item" /> |
| </td> |
| </tr> |
| <tr> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox17" CssClass="inputA" Width="155px" runat="server" /> |
| </td> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox18" CssClass="inputA" Width="25px" runat="server" /> |
| </td> |
| <td> |
| <asp:ImageButton ID="ImageButton11" runat="server" |
| ImageUrl="~/images/buttonDelete.gif" T |
| oolTip="Delete This Item" /> |
| </td> |
| </tr> |
| <tr> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox19" CssClass="inputA" Width="155px" runat="server" /> |
| </td> |
| <td class="cellPowerPadInput"> |
| <asp:TextBox ID="TextBox20" CssClass="inputA" Width="25px" runat="server" /> |
| </td> |
| <td> |
| <asp:ImageButton ID="ImageButton12" runat="server" |
| ImageUrl="~/images/buttonDelete.gif" T |
| oolTip="Delete This Item" /> |
| </td> |
| </tr> |
| </table> |
| <telerik:RadGrid ID="RadGrid1" runat="server" |
| AllowMultiRowEdit="True" AutoGenerateDeleteColumn="True" |
| AutoGenerateEditColumn="True" DataSourceID="SqlDataSource1" GridLines="None" |
| Skin="Default2006" AutoGenerateColumns="False"> |
| <MasterTableView DataSourceID="SqlDataSource1"> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="20px" /> |
| </ExpandCollapseColumn> |
| </MasterTableView> |
| <ClientSettings AllowColumnsReorder="True"> |
| </ClientSettings> |
| <FilterMenu EnableTheming="True"> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| </FilterMenu> |
| </telerik:RadGrid> |
| <div> |
| <asp:HyperLink ID="HyperLink1" runat="server" CssClass="lnkClose" |
| Text="Clear All" NavigateUrl="#" /> |
| </div> |
| <div class="padButtons"> |
| <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/buttonPPAddList.gif" /> |
| |
| <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/buttonPPAddCart.gif" /> |
| </div> |
| <asp:Panel ID="Panel1" runat="server"> |
| </asp:Panel> |
| </telerik:RadAjaxPanel> |