<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<$ ConnectionStrings>" SelectCommand="SELECT [ID] as [DataKeyID], [ID] as [InsertID], [Name], [Order] FROM [Cities] ORDER BY [Order]" DeleteCommand="DELETE FROM [Cities] WHERE [ID] = @ID"> <DeleteParameters> <asp:Parameter Name="ID" Type="Int32" /> <//DeleteParameters> </asp:SqlDataSource> <telerik:RadListBox ID="RadListBox1" runat="server" AllowAutomaticUpdates="true" AllowTransfer="true" TransferToID="RadListBox2" AutoPostBackOnTransfer="true" DataKeyField="DataKeyID" DataTextField="Name" DataValueField="ID" DataSourceID="SqlDataSource1" > </telerik:RadListBox>
If you want to use the field, bound to the DataKeyField of the first RadListBox in the InsertCommands of the second ListBox, select it twice in the SelectCommand and give them different names. Then use the first one for the DataKeyField of the first RadListBox, and the second one for the InsertCommand of the second RadListBox.
Here is an example:
2. In the second RadListBox:
Here is an example:
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<$ ConnectionStrings>" SelectCommand="SELECT [ID], [Name], [Order] FROM [Cities] ORDER BY [Order]" InsertCommand="INSERT INTO [Cities] ([Name], [Order]) VALUES (@Name, @Order)"> <InsertParameters> <asp:Parameter Name="Name" Type="String" /> <asp:Parameter Name="Order" Type="Int32" /> </InsertParameters> </asp:SqlDataSource> <telerik:RadListBox ID="RadListBox2" runat="server" AllowAutomaticUpdates="true" DataKeyField="ID" DataTextField="Name" DataValueField="ID" DataSourceID="SqlDataSource1" > </telerik:RadListBox>
Dim ctrl As Control = Page.LoadControl("/News/Bulletin/Bulletin.ascx")panel.ContentTemplateContainer.Controls.Add(ctrl)Dim myBulletin As ASP.Bulletin = DirectCast(ctrl, ASP.Bulletin)ctrl = NothingmyBulletin.showThisNews_IDNews = elementIDmyBulletin.setCssStyleSheet = "/Preferences/News/Style/Bulletin/bulletinStyles.css" Hi guys,
I'm facing the following issue on one of our SharePoint Front ends. Here is the what I'm getting in the logs:
Error on page: http://www.oursharepoint.com/_wpresources/RadEditorSharePoint/5.2.0.0__1f131a624888eeed/Resources/CssEditor.css System.Web.HttpException: Request timed out. We have verified the web.config entries using the following intstructions
1. Instructions 11
2.
Instructions
22
Is anyone having idea why are we facing this issues?
I would appreciate any help
BR
Falak
