Posted on 47 minutes ago
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Posted on on Jun 28, 2011
Posted on on Jun 28, 2011
Thank you for writing.
Before getting to your question, we would like to check something related to your license. Your account shows no purchases and it seems that you have not downloaded the WinForms suite from our site. Since it is our policy to support users in good account standing, I will ask you to give us more details on the license you are using:
- In case you have downloaded it from another site, please let us know so that we can update your account and provide you with proper support services;
- In case you have obtained a copy of our controls through the company you work for, please ask the purchase holder to add you as a License Developer to the purchase. This will give you full access to the products your company has purchased, to our downloads section, and to our support ticketing system. Additionally, all your questions will be reviewed according to the license you have. More information on License Developers you can find here: www.telerik.com/faq.
I have moved your Forum post to our support ticketing system to avoid sharing any private information in the public Forums. You can find the ticket in Your Account.
As to your first question, I would kindly ask you to provide some more details such as, which Telerik controls are you using to drag from / to and which demo are you referring to. It would also be very helpful if you can prepare a sample project where you reproduce the unwanted behavior and an explanation of what the proper behavior is.
On your second question. You can add an extra column in your DB table, storing the items. In this extra column you can save the order in which you want to display the items. When you visualize the items later you need to just order them by this extra column.
I have converted your forum post to a support ticket so you can add an attachment.
I am looking forward to your reply.
Posted on on Jun 23, 2011

