Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
132 views
This works for ItemTemplate:

http://www.telerik.com/help/aspnet-ajax/menu-templates-accessing-controls.html

But how can I access the ContentTemplate for a menu item from code?

Marc
Ivan Danchev
Telerik team
 answered on 01 Apr 2015
7 answers
197 views
I have a tabstrip with a multipage.
I specified a default button in one of the pages:
<telerik:RadPageView CssClass="TabPageView" runat="server" ID="PageView5"
DefaultButton="ButtonSearchPerson">
<table>
  <tr>
    <td>
<telerik:RadTextBox ID="RadTextBoxSearchPerson" runat="server"
EmptyMessage="Search person by ID or url" MaxLength="50" Rows="1"
SelectionOnFocus="SelectAll" Width="155px">
</telerik:RadTextBox>
        <asp:Button ID="ButtonSearchPerson" runat="server" OnClick="ButtonSearchPerson_Click"
Text="Search" />
...

Nothing special.
When I click inside the textbox (in this pageview) I expect the default button to fire.
Instead a button from the first page fires (with a different ID).
Am I doing anything wrong here?
Any advice?
Nencho
Telerik team
 answered on 01 Apr 2015
1 answer
92 views
I have 2 queries. My platform is VS 2010 with .net 4.0 web forms

1. My Telerik.Web.UI version is  2013.1.403.40. Which minimum version do I need to use to get the client side UI  Virtualization support considering above platform.

<telerik:RadGrid ID="SourceGrid" runat="server" ShowGroupPanel="false" AllowSorting="false" ShowFooter="true" AllowPaging="false" HeaderStyle-CssClass="tableHeading br" AutoGenerateColumns="false" GridLines="Both" EnableViewState="false">
<ClientSettings>           
<
Virtualization EnableVirtualization="true" InitiallyCachedItemsCount="2000" LoadingPanelID="RadAjaxLoadingPanel1" ItemsPerView="100"/><br>               <Scrolling AllowScroll="true" UseStaticHeaders="true"></Scrolling>


2. Currently once I am binding huge rows date to RadGrid using client side API, grid showing a message (Please see attached image). How can I make it something meaningful that user can understand the progress of background rendering?
Viktor Tachev
Telerik team
 answered on 01 Apr 2015
1 answer
308 views
Hi Team,

We are using Custom Export to excel button to export the Radgrid data to excel. While exporting the data we are trying to show the spinner during the export  but we are unable to catch the file downloaded event, So even the file downloads the spinner still continues to spin. Is there any other option to show waiting panel in this case. please help me on this. Please find the code below.

We tried with Auto Export excel option "<CommandItemSettings ShowExportToExcelButton="true" />" of radgrid. But it's showing the data on the screen in datatable format. we need the file to be downloaded. Not getting the file download option in this case.

.aspx

<td>
<asp:ImageButton ID="ExportToExcel" src="images/Excel.png" OnClientClick="showspinner();" runat="server" OnClick="ExportToExcel_Click" width="50"/>
</td>

.aspx.cs

RadGridMigrationReport.MasterTableView.ExportToExcel();
Kostadin
Telerik team
 answered on 01 Apr 2015
1 answer
146 views
Good Day,

This is my first time to use Telerik OrgChart and I am facing some difficulties while trying to view it as it renders but doesn't show on the page.

Below is my code.

DataTable employees = new DataTable();

employees.Columns.Add("EmployeeID", typeof(String));
employees.Columns.Add("EmployeeName", typeof(String));
employees.Columns.Add("DepartmentName", typeof(String));
employees.Columns.Add("JobTitle", typeof(String));
employees.Columns.Add("Parent", typeof(String));

employees.Rows.Add("1111", "aaa", "aaa", "aaa", null);


telerikOrgChart.DataFieldID = "EmployeeID";
telerikOrgChart.DataFieldParentID = "Parent";
telerikOrgChart.DataTextField = "EmployeeName";

telerikOrgChart.DataBind();


Thanks in advance,
Taher
Top achievements
Rank 1
 answered on 01 Apr 2015
1 answer
78 views
Hello,

I have enabled track changes EnableTrackChanges="true" on rad editor, after that copy paste is not working.

without track changes its working fine, but with track chages its not working on chrome and safari while its working on firefox.

please give me any solution for it.

Thanks.
Marin Bratanov
Telerik team
 answered on 01 Apr 2015
1 answer
112 views
Hey guys, I'm stuck with this issue. I basically added a couple of radeditors under a sublayout for some page at my sitecore CMS, and when I go to the page everything looks fine with the RadEditor till I try to add a link, image, etc. I've been reading a lot about this without luck. I also checked this article: http://www.telerik.com/support/kb/aspnet-ajax/editor/details/error-web-config-registration-missing!-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file- 

My web.config looks fine, with all the handlers in place and so. So now just wondering whether this is an issue with the sitecore configuration or something?

My web.config looks like this:

    <handlers>
      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </handlers>

    </httpHandlers>
      <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
      <add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </httpHandlers>
Marin Bratanov
Telerik team
 answered on 01 Apr 2015
1 answer
69 views
Greetings.

It seems the RadPageLayout control uses a 960px wide grid as its basis.

Can this be changed to 1200px so that all columns have a default size of 1000px vs. 80px? How and where would I make this change to globally apply to my site.

Thanks,

Greg
Ivan Zhekov
Telerik team
 answered on 01 Apr 2015
12 answers
462 views
I have a radlistbox that is located in a html table. To center the radlistbox on the page I have the <td style="text-align:center"> but by doing this the bound list item's text are also centered in the radlistbox. How can I keep the radlistbox aligned center in the html table and also have the radlistboxitem's text left aligned?

<table>
    <tr>
        <td style="text-align:center">
            <telerik:RadListBox ...

Thanks,


Steve Holdorf

 
Magdalena
Telerik team
 answered on 01 Apr 2015
1 answer
134 views
I really want to try and use Rad HTML Chart for this, instead of just returning text.  it is a page to display Survey Responses.  Each response is a Likert Scale 1-4. I  need to display the averages of 7 questions in a single chart (because they are grouped similar questions)  Here's the problem.  Each question does have a "N/A" option which stores a NULL value in SQL so they are not calculated in the AVG or COUNT functions.

Question 1: 14 Responses, with a 3.75 AVG
Question 2: 12 Responses, with a 3.67 AVG
Question 3: 14 Responses, with a 2.00 AVG
Question 4: 13 Responses, with a 3.75 AVG
Question 5: 10 Responses, with a 2.00 AVG
etc.

I would like a single bar chart with each question a Column, showing the AVG, and the X-Axis label showing the # of responses per question that way we can justify the difference in number of responses.

Does that all make sense?

And here's my  problem; I don't know who to return the rows from SQL.  Do I return multiple rows and let ASP.NET do the AVERAGE and COUNT functions?  or do I make SQL do the calculations and only return 1 row with Col 1 = Question #1 COUNT, Col2 = Question #1 AVG, Col3 = Question #2 COUNT, Col4, Question #2 AVG, etc.

Or do I return 2 datasets, one with AVG and one with COUNT?

PLEASE HELP


Danail Vasilev
Telerik team
 answered on 01 Apr 2015
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
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
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?