The following article shows how you can add items: RadPropertyStore - adding custom properties.
I hope this will be useful. Let me know if you have additional questions.
Regards,
Dimitar
Telerik by Progress
Hello Martin,
thanks for your answer. It is no problem as long as the font appears correct in the compiled UI which it does.
One question: why didn't you choose a font like font-awesom? It is free, it has lots of beautiful icons and is very well known. Your designers could drink another cup of Latte and do not have to design a new font. ;-)
Regards
Heiko
Hi, I have created a custom SharePoint 2010 web part using a scheduler with some custom attributes. Everything is working fine except for validation of the custom attributes on the advanced edit/insert form. There are two text boxes which should not be empty and save should not allow the advanced form to be saved back to the SP list.
I have the following code in the FormCreated event:
RadScheduler scheduler = (RadScheduler)sender;
CustomValidator validatorForAttributePhone =
new
CustomValidator();
validatorForAttributePhone.ValidationGroup = scheduler.ValidationGroup;
validatorForAttributePhone.ControlToValidate =
"AttrPhone"
;
validatorForAttributePhone.ErrorMessage =
"Cannot be blank!"
;
validatorForAttributePhone.ClientValidationFunction =
"validationFunctionPhone"
;
(e.Container.FindControl(
"AttrPhone"
)
as
RadTextBox).Parent.Controls.Add(validatorForAttributePhone);
And the jsavascript function is
function
validationFunctionPhone(source, arguments)
{
i
f
(arguments.Value.length != 0)
{
arguments.IsValid =
true
; }
else
{arguments.IsValid =
false
;
}}
All the validation seems to be created OK but this never fires when the 'Save' button is clicked on the advanced edit/insert form which means that the appointment can be saved when there is no text in the phone field on the form.
What am I missing?
Thanks,
Jonathan
I'm trying to zip a PDF file, it creates zip file correctly, but if I try to open compressed PDF file, it show me error message "Corrupted file" (I'm trying to open by my PDF reader), where I wrong?
using
(Stream stream = File.Open(fileFullName, FileMode.Create))
{
using
(ZipArchive archive =
new
ZipArchive(stream, ZipArchiveMode.Create,
false
,
null
))
{
using
(ZipArchiveEntry entry = archive.CreateEntry(fi.Name))
{
var writer =
new
StreamWriter(entry.Open());
using
(Stream streamFileToZip = File.Open(fi.FullName, FileMode.Open))
{
var buffer =
new
byte
[4096];
int
sourceBytes = 0;
do
{
sourceBytes = streamFileToZip.Read(buffer, 0, buffer.Length);
writer.Write(buffer);
}
while
(sourceBytes > 0);
}
writer.Flush();
}
}
}
Hello,
We use the Scheduler control in our Planning-application. This is all working nicely. However, the small "DatePicker" above the scheduler does not select the date in the Scheduler view.
I have updated the control to the newest version.
Can you please help me fix the problem?
Hello Dimitar,
I have already few properties in RadPropertyGrid maybe they are stored from database table so if I am supposed to add new property then is it necessary to add it in database table because I have added property as shown in link and it is not showing up in GridView. So please help me.
Do kendo support export chart functionality for RadCartesianChart control. If yes how can achieve it?
I am using RadCartesianChart with MVVM pattern.
it was the HinthPaths.
Boy, I never would have figured that one out!
Thanks ... Ed
Basically, when the use hits the OK button in the raddataform for a particular row I want to collapse the details.
An Mvvm friendly solution would be great!
Thanks ... Ed
Hello,
why BarSeries on IOS can't display negative numbers while on android it's ok.The result is in the attached file.
The resource code is in the https://github.com/ITonly/sample-chart.git .(component/report/daily-report)
Can you help me?
private
void
Button1_Click(
object
sender, RoutedEventArgs e)
{
// will return the row if it is in the viewport
var row =
this
.clubsGrid.GetRowForItem(
this
.clubsGrid.Items[200]);
if
(row !=
null
)
{
MessageBox.Show(row.IsPinned.ToString());
}
else
{
// since the row is not in the viewport, it is not pinned
MessageBox.Show(
"False"
);
}
}
Hi,
i have created scheduler using kendo UI, where start time if 12 Mid night so that i can see 24 hours for that day
there is horizontal scroll bar coming which i dont want.
i would like to have default single page view for 24 hours and if i need i can zoom in to view the detail task
how we can do that
Thanks
Siddhartha
Hi Yoan,
how can i send runnable sample project as attachment allows only jpg, png file and not even zip file.
protected
void
RadGrid1_ColumnCreated(
object
sender, GridColumnCreatedEventArgs e)
{
if
(e.Column.ColumnType ==
"GridNumericColumn"
)
{
(e.Column
as
GridNumericColumn).DecimalDigits = 10;
}
}
Hi
i have created scheduler with custom edit page, which have 3 radio button.
for these radio button i have same name, but different ids.
but in save event, it takes name only to fetch the data
e.g. e.event.title
how we can get data using ids or do we have any other way to know which radio button is clecked.
Thanks
Siddhartha
Hi,
I found a (possible) bug with the "Snap appointments" property in the schedule view. When you set the ScheduleView to show more than one day and you enable "Snap appointments", then on the second day shown you are not able to move the appointments back and forth.
You can reproduce the problem in your demos:
http://demos.telerik.com/silverlight/#ScheduleView/ScheduleViewConfigurator
Follow these steps:
- set "Day start time" at 10.00 and "Day end time" at 05.00;
- enable "Snap appointments"
- (I use horizontal orientation, but it happens also with vertical orientation)
Then move one appointment COMPLETELY after midnight. You will see that the appointment "shadow" disappears, and if you release the mouse the appointment will be lost.
Thank you,
Riccardo Zucchetto