Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
405 views

Hi,

Let me describe the example i am looking for.  Lets say we have following tables.

EMPLOYEE ( EmpNo, Name, FK_DepartmentNo, FK_RoleID)    -- FK stands for foreign key.

DEPARTMENT (DeptNo, DepartmentName)

ROLE ( RoleID, RoleName)

VIEW_EMPLOYEE( EmpNo, Name, DepartmentName, RoleName)

Now I want to use CRUD operation on EMPLOYEE table using Grid.  While listing data in grid, I will list data from View_Employee, but while editing grid I want Insert/Update/Delete to act on EMPLOYEE table.  I want to use Form Template during Edit, so that i can bring appropriate list to fill into Department and Role Dropdown controls respectively.  

Can anyone point me to such a real life example to understand how it can be done with telerik grid.

The Telerik samples of grid shows examples where data comes from single table like Contacts Table or Products Table with simple text columns and that does not simulate real world scenarios.  Hence i am asking this question here.

 

Regards

 

 

 

Vessy
Telerik team
 answered on 26 Jan 2021
8 answers
176 views
Good afternoon,

I'm working on a search box that filters the information from an EntityDataSource.
I am looking for a solution that gets you the "final" DataSource, I mean the data collection that you can read after putting some letters in the search box.

Is there any way to get it?

Thank you for your attention



Vessy
Telerik team
 answered on 26 Jan 2021
3 answers
88 views

Good morning, I need to develop a combined chart, I leave it attached.
I could not find an example in the documentation.

Thanks a lot.

 

 

Vessy
Telerik team
 answered on 25 Jan 2021
28 answers
904 views

Hi Team,

      We are binding radgrid from server side,  and using default Export to Excel functionality. The problem area is when we export the excel we are getting Extra Words like "Sorted ascSorted desc" in Column Header along with Column Name. We have tried few related properties of export settings but failed to resolve the issue. For your reference attaching problematic excel screenshot and also grid settings below.

Please do needful as soon as possible.

Thanks.

            RadAjaxLoadingPanel RadajaxloadingpanelTestdata = new RadAjaxLoadingPanel();
            RadajaxloadingpanelTestdata.ID = "Radajaxloadingpanel_AccActWidget_" + WidMapID;
            this.Controls.Add(RadajaxloadingpanelTestdata);

            RadAjaxPanel panel_testdata = new RadAjaxPanel();
            panel_testdata.ID = WidMapID;

            RadGrid rgTestData = new RadGrid();
            rgTestData.ID = WidMapID;
            rgTestData.AllowPaging = true;
            rgTestData.AllowSorting = true;
            rgTestData.AutoGenerateColumns = false;
            rgTestData.ExportSettings.IgnorePaging = true;
            rgTestData.ExportSettings.ExportOnlyData = true;
            rgTestData.ExportSettings.Excel.Format.Equals("Biff");
            rgTestData.ExportSettings.HideStructureColumns = true;
            rgTestData.ExportSettings.FileName = "CountsOfTestsLoaded";
            rgTestData.ExportSettings.Pdf.ForceTextWrap = true;
            rgTestData.MasterTableView.DataKeyNames = new string[] { "VerifyDate" };
            rgTestData.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Bottom;
            rgTestData.MasterTableView.ClientDataKeyNames = new string[] { "VerifyDate" };
            rgTestData.MasterTableView.CommandItemSettings.ShowAddNewRecordButton = false;
            rgTestData.MasterTableView.CommandItemStyle.Height.Equals("22px");
            rgTestData.MasterTableView.CommandItemStyle.HorizontalAlign = HorizontalAlign.Right;
            rgTestData.MasterTableView.PagerStyle.AlwaysVisible = true;
            rgTestData.MasterTableView.PagerStyle.Mode.Equals("NextPrevAndNumeric");
            rgTestData.ShowHeader = true;
            rgTestData.ClientSettings.Selecting.AllowRowSelect = true;
            rgTestData.MasterTableView.CommandItemTemplate = new MyCommandItemTemplate() { IsRefresh = true, IsExcel = true, IsPdf = true, IsCsv = true };
            BoundColumns(rgTestData);
            panel_testdata.ClientEvents.OnRequestStart = "onRequestStartTestData";
            panel_testdata.LoadingPanelID = RadajaxloadingpanelTestdata.ClientID;
            this.Controls.Add(panel_testdata);
            panel_testdata.Controls.Add(rgTestData);

