Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
139 views
Hi,
Good Day!!!

Observed, telerik grid is supporting multiple .net frameworks, since our Application is in VS 2010 with asp.net 4.0 framework.

Could you please provide your inputs below points, if we choose Telerik Rad Grid.

1. Which version of Telerik grid is preferable?.Can we go for latest versions of telerik grid on the same.
2. is Grid feature supports all versions of telerik as per the their demos?.
3. Telerik sample code compatible all .net frameworks.

Regards
Vasu.
Viktor Tachev
Telerik team
 answered on 01 Apr 2015
1 answer
45 views
Rad image editor is not displayig button images correctly

<telerik:RadImageEditor ID="RadImageEditor1" runat="server" Skin="MetroTouch" RenderMode="Auto" ShowAjaxLoadingPanel="True" ToolBarPosition="Bottom">
             </telerik:RadImageEditor>

Any one got any ideas?
Vessy
Telerik team
 answered on 01 Apr 2015
2 answers
73 views


Hi,

I am using this control in my project, for creating the
appointment I am using my custom aspx page. For the new appointment/from the
menu option as well I am unable to call my custom aspx page. But during the
edit I am able to call my aspx page.

So, how do I open my custom aspx page both on new
appointment creation/from the context menu as well?

For achieving the above I try to use the below events but
there are not firing why??

<telerik:RadScheduler runat="server" ID="Scheduler" SelectedView="MonthView"

            FirstDayOfWeek="Monday" LastDayOfWeek="Friday" OverflowBehavior="Auto" DayEndTime="20:00:00"

            DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"

             Height=""StartEditingInAdvancedForm="false"

             Skin="Outlook"            OnClientAppointmentClick="OnClientAppointmentClick" OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick" OnClientAppointmentContextMenuItemClicked="ClientAppointmentContextMenuItemClicked" >

            <AdvancedForm Modal="false"></AdvancedForm>

            <WeekView ShowResourceHeaders="false" />

            <TimelineView UserSelectable="false" />

            <MonthView UserSelectable="True" />

            <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>

            <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>

        </telerik:RadScheduler>

 

And my javascript is

function OnClientAppointmentDoubleClick(sender, eventArgs) {

             try{

                 alert('Test');

                 var win = window.open('abc.aspx', 'Details');

                 win.center();

             } catch (e) {

                 alert(e.message);

             }

         }

         function ClientAppointmentContextMenuItemClicked(sender, args) {

             try {

                 alert('Test');

                 var win = window.open('abc.aspx', 'Details');

                 win.center();

             } catch (e) {

                 alert(e.message);

             }

         }

Thanks
Burepalli V S Rao
Top achievements
Rank 1
 answered on 01 Apr 2015
2 answers
113 views
Hi Quick question I am using the trail version to show someone that its worth while to purchase but when i use the RadImage editor it is coming up corrupt ie no images on the buttons. I wanting to show the resize image options automatically is their any option to allow this. As I am using this for student photos and is their anyway to set default resize sizes?.

http://snag.gy/NmeSY.jpg

<telerik:RadImageEditor ID="RadImageEditor1" runat="server" Visible="False" ToolBarMode="Docked">
 </telerik:RadImageEditor>
Vessy
Telerik team
 answered on 01 Apr 2015
1 answer
123 views
I have an ASMX service inside same scope of my UI layer and using below lines to refer it and pull data for client side binding. No errors and no data too. What's wrong?

<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>
<DataBinding Location="Employee.asmx" SelectMethod="GetEmployees" >


[WebMethod]
public static List<Employee> GetEmployees()
{
List<Employee> employeeList = new List<Employee>();
for (int i = 0; i < 100; i++)
{

employeeList.Add(new Employee { EmpNumber = i, Name = "John" + i, Age = 30, Designation = "Clerk" + i, Salary = 2000 });
//    employeeList = new List<Employee> { 

//new Employee{ EmpNumber=1000, Name="John", Age=30, Designation="Clerk", Salary=2000},
//new Employee{ EmpNumber=1001, Name="Mary", Age=35, Designation="Programmer", Salary=4000},
//new Employee{ EmpNumber=1002, Name="Joe", Age=40, Designation="Manager", Salary=6000},
//new Employee{ EmpNumber=1003, Name="Mike", Age=45, Designation="Head", Salary=9000},
//new Employee{ EmpNumber=1004, Name="Leena", Age=28, Designation="DBA", Salary=3000},
//new Employee{ EmpNumber=1005, Name="Mark", Age=30, Designation="Tester", Salary=3000},
//new Employee{ EmpNumber=1006, Name="Hany", Age=31, Designation="Programmer", Salary=4000},
//new Employee{ EmpNumber=1007, Name="Tiaa", Age=45, Designation="Manager", Salary=6000},
//};
}


return employeeList;
}
Viktor Tachev
Telerik team
 answered on 01 Apr 2015
2 answers
185 views
Good day,

we are having some problems while trying to assign a string time value to a radtimepicker.

Page logic is as follows:
We have a formview with a bound control. That control is displaying a string with the value of a previous radtimepicker user inserted value.
We need to clientside assign the string value of the bound control to a radtimepicker in the current page.

We've read the api at
http://www.telerik.com/help/aspnet-ajax/calendar-client-side-basics.html
and there the only method seems to be set_selectedDate as a method to update the target field.
The problem is that set_selectedDate accepts only a date type, while our source type is a string.

We don't want to implement culture support for conversion from time string to time date, so we need to know:
1- is there an alternative client side method for setting the time in a radtimepicker, that uses a string parameter
2- is there an 'universal' datetime format that we can Date.Parse out time string ("08:30") so that the radtimepicker will accept it without culture and timezone problems?

Thanks in advance
Konstantin Dikov
Telerik team
 answered on 01 Apr 2015
1 answer
145 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
207 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
95 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
318 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?