<telerik:GridTemplateColumn UniqueName="XYZDropDownType" HeaderText="XYZ DropDown Type" SortExpression="XYZDropDownType"> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem,"XYZDropdownType")%> </ItemTemplate> <EditItemTemplate> <telerik:RadComboBox ID="RadComboBox2" runat="server" DataTextField="Description" Width="150px" MaxHeight="200" SkinID="EzComboBox" DataSourceID="ObjectDataSource2" AppendDataBoundItems="true" DataValueField="XYZDropdownTypeId" SelectedValue='<%#Bind("XYZDropdownTypeId") %>' EnableVirtualScrolling="True"> <Items> <telerik:RadComboBoxItem Text="Choose One" Value="" /> </Items> </telerik:RadComboBox> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn UniqueName="ABCType" HeaderText="ABC Type" SortExpression="ABCTypeName"> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem,"ABCTypeName")%> </ItemTemplate> <EditItemTemplate> <telerik:RadComboBox ID="RadComboBox3" runat="server" DataTextField="Type" Width="160px" MaxHeight="200" SkinID="EzComboBox" DataSourceID="ObjectDataSource3" AppendDataBoundItems="true" DataValueField="ABCTypeId" SelectedValue='<%#Bind("ABCTypeId") %>' EnableVirtualScrolling="True"> <Items> <telerik:RadComboBoxItem Text="Choose One" Value="" /> </Items> </telerik:RadComboBox> </EditItemTemplate> </telerik:GridTemplateColumn><telerik:RadGrid ID="FileList" Width="97%" AllowPaging="True" runat="server" AllowSorting="True" OnNeedDataSource="FileList_NeedDataSource" GridLines="None" AutoGenerateColumns="False" Skin="Windows7" Height="220px"><HeaderContextMenu EnableImageSprites="True" ></HeaderContextMenu> <MasterTableView Width="100%" DataKeyNames="FileID" ><CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings> <Columns> <telerik:GridBoundColumn DataField="FileID" DataType="System.Int32" HeaderText="FileID" SortExpression="FileID" UniqueName="FileID" ReadOnly="True" Visible="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FileNumber" HeaderText="File Number" SortExpression="FileNumber" UniqueName="FileNumber" HeaderStyle-Width="85px" ItemStyle-HorizontalAlign="Center"><HeaderStyle Width="85px"></HeaderStyle><ItemStyle HorizontalAlign="Center"></ItemStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DateEntered" DataType="System.DateTime" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Date Entered" SortExpression="DateEntered" UniqueName="DateEntered" HeaderStyle-Width="85px"><HeaderStyle Width="85px"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DateBoxed" DataType="System.DateTime" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Date Boxed" SortExpression="DateBoxed" UniqueName="DateBoxed" HeaderStyle-Width="85px"><HeaderStyle Width="85px"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DestroyDate" DataType="System.DateTime" HeaderStyle-Width="100px" HeaderText="Destroy Date" ReadOnly="True" SortExpression="DestroyDate" DataFormatString="{0:dd/MM/yyyy}" UniqueName="DestroyDate"><HeaderStyle Width="100px"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FileStatus" HeaderText="File Status" HeaderStyle-Width="115px" SortExpression="FileStatus" UniqueName="FileStatus"><HeaderStyle Width="115px"></HeaderStyle> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Business" DataType="System.Int32" HeaderText="Business" SortExpression="Business" UniqueName="Business" Visible="false"> </telerik:GridBoundColumn> </Columns></MasterTableView> <PagerStyle Mode="NextPrevAndNumeric" /> <ClientSettings> <Selecting AllowRowSelect="True" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" /> </ClientSettings> <FilterMenu EnableTheming="True" > <CollapseAnimation Duration="200" Type="OutQuint" /> </FilterMenu> </telerik:RadGrid>Protected Sub FileList_NeedDataSource(ByVal source As Object, ByVal e As GridNeedDataSourceEventArgs) Handles FileList.NeedDataSource FileList.DataSource = GetFileList End Sub<asp:SqlDataSource ID="GetFileList" runat="server" ConnectionString="<%$ ConnectionStrings:FileawaySQLConnectionString %>" SelectCommand="SELECT * FROM [qryFileList] WHERE ([Business] = @Business)"> <SelectParameters> <asp:ControlParameter ControlID="lblUserID" Name="Business" PropertyName="Text" Type="Int32" /> </SelectParameters> </asp:SqlDataSource><telerik:RadGrid ID="FileHistory" Width="97%" AllowPaging="True" runat="server" AllowSorting="True" OnNeedDataSource="FileHistory_NeedDataSource" GridLines="None" AutoGenerateColumns="False" Skin="Windows7" Height="220px"><HeaderContextMenu EnableImageSprites="True" ></HeaderContextMenu> <MasterTableView Width="100%" ><CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings> <Columns> <telerik:GridBoundColumn DataField="FileID" DataType="System.Int32" HeaderText="FileID" ReadOnly="True" SortExpression="FileID" UniqueName="FileID"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FileNumber" HeaderText="FileNumber" SortExpression="FileNumber" UniqueName="FileNumber"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FileHistoryAction" HeaderText="FileHistoryAction" SortExpression="FileHistoryAction" UniqueName="FileHistoryAction"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DateofAction" DataType="System.DateTime" HeaderText="DateofAction" SortExpression="DateofAction" UniqueName="DateofAction"> </telerik:GridBoundColumn> </Columns></MasterTableView> <PagerStyle Mode="NextPrevAndNumeric" /> <ClientSettings> <Selecting AllowRowSelect="True" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" /> </ClientSettings> <FilterMenu EnableTheming="True" > <CollapseAnimation Duration="200" Type="OutQuint" /> </FilterMenu> </telerik:RadGrid>Protected Sub FileHistory_NeedDataSource(ByVal source As Object, ByVal e As GridNeedDataSourceEventArgs) Handles FileHistory.NeedDataSource FileList.DataSource = GetFileHistory End Sub<asp:SqlDataSource ID="GetFileHistory" runat="server" ConnectionString="<%$ ConnectionStrings:FileawaySQLConnectionString %>" SelectCommand="SELECT * FROM [qryFileHistory] WHERE ([FileID] = @FileID)"> <SelectParameters> <asp:ControlParameter ControlID="FileList" Name="FileID" PropertyName="SelectedValue" Type="Int32" /> </SelectParameters> </asp:SqlDataSource><asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <telerik:RadGrid ID="rgContacts" runat="server" GridLines="None" AllowPaging="True" CssClass="RadGrid" AllowSorting="False" AutoGenerateColumns="False" ShowStatusBar="true" OnPreRender="rgContacts_PreRender" OnNeedDataSource="rgContacts_NeedDataSource" OnUpdateCommand="rgContacts_UpdateCommand" OnInsertCommand="rgContacts_InsertCommand" OnDeleteCommand="rgContacts_DeleteCommand"> <MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="con_Contact_ID"> <Columns> <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" /> <telerik:GridBoundColumn UniqueName="con_Firstname" HeaderText="First Name" DataField="con_Firstname" /> <telerik:GridBoundColumn UniqueName="con_Surname" HeaderText="Surname" DataField="con_Surname" /> <telerik:GridBoundColumn UniqueName="con_Position" HeaderText="Position" DataField="con_Position" /> <telerik:GridBoundColumn UniqueName="con_Email" HeaderText="Email" DataField="con_Email" /> <telerik:GridBoundColumn UniqueName="con_Phone" HeaderText="Landline" DataField="con_Phone" /> <telerik:GridBoundColumn UniqueName="con_Mobile" HeaderText="Mobile" DataField="con_Mobile" /> <telerik:GridBoundColumn UniqueName="con_Fax" HeaderText="Fax" DataField="con_Fax" /> <telerik:GridBoundColumn UniqueName="con_Is_Primary" HeaderText="Is Primary Contact" DataField="con_Is_Primary" /> <telerik:GridButtonColumn UniqueName="DeleteColumn" Text="Delete" CommandName="Delete" /> </Columns> <EditFormSettings UserControlName="Controls/ContactDetails.ascx" EditFormType="WebUserControl"> <EditColumn UniqueName="EditCommandColumn1"> </EditColumn> </EditFormSettings> </MasterTableView> <ClientSettings> <ClientEvents OnRowDblClick="RowDblClick" /> </ClientSettings> </telerik:RadGrid> </ContentTemplate> </asp:UpdatePanel>