Attila Antal
Telerik team
 answered on 25 Jan 2021
20 answers
321 views
Hi,

Is it possible to display an image associated with a particular item beside the selected item? Like in the example at http://demos.telerik.com/aspnet-ajax/combobox/examples/default/defaultcs.aspx, there is a Payment Method combo box with some items in it. Upon viewing the available items we can see the image, but after making a selection the image associated with that particular item is not shown. How can that be achieved?

Thanks.
Regards.
Vessy
Telerik team
 answered on 25 Jan 2021
11 answers
277 views

Hello Team,

Whenever we copy an intranet link (tenmaid) for IE - it is able to convert that to a hyperlink properly but the same doesn't work for Chrome. But however, in Chrome it works for an external link

We simply copied the link using Ctrl + C & pasted it onto the editor as Ctrl + V

Telerik-> RadEditor - > HTML View on IE, <a> tags are displayed on TenMAID link and external link.

Take a look at IE screenshot

Telerik-> RadEditor - > HTML View on Chrome, <a> tags are not displayed on TenMAID link but <a> tags are shown on external link.

Take a look at Chrome screenshot

As the hyperlinking works fine for IE; it does identify it as a link - can we please figure out why this doesn't work for Chrome?

Link - https://tenmaid.tenuk.com/VendorJob/Job.aspx?tab=1&JobID=7556080

Rumen
Telerik team
 answered on 25 Jan 2021
3 answers
98 views

I am trying to focus the AutoCompleteBox racInput but got no success. I tried this:

function pageLoaded() {
            var radInput = $find("<%= RadAutoCompleteBox1.ClientID %>");
            radInput.focus();
            //console.log(document.getElementById('RadAutoCompleteBox1'));
        }

<body onload="pageLoaded()">

Any idea?

Vessy
Telerik team
 answered on 22 Jan 2021
1 answer
158 views

I have a dataset of values that I want to have represented in Pie charts, and I would like it if the RadHTMLChart could generate separate pie charts, delimited by the content of one of the data columns.

Is there any way I can do this with a single RadHTMLChart, or do I need to create separate charts, and manually break the datasets apart, feeding the broken datasets to separate charts?

I have attached examples of the dataset I'm working with, and the sort of output I'm hoping to achieve with the RadHTMLChart.  In the attached file, column QuestCode delimits the series, and AnswerLabel/Cnt identify the data elements for each pie chart.

Thank you!

Vessy
Telerik team
 answered on 22 Jan 2021
4 answers
451 views
Hi Telerik Support

I am opening a radwindow on the click of a radbutton and want to provide some animations while opening and closing a Radwindow. On googling I came up with a thread where the admin states that for the time being they are trying to provide more functionalities for the control and does not support animation (seems to be an old thread). Do the latest version supports animation?

Then I found that the Ajaxcontrol toolkit is providing an animation extender control which works pretty well with their modalpopupextender control and I tried to use the same animationextender with my radwindow which caused some unusual behavior in the page events especially clicks and all. So, Does the animationextender control works properly with RadWindow? If it works I wish if someone can post a full working solution here.

Thanks
Ivy
Hugo Augusto
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 22 Jan 2021
1 answer
1.1K+ views

My asyncupload control is dynamically added during code runtime inside Page_Init. After my asyncupload validate success, the input is still showing red. opening the console i saw the error as shown in the attached file. Not sure if it is relevant, this code is created as a visual web part(farm solution) for Sharepoint 2016

 

i added the following to web.config

01.<httpHandlers>
02.     <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
03.      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
04.      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
05.</httpHandlers>
06. 
07. 
08.<handlers>
09....
10. <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
11.      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
12.      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
13.</handlers>
14. 
15.<location path="Telerik.Web.UI.WebResource.axd">
16.    <system.web>
17.      <authorization>
18.    <allow users="?"/>
19.      </authorization>
20.    </system.web>
21.  </location>
22.<location path="ScriptResource.axd">
23.    <system.web>
24.      <authorization>
25.    <allow users="?"/>
26.      </authorization>
27.    </system.web>
28.  </location>
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
 answered on 22 Jan 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?