Let's see if I can make this clear. I have a very plain grid with an EditTemplate Form. When I click on Add Record or Edit event, it clears the page and returns ascii junk. This only happens on a few grids. Some grids work fine with the same structure, some don't. I thought it might be caused by the textbox binding being misspelled, but that was double checked. I've commented everything else out on the page to narrow down and illiminate any other possibilities. I'm using the latest version of Telerik of Q3 2009. Any one have any ideas or clues of where to begin troubleshooting? Here is my code:
| <rad:RadGrid ID="gridRole" runat="server" AutoGenerateColumns="false" AllowPaging="true" AllowSorting="true" Skin="Black"><MasterTableView |
| CommandItemDisplay="Top" EnableNoRecordsTemplate="true" |
| ShowHeadersWhenNoRecords="true" EditMode="PopUp"><CommandItemSettings |
| AddNewRecordText="Add Role" RefreshText="Refresh" /><NoRecordsTemplate><label |
| style="font-size:medium;">No roles available</label></NoRecordsTemplate><Columns> |
| <rad:GridEditCommandColumn ButtonType="LinkButton" CancelText="Cancel" |
| EditText="Edit" UpdateText="Update" /> |
| <rad:GridBoundColumn DataField="Name" HeaderText="Name" /> |
| <rad:GridButtonColumn ButtonType="LinkButton" Text="Delete" |
| CommandName="DeleteRole" CommandArgument="RoleName" /> |
| </Columns> |
| <EditFormSettings EditFormType="Template" InsertCaption="New Role"> |
| <PopUpSettings Modal="false" ZIndex="2500"/> |
| <FormTemplate> |
| <fieldset class="forms" style="width:540px;"> |
| <div class="required"><label>Name</label><asp:TextBox |
| ID="txtRoleName" runat="server" Text='<%#Bind("RoleName") %>' /></div> |
| <div class="optional"><label>Description</label><asp:TextBox |
| ID="txtRoleDesc" runat="server" Text='<%#Bind("Description") %>' |
| TextMode="MultiLine" Rows="10"/></div> |
| <asp:Button ID="btnRoleUpdate" runat="server" |
| Text='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "Insert", "Update") %>' |
| CommandName='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "PerformRoleInsert", "Update")%>' /> <asp:Button |
| ID="btnRoleCancel" runat="server" Text="Cancel" |
| CausesValidation="False" CommandName="Cancel"/></fieldset></FormTemplate></EditFormSettings></MasterTableView><ClientSettings><ClientEvents |
| OnRowDblClick="RowDblClick" /></ClientSettings></rad:RadGrid> |