im using the evaluation package so I don't know if this is a limitation but here goes.. I cannot edit data from any of my controls. Here is the following
Create a dummy SQL table
CREATE TABLE [EducationDates] (
[EMPL_ID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[EducationType] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL ,
[EducationDate] [datetime] NOT NULL ,
[EducationID] [int] IDENTITY (1, 1) NOT NULL ,
CONSTRAINT [PK_EducationDates] PRIMARY KEY CLUSTERED
(
[EducationID]
) WITH FILLFACTOR = 90 ON [PRIMARY]
) ON [PRIMARY]
GO
--MAKE SURE YOU HAVE A PK and THAT IT CAN AUTOINCREMENT
--ADD SOME ROW DATA
create new aspx vb page.
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:phcJobPostsDevConnectionString %>"DeleteCommand="DELETE FROM [EducationDates] WHERE [EducationID] = @EducationID"InsertCommand="INSERT INTO [EducationDates] ([EMPL_ID], [EducationType], [EducationDate]) VALUES (@EMPL_ID, @EducationType, @EducationDate)"SelectCommand="SELECT * FROM [EducationDates]" UpdateCommand="UPDATE [EducationDates] SET [EducationDate] = @EducationDate WHERE [EducationID] = @EducationID">
<DeleteParameters>
<asp:Parameter Name="EducationID" Type="Int32" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="EducationDate" Type="DateTime" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="EMPL_ID" Type="String" />
<asp:Parameter Name="EducationType" Type="String" />
<asp:Parameter Name="EducationDate" Type="DateTime" />
</InsertParameters>
</asp:SqlDataSource>
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateEditColumn="True" DataSourceID="SqlDataSource1"
GridLines="None">
<MasterTableView AutoGenerateColumns="False" DataKeyNames="EducationID" DataSourceID="SqlDataSource1">
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="EMPL_ID" HeaderText="EMPL_ID" SortExpression="EMPL_ID"
UniqueName="EMPL_ID">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="EducationType" HeaderText="EducationType" SortExpression="EducationType"
UniqueName="EducationType">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="EducationDate" DataType="System.DateTime" HeaderText="EducationDate"
SortExpression="EducationDate" UniqueName="EducationDate">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="EducationID" DataType="System.Int32" HeaderText="EducationID"
ReadOnly="True" SortExpression="EducationID" UniqueName="EducationID">
</telerik:GridBoundColumn>
</Columns>
<EditFormSettings>
<PopUpSettings ScrollBars="None" />
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
The Editor does not remember the selected item of a Select Element in IE.
You can see this behavior in action by pasting the below html in the html view then switch to design view.
| <select id="Select1" name="Select1"> |
| <option value="ACT">Australian Capitol Territory</option> |
| <option value="NSW" selected="true">New South Wales</option> |
| <option value="NT">Northern Territory</option> |
| <option value="QLD">Queensland</option> |
| <option value="SA">South Australia</option> |
| <option value="TAS">Tasmania</option> |
| <option value="VIC">Victoria</option> |
| <option value="WA">Western Australia</option> |
| </select> |
In design view it will have the 2nd item correctly selected, but if you switch back to html view it will automatically select the first item.
The Content property will also have the first item selected, regardless of what item is selected in design view.
Firefox did not have any problems remembering which item was selected.
Is there a way to make IE remember which item was selected?