Quantcast
Channel: Telerik Forums RSS
Viewing all 78072 articles
Browse latest View live

Property grid add remove at runtime.


Glyph-Icons during design time

$
0
0

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

Scheduler as SharePoint web part - validation

$
0
0

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 = newCustomValidator();
validatorForAttributePhone.ValidationGroup = scheduler.ValidationGroup;
validatorForAttributePhone.ControlToValidate = "AttrPhone";
validatorForAttributePhone.ErrorMessage = "Cannot be blank!";
validatorForAttributePhone.ClientValidationFunction = "validationFunctionPhone";
(e.Container.FindControl("AttrPhone") asRadTextBox).Parent.Controls.Add(validatorForAttributePhone);

 

And the jsavascript function is 

functionvalidationFunctionPhone(source, arguments)
{
  if(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

 

File corrupted after zipping

$
0
0

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 = newZipArchive(stream, ZipArchiveMode.Create, false, null))
                        {
                            using(ZipArchiveEntry entry = archive.CreateEntry(fi.Name))
                            {
                                var writer = newStreamWriter(entry.Open());
 
                                using(Stream streamFileToZip = File.Open(fi.FullName, FileMode.Open))
                                {
                                    var buffer = newbyte[4096];
                                    intsourceBytes = 0;
                                    do
                                    {
 
                                        sourceBytes = streamFileToZip.Read(buffer, 0, buffer.Length);
                                        writer.Write(buffer);
 
                                    } while(sourceBytes > 0);
 
                                }
 
                                writer.Flush();
                            }
                        }
                    }

DatePicker doesn't select date

$
0
0

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?

 

Property grid add remove at runtime.

$
0
0

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.

Export RadCartesianChart to JPG/PNG/PDF UWP windows 10

$
0
0

Do kendo support export chart functionality for RadCartesianChart control. If yes how can achieve it?

I am using RadCartesianChart with MVVM pattern.

Diagram intermediate connection points

$
0
0
Hi Nick,

In order to set custom points to a connections you will need to make sure that the connection's type is set to "polyline", but not "cascading" which is the default connecttion.type.

We will make sure to update our documentation appropriately. Meanwhile, you can take a look at the sample here: http://dojo.telerik.com/@veselinar/EFenow

Regards,
Vessy
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.

Datapager not displaying

$
0
0

it was the HinthPaths.

Boy, I never would have figured that one out!

Thanks ... Ed

 

how collapse rowdetails raddataform

$
0
0

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

 

BarSeries for agualr2 on IOS and ANDROID

$
0
0

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?

How to pass parameter and reload RadGrid ?

MVC Grid with InCell editing - can't select all text

$
0
0
Hello Chris,

You can use the approach from the following help article in order to select all text. Generally you need to call the select method on focus event and not initially.

I hope this information helps.

Regards,
Kostadin
Telerik by Progress
Telerik UI for ASP.NET MVC is ready for Visual Studio 2017 RC! Learn more.

How do I determine whether a row is already pinned

$
0
0
Hello Chris,

You can get pinned state of a row by its IsPinned property. Using the GetRowForItem method you can get the row for a particular item. You must, however, make some considerations due to RadGridView's UI virtualization mechanism, which only loads the rows that are currently in the viewport. Here is an example:

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");
    }
}

I hope you find this information helpful. Please let me know if any other questions or concerns arise.

Regards,
Dilyan Traykov
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.

Scheduler view in single page with Zoom In and Zoom Out feature

$
0
0

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


Tab key navigation in radgridview with scroll

$
0
0

Hi Yoan,

how can i send runnable sample project as attachment allows only jpg, png file and not even zip file.

Set NumberFormat DecimalDigits on RadNumericTextBox into Radgrid with AutoGenerateColumns="true"

$
0
0
Hello Fulvio,

In order to change the settings for the numeric column when it is autogenerated you should use the ColumnCreated event of the Grid. In the handler you can set the DecimalDigits property for the column. Check out the code snippet below that outlines the approach:


protected void RadGrid1_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
    if (e.Column.ColumnType == "GridNumericColumn")
    {
        (e.Column as GridNumericColumn).DecimalDigits = 10;
    }
}


If you would like additional information on configuring autogenerated columns you would find the following article interesting.



Regards,
Viktor Tachev
Telerik by Progress
Telerik UI for ASP.NET AJAX is ready for Visual Studio 2017 RC! Learn more.

how to get data on custom edit task window

$
0
0

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

Snap appointments bug

$
0
0

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

Bug with toString function

$
0
0
Hello Stephen,

The issue, initially discussed in the thread is fixed, but the one, described by you, is a different bug that has been logged, and you can track the corresponding issue in our GitHub repository:

https://github.com/telerik/kendo-ui-core/issues/2262

It's priority has already been escalated, and you can expect a fix in a future release of Kendo UI.

Regards,
Dimiter Topalov
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Viewing all 78072 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>