Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views

Is there a way to access the Step Image client-side in order to change the image based on client-side events? The documentation in

https://docs.telerik.com/devtools/aspnet-ajax/controls/wizard/client-side-programming/radwizardstep-object

doesn't mention anything.

Peter Milchev
Telerik team
 answered on 13 Feb 2018
0 answers
159 views

I have the RadNumericTextBox, which don't have MaxValue and MinValue (attribute not added). In my page, based on calculation, the value will be set in the RadNumericTextBox.  First time the calculated value is 0.0 and set to RadNumericTextBox as 0.0. Then I tried with another calculation, the value is 10.0. But this time, I got the following exception (ArgumentOutOfRangeException).

 

           Value of '10.0' is not valid for 'Value'. 'Value' should be between 'MinValue' and 'MaxValue'.

 

Looking like the value for MaxValue and MinValue automattically set as 0 at the first time.

 

Please help on this ASAP

Jesuraja
Top achievements
Rank 1
 asked on 13 Feb 2018
5 answers
513 views

Is it intentionally or a glitch ? I have tried to search for information about it, but with no luck.

Rgds

Hristo
Telerik team
 answered on 12 Feb 2018
5 answers
164 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
108 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.3K+ 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
257 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
100 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
85 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
179 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?