Hi
I am new to Telerik controls. I have a requirement to create a simple rows and columns for a set of column header and row header. Basically there are two tables
one table contains 5 rows one column and another table contains 5 rows and 3 columns as shown in the attachment. there is no dynamic content. Its just a static table when I open it should open the data in the grid. if no data it should allow me to add data table.
I am still trying to create a sql table to combine these both table data and want to create a user control for a simple .aspx page.
Will you please advise on any sample?
Thanks
Shri
I have a RadDropDownList in the EditTemplate of a FormView. The page loads with the FormView in EditMode by default. But the RadDropDownList isn't selectable. I had the same problem with RadButtons. I couldn't click on them to submit the form. It's like they were read-only. I switched to asp:Button and the buttons work, but the RDDL still does not work, until I click the cancel button and perform a "reset" of the data. Then the dropdownlist becomes active.
Is there some trick I'm missing to be able to use Rad controls inside a FormView edit template?

For the life of me i can not figure out why the collapse/expand are missing. I took the page out and put it in its own project and it still doesnt show. I removed all code and script code. Basically a skeleton, but the +/- are no where to be seen! I can drag and drop and the database is updating correctly and TreeList, but he doesnt add in the +/-. It never shows, not even reload with the new data.
You can see from the attached files that the tree is missing the +/- for the third task. I attached the table screen shot too. I also had a problem with BOOTSTRAP theme not even showing the lines for the tree +/-.
This is a huge issue, that doesnt seem to have any rhyme or reason why it is missing. Please throw a bone my way on why this would not work.
I have another problem too - why can we not decorate the drag container? I would like all the row data not to show, just maybe a box or a label - "dragging" or something I want. If i put in a height for the TreeList the drag container matches this for some messed up reason. If that can be changed in CSS, please let me know. By all means change the default container height to match the drag row height NOT the grid height.
Thanks for the help Telerik
<html><head> <title>Test</title> </head><body> <form id="Form1" runat="server"> <asp:ScriptManager runat="server" ID="ScriptManager1"> </asp:ScriptManager> <telerik:RadTreeList runat="server" ID="RadTreeListProjectTasks" Skin="Web20" DataSourceID="SqlDataSource1" DataKeyNames="TaskProjectDetailId" ParentDataKeyNames="ParentTaskProjectDetailId" AutoGenerateColumns="false" Width="100%"> <ClientSettings AllowItemsDragDrop="true"> <Selecting AllowItemSelection="true" /> </ClientSettings> <Columns> <%--hidden columns for updating emails in user control--%> <telerik:TreeListBoundColumn UniqueName="TaskProjectDetailId" DataField="TaskProjectDetailId" Display="false" /> <telerik:TreeListBoundColumn UniqueName="ParentTaskProjectDetailId" DataField="ParentTaskProjectDetailId" Display="false" /> <telerik:TreeListBoundColumn UniqueName="UserProfileId" DataField="UserProfileId" Display="false" /> <telerik:TreeListDragDropColumn UniqueName="TreeListDragDropColumn" HeaderStyle-Width="30px"> </telerik:TreeListDragDropColumn> <telerik:TreeListTemplateColumn HeaderText="Source" DataField="Subject"> <ItemTemplate> <table class="templateTable" width="400px"> <tr> <td class="templateHeader"> <asp:Label ID="Subject" runat="server" Text='<%# Bind("Subject") %>'></asp:Label> <asp:Label ID="Description" runat="server" Text='<%# Bind("Description") %>'></asp:Label> </td> </tr> </table> </ItemTemplate> </telerik:TreeListTemplateColumn> </Columns> </telerik:RadTreeList> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:TestDbConnectionString %>" UpdateCommand="UPDATE [_TasksProjectDetailTBL] SET [ParentTaskProjectDetailId]=@ParentTaskProjectDetailId WHERE [TaskProjectDetailId] = @TaskProjectDetailId" SelectCommand="SELECT * FROM [_TasksProjectDetailTBL] TPD WHERE [TPD].TaskProjectMasterId IN (1)"> <UpdateParameters> <asp:Parameter Name="TaskProjectDetailIdParentId" Type="Int16"></asp:Parameter> <asp:Parameter Name="TaskProjectDetailId" Type="Int64"></asp:Parameter> </UpdateParameters> </asp:SqlDataSource> </form></body></html>
When I try to run the grid example locally on the "Live Examples - Telerik UI for ASP.NET AJAX R1 2017 SP1" page, I receive the following error message. How can I fix this error? I'm running Microsoft SQL Server 2016 on the same computer and selected the option to install the Telerik Sample Database when installing Telerik UI for ASP.NET AJAX.
Is this error because it can't connect to the SQL Server database on my computer or because it can connect to SQL Server but can't open the actual database it needs? How can I manually make sure the SQL database(s) needed for the example applications running locally are setup properly and accessible by the applications?
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Hi,
is there an example of the structure for a XML Datasource bind to TileList?
Can anyone post an example of a XMLFile ? Sorry nothing to find in forums and internet ...
Thanks
Hey I'm trying to sort my RadGrid columns using OnsortCommand event, but the event never fire's when clicked on column header.
Below the code for my Radgrid RadGrid<telerik:radgrid runat="server" id="EnergyWindowPresetGrid" cellspacing="0" gridlines="None" style="outline: none;"EnableViewState="True"OnNeedDataSource="TasksGrid_OnNeedDataSource"OnPreRender="TasksGrid_OnPreRender"AutoGenerateColumns="False"OnItemDataBound="TasksGrid_OnItemDataBound"OnSelectedIndexChanged="TasksGrid_OnSelectedIndexChanged"OnItemCreated="OnItemCreated"OnItemCommand="OnItemCommand"> <clientsettings> <Scrolling AllowScroll="true" ScrollHeight="300px" UseStaticHeaders="true" /> <telerik:ClientEvents OnGridCreated="GridCreated" /></clientsettings><mastertableview tablelayout="Auto" AllowMultiColumnSorting="True" ><Columns><telerik:GridBoundColumn UniqueName="Preset" DataField="Preset" HeaderStyle-Width="180px" SortExpression="Preset" HeaderButtonType="TextButton"AllowSorting="True"OnSortCommand="OnSortCommand"/><telerik:GridBoundColumn UniqueName="CreatedBy" DataField="CreatedBy" HeaderStyle-Width="100px" SortExpression="CreatedBy" HeaderButtonType="TextButton" /><telerik:GridBoundColumn UniqueName="ModificationDate" DataField="ModificationDate" HeaderStyle-Width="100px" SortExpression="ModificationDate" HeaderButtonType="TextButton"/> <telerik:GridTemplateColumn UniqueName="Edit" ReadOnly="True" HeaderStyle-Width="95px"><ItemTemplate><telerik:RadButton runat="server" CommandName="EditPreset" ID="EditButton" Width="100%"/></ItemTemplate></telerik:GridTemplateColumn><telerik:GridBoundColumn UniqueName="Delete" DataField="Delete" HeaderStyle-Width="20px"/> </Columns></mastertableview></telerik:radgrid><telerik:RadButton ID="CreatePreset" Text="+" runat="server" Width="1%" font="ArialBold" OnClick="CreatePreset_OnClick"></telerik:RadButton>
can anyone tell what is wrong with the code....
I am having an issue where a "File Explorer" control is altering a Rad Menu's layout when it is on the same page. I have stripped it all right back to a nothing else on the page,no CSS, etc and it is still doing it. Code is below:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="ToolkitScriptManager1" runat="server" AsyncPostBackTimeout="600" EnableTheming="True">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"></asp:ScriptReference>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"></asp:ScriptReference>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js"></asp:ScriptReference>
</Scripts>
</telerik:RadScriptManager>
<telerik:RadMenu ID="RadMenu1" runat="server" Width="1200px" RenderMode="Lightweight" EnableShadows="True" Skin="Glow">
<Items>
<telerik:RadMenuItem runat="server" NavigateUrl="Default.aspx" Text="test">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Test Test">
<Items>
<telerik:RadMenuItem runat="server" Text="Testing 1">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Testing 2">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Testing 3">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Testing 4">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Testing 5">
</telerik:RadMenuItem>
</Items>
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Test Test 2" NavigateUrl="TestTestTest">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Test 5">
</telerik:RadMenuItem>
</Items>
</telerik:RadMenu>
<div style="clear:both;">
<telerik:RadFileExplorer RenderMode="Lightweight" ID="myDocsFileExplorer" runat="server" Width="1200px" Skin="Glow">
<Configuration ViewPaths="~/mydocs/Documents" UploadPaths="~/mydocs/Documents" DeletePaths="~/mydocs/Documents" MaxUploadFileSize="10000000" AllowFileExtensionRename="false" />
</telerik:RadFileExplorer>
</div>
</form>
</body>
</html>