We currently have Telerik version 2011.2.712.40 and to upgrade to version 2016.3.1027.
Our application runs on VS2010 microsoft framework 4.0.
Can we upgrade Telerik without upgrading Visual Studio nor the framework?
Thank you
We currently have Telerik version 2011.2.712.40 and to upgrade to version 2016.3.1027.
Our application runs on VS2010 microsoft framework 4.0.
Can we upgrade Telerik without upgrading Visual Studio nor the framework?
Thank you
I have an export to excel where I enter the excel crlf character. All of that works fine but when I open the excel file the column is not formatted to handle crlf and I have to set it to Wrap Text manually. Is there any way to format this column with wrap text?
Thanks,
James
I've been using RadAJAX for WebForms for a couple of years. I do 99% of my coding with dynamic controls, created in the code behind. My current project has many tab controls with multipages, etc, and many controls within each muliview. I am using RadAjaxManager and carefully keeping track of which controls trigger which.
Do I seriously have to recreate each and every control for every postback?? There are 100s, and many of them are not created until the user takes certain actions.
What are the strategies I can use?
Hi I have a bit of a problem, I have created a RadGrid with a masterView that displays initial info about a product, the grid has a Detail View which is another grid of SubItems that belong to each product.
I wan to be able to Edit the details of the Main Product as well as I also want to be able to edit Details of a SubItem (Not at the same time) , so I added an Edit Form to the MasterView and one to the DetailView, logically if I click the edit button on the masterview level product, the Grid should go to edit mode and bring up the MasterView.EditForm and the same with SubItem.Ediform when edit button clicked.
When I click the edit button the Grid goes blank, ALL items disappear and I just end up with a line on the screen.
I think I have the Grid setup correctly, where am I going wrong? Can you not have an EditFormTemplate when you use a DetailView?
Here is my example. I am not using DataSourceID="SqlDataSource" in the aspx page, I do all my data binding in cs.code. I am not using Bound Data Fields, I use <ItemTemplate> with custom Labels.
I would appreciate some help or a point in the right direction.
Thanks in advance :)
01.
<telerik:RadGrid ID=
"OPVRCommitGrid"
runat=
"server"
AutoGenerateColumns=
"false"
MasterTableView-HierarchyLoadMode=
"Client"
AllowSorting=
"True"
ShowFooter=
"false"
AllowPaging=
"false"
PageSize=
"25"
>
02.
<MasterTableView CommandItemDisplay=
"None"
EditMode=
"EditForms"
DataKeyNames=
"ProductID"
ShowGroupFooter=
"false"
Name=
"OVPRList"
>
03.
<Columns>
04.
<telerik:GridTemplateColumn HeaderText=
"ID"
SortExpression=
"ProductID"
HeaderButtonType=
"TextButton"
UniqueName=
"PCol"
>
05.
<ItemTemplate>
06.
<asp:Label ID=
"ProductID"
runat=
"server"
Text=
'<%# Eval("ProductID") %>'
/>
07.
</ItemTemplate>
08.
</telerik:GridTemplateColumn>
09.
<telerik:GridTemplateColumn HeaderText=
"Product"
SortExpression=
"ProductName"
HeaderButtonType=
"TextButton"
UniqueName=
"PCol"
>
10.
<ItemTemplate>
11.
<asp:Label ID=
"Product"
runat=
"server"
Text=
'<%# Eval("ProductName") %>'
/>
12.
</ItemTemplate>
13.
</telerik:GridTemplateColumn>
14.
<telerik:GridTemplateColumn UniqueName=
"editControls"
>
15.
<ItemTemplate>
16.
<asp:ImageButton ID=
"editBtn"
runat=
"server"
ImageUrl=
"~/_system/_img/icons/edit2.png"
CausesValidation=
"False"
CommandName=
"Edit"
CommandArgument=
"Edit"
ToolTip=
"Edit"
/>
17.
</ItemTemplate>
18.
</telerik:GridTemplateColumn>
19.
</Columns>
20.
21.
<EditFormSettings EditFormType=
"Template"
>
22.
<FormTemplate>
23.
MasterTableView EidtForm
24.
</FormTemplate>
25.
</EditFormSettings>
26.
27.
<DetailTables>
28.
<telerik:GridTableView DataKeyNames=
"ProjectID"
runat=
"server"
EditMode=
"EditForms"
CommandItemDisplay=
"None"
Name=
"Commitment"
>
29.
<Columns>
30.
<telerik:GridTemplateColumn HeaderText=
"SubItem"
SortExpression=
"SubItem"
HeaderButtonType=
"TextButton"
>
31.
<ItemTemplate>
32.
SubItem Feature
33.
</ItemTemplate>
34.
</telerik:GridTemplateColumn>
35.
<telerik:GridTemplateColumn UniqueName=
"editControls"
>
36.
<ItemTemplate>
37.
<asp:ImageButton ID=
"editBtn"
runat=
"server"
ImageUrl=
"~/_system/_img/icons/edit2.png"
CausesValidation=
"False"
CommandName=
"Edit"
CommandArgument=
"Edit"
ToolTip=
"Edit"
/>
38.
</ItemTemplate>
39.
</telerik:GridTemplateColumn>
40.
</Columns>
41.
42.
<EditFormSettings EditFormType=
"Template"
>
43.
<FormTemplate>
44.
DetailView EidtForm
45.
</FormTemplate>
46.
</EditFormSettings>
47.
</telerik:GridTableView>
48.
</DetailTables>
49.
</MasterTableView>
50.
</telerik:RadGrid>
Hi there,
I added RadScheduler Telerik Scenario with "Web Service with Custom Provider" option, and then added "Year View".
Everything works fine except an error message when I mouse over on the appointment cell. I debugged and noticed that embed tooltip on year view does not initialize custom schedulerInfo. Is there a way to override client event and initialize schedulerInfo ???
Here are codes:
<
script
type
=
"text/javascript"
>
var teacherID = "all";
function OnClientSelectedIndexChanged(sender, args) {
teacherID = args.get_item().get_value();
var scheduler = $find('<%=RadScheduler1.ClientID %>');
scheduler.rebind();
}
function OnClientAppointmentsPopulating(sender, eventArgs) {
eventArgs.get_schedulerInfo().TeacherID = teacherID;
}
</
script
>
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
OnClientAppointmentsPopulating
=
"OnClientAppointmentsPopulating"
AppointmentStyleMode
=
"Default"
SelectedView
=
"MonthView"
SelectedDate
=
"2011-01-21"
Width
=
"100%"
OverflowBehavior
=
"Expand"
>
<
DayView
UserSelectable
=
"true"
/>
<
MonthView
UserSelectable
=
"true"
/>
<
YearView
UserSelectable
=
"true"
/>
<
WeekView
UserSelectable
=
"false"
/>
<
TimelineView
UserSelectable
=
"false"
/>
<
WebServiceSettings
Path
=
"SchedulerWebService.asmx"
ResourcePopulationMode
=
"ServerSide"
/>
<
ResourceStyles
>
<
telerik:ResourceStyleMapping
Type
=
"Teacher"
Key
=
"1"
BackColor
=
"Orange"
/>
<
telerik:ResourceStyleMapping
Type
=
"Teacher"
Key
=
"2"
BackColor
=
"Aqua"
/>
</
ResourceStyles
>
</
telerik:RadScheduler
>
Public Overrides Function GetAppointments(ByVal shedulerInfo As ISchedulerInfo) As IEnumerable(Of Appointment)
Dim myInfo = TryCast(shedulerInfo, MySchedulerInfo)
Dim teacherID As String = myInfo.TeacherID
'--> teacherID gets nothing when mouse over appointment in year view.
Dim appointments As New List(Of Appointment)()
Thanks.
Jae
public void RadGridInbox_Itemcommand(object sender, GridCommandEventArgs e)
{
if (e.CommandName == "Delete")
{
....................................
..................................
}
if (e.CommandName == "ExpandCollapse")
{
if (e.Item.Expanded)
{
....................................
.........................................
}
else
{
..........................
..............
........................
}
}
}
I have the following configuration on my grid regarding validation:
<
ValidationSettings
EnableValidation
=
"true"
/>
And then there are columns that have validation add like this:
<
telerik:GridBoundColumn
DataField
=
"Name"
HeaderText
=
"Short Name"
>
<
ColumnValidationSettings
EnableRequiredFieldValidation
=
"true"
>
<
RequiredFieldValidator
BackColor
=
"MediumVioletRed"
ErrorMessage
=
"*"
/>
</
ColumnValidationSettings
>
</
telerik:GridBoundColumn
>
Now, this works just fine. But this just shows a message with a red background. I want to style the input field to use the BackColor value.
Is there a good way of doing this?