Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
228 views
I want to have one grid act as a "header" and add it to the top of every page in my pdf.  Is it possible to achieve such?
Attila Antal
Telerik team
 answered on 12 Feb 2018
3 answers
218 views

I have searched around but I don't seem to be able to get a clear answer on my questions that I understand.

Important, I have to use kendoui version 2013.2.716, internal obligation.

I am giving maintenance in a commercial e-commerce system, which in the part of cliet, uses the javascript library kendoui version 2013.2.716.
We do not offer the e-commerce service, we sell the e-commerce product to the customer, for him to use in his infrastructure.
My question is, do I have to buy kendoui, or can I use it without paying because the license is GPLv3?
If I use kendoui without buying, do I have to distribute the source code of the whole system or just the client code?

Imer
Telerik team
 answered on 12 Feb 2018
1 answer
1.5K+ views

We are using version 2017.2.711.45 of Telerik.Web.UI and the behavior of RadButton's postbacks seems incorrect. My understanding has always been that when in Page_Load, code within if (!IsPostBack) should only run on initial load. Anything else would run as part of a postback. If you don't want a button to submit the form back to the server, you set it to AutoPostBack="False". Well, our buttons with that set are still posting back, and still getting into if (!IsPostBack)

Our buttons are using OnClientClicked with a function name. I tried adding (); return false; to the end of the function name, but that causes the button to instead act as a postback, and will go into an if(IsPostBack) so that's completely incorrect as well. Also it causes our radopen function to not open the RadWindow control.

Is this a problem with the version of Web.UI and do you know of one we can move up to that will fix this issue?

Attila Antal
Telerik team
 answered on 12 Feb 2018
1 answer
291 views

I have this funny problem. I have a combo box within the gridview. I realised that the combo box will not work if I scroll the page down. ALL the combo box will not work.

However, if I am on the top of the page OR if I zoom out so that ALL the controls are within 1 page. The combo box will be working fine. This is only affecting Chrome.

I have also tried to upgrade the AJAX to the latest version 2018.1.117

Vessy
Telerik team
 answered on 12 Feb 2018
0 answers
127 views

I am looking for a way to access other dataitems in in code-behind other than the KeyField, TextField and ForeignKeyField in the Resource object. 

<telerik:ResourceType KeyField="ID" Name="Room" TextField="RoomName" ForeignKeyField="RoomID"  DataSourceID="RoomsDataSource">

My datasoure is based off of a class with multiple properties and when scheduling a new appointment my custom attributes from the scheduler are empty.  

Thanks in advance.

Dan
Top achievements
Rank 1
 asked on 11 Feb 2018
0 answers
129 views

I am attempting to download a csv file from Azure container blob, read and load it to a dataset and then bind it to the radgrid.  

I can download the data and set it to a string (the sample data is listed below) but not sure how to load it to the dataset. 

When I load the data to a stream and then try to load it to a dataset, I received the following error: "Data at the root level is invalid. Line 1, position 1."

Here is a sample of the Data that is in the file ( I also tried it with no hdr record, same results...)

DeptCode,DeptName,AccountCode,Description,Qty,Expense
1001,Presidents,6220,FT Senior Administrator,1,126000
1001,Presidents,6221,FT Professional Staff,1,105050
1001,Presidents,6300,FT Administrative,1,60000
1001,Presidents,6425,FT Technical/Paraprofessional,1,70000
1001,Presidents,6426,PT Technical/Paraprofessional,1,32000

Here is my source code....

                    // Retrieve storage account from connection string.
                    CloudStorageAccount storageAccount = CloudStorageAccount.Parse(ConfigurationManager.ConnectionStrings["StorageConnectionString"].ConnectionString);
                    // Create the blob client.
                    CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
                    // Retrieve reference to a previously created container.
                    CloudBlobContainer container = blobClient.GetContainerReference("hsc2");
                    // Retrieve reference to a blob named "myblob".
                    CloudBlockBlob blockBlob = container.GetBlockBlobReference(FileUpload1.FileName); 
                    //...Create or overwrite the "myblob" blob with contents from a local file.
                    using (var memoryStream = new MemoryStream())
                    {
                        blockBlob.DownloadToStream(memoryStream);
                        memoryStream.Position = 0;
                        StreamReader streamReader = new StreamReader(memoryStream);
                        //String blobText = streamReader.ReadToEnd();
                        DataSet ds1 = new DataSet();
                        ds1.ReadXml(streamReader);

                        RadGrid1.DataSource = ds1;

                        RadGrid1.DataBind();

                        RadGrid1.Rebind();
                     }


John
Top achievements
Rank 1
 asked on 10 Feb 2018
0 answers
242 views

I got a question about the execution sequence/order between the script in RadCodeBlock and $(document).ready in JQuery.

I defined <telerik:RadDateTimePicker ID="RadDateTimePickerCalendarStart" runat="server"/><ClientEvents OnDateSelected="CalendarStartSelected" /> </telerik:RadDateTimePicker> and <asp:HiddenField ID="CalendarStartHidden" runat="server" Value="" />.

Added the following script to assign/store the selected date value into CalendarStartHidden hidden input.

<telerik:RadCodeBlock runat="server">
         <script type="text/javascript">
             function CalendarStartSelected(sender, eventArgs) {
                 var selectedDate = sender.get_selectedDate();
                 $("#<%=CalendarStartHidden.ClientID%>").val(selectedDate == null ? '' : selectedDate.format("MM/dd/yyyy"));
             }

       </script>
</telerik:RadCodeBlock>

 

I also want to do some extra work when date time is changed, and defined the following script in $(document).ready with JQuery:

            $('#<%=RadDateTimePickerCalendarStart.ClientID%>).on("change", function (event) {

               UseChangedDateTimeValueToCalculateData();

            });

 

However, UseChangedDateTimeValueToCalculateData is executed earlier than CalendarStartSelected when the date time is changing/changed.

Is there any way I can make UseChangedDateTimeValueToCalculateData is executed later than CalendarStartSelected?

My goal here, is to use the correct changed date time value, to calculate the final statistics number.

Thank you.

 

liu
Top achievements
Rank 1
 asked on 09 Feb 2018
0 answers
171 views

How to can i do to RadPivotGrid updates when i change the filters of my screen ?

When i change the filters, I'm verifying if the filters changed then I do a Rebind in the RadPivotGrid and then datasource change too, but doesn't update the RadPivotGrid.

How to can i fix this problem ?

Andre
Top achievements
Rank 1
 asked on 09 Feb 2018
1 answer
287 views

Hi,

 

Is it possible in any way to use separators like with the RadComboBox?

I have to show results in different groups in the Searchbox dropdown.

 

BR,

Marc

Attila Antal
Telerik team
 answered on 09 Feb 2018
1 answer
153 views

After last updates we start to have problems with speed on our apps, loading time is incredible slow, not only in grids but too in silverlight scheduler.

I want to know if some of the changes done on these versions affect to these elements. Our problems are focus on rendering, because we measure sql times and webservices times and are ok. We test this in several clients an seems not related to hardware as we have found these problems on cloud web (Azure) or in IIS servers (we test and increase RAM, CPU, etc).

Rumen
Telerik team
 answered on 09 Feb 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?