
Hello,
I am trying to update a radtextbox inside a radwindow with the data received from a serial port where a scale is connected. The data is received on the serial port by a command issued from the scale.
Here is the setup of the radwindow and the radtextbox:
<telerik:RadWindow ID="RadWindowAddToSets" runat="server" Width="520px" Height="390px" Modal="True" CenterIfModal="false" Left="150" Top="20" OnLoad="RadWindowAddToSets_Load" Behaviors="Resize, Minimize, Pin, Maximize, Move, Reload"> <ContentTemplate> <asp:Panel ID="PanelAddToSets" runat="server"> <div style="height: 40px"> <telerik:RadTextBox ID="RadTextBoxWeight" runat="server" Width="300px" AutoPostBack="True" Height="20px" OnTextChanged="RadTextBoxWeight_TextChanged"> </telerik:RadTextBox> <telerik:RadButton ID="RadButtonAddToSetsOK" runat="server" OnClick="RadButtonAddToSetsOK_Click" Style="position: relative;" Text="OK" OnClientClicking="RadButtonAddToSetsOK_OnClientClicking"> </telerik:RadButton> <telerik:RadButton ID="RadButtonAddToSetsCancel" runat="server" Style="position: relative;" Text="Cancel" AutoPostBack="True" OnClientClicking="RadButtonAddToSetsCancel_OnClientClicking"> </telerik:RadButton> </div> </asp:Panel> </ContentTemplate> </telerik:RadWindow>
This is the code that is fired when the scale sends the data through the serial port. Here is where I tried to update the radtextbox directly. This seems to be working well as I see the RadTextBoxWeight.Text being populated during debugging.
private void SerialPortOnDataReceived(object sender, SerialDataReceivedEventArgs serialDataReceivedEventArgs) { //string capturedSerial = ""; while (_serialPort.BytesToRead > 0) { RadTextBoxWeight.Text += string.Format("{0:X2} ", _serialPort.ReadByte()); }
I have tried a few things with the RadAjaxManager in attempts to display the data in the radtextbox, including using a hidden field and trying the ajaxRequestWithTarget method inside the add_load in JavaScript. I see the the alerts, but nothing else seems to happen.
Sys.Application.add_load(WindowSerialControl); function WindowSerialControl() { alert(form1.HiddenSerial.value); if (form1.HiddenSerial.value == "Capture") { alert("Inside Capture"); var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>"); ajaxManager.ajaxRequestWithTarget('<%= RadTextBoxWeight.UniqueID %>', ''); } }
I have tried multiple configurations in my testing with the radaajaxmanager. I currently have it like this:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadTextBoxWeight" UpdatePanelRenderMode="Inline" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="RadTextBoxWeight"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="PanelAddToSets" UpdatePanelRenderMode="Inline"/> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings></telerik:RadAjaxManager>
I'm sure I need to trigger an Ajax request somewhere/somehow, but am lost at this point.
Any help is appreciated.
G.
As per documentation of Fonts, I installed an Font in system and added to RadEditor. But when I type in Hindi but it display in English. What I am missing?
<telerik:RadEditor runat="server" ID="RadEditor1">
<FontNames>
<telerik:EditorFont Value="Kruti Dev 010" />
</FontNames>
</telerik:RadEditor>

Hello!
I recently started using RadFilter control instead of the filters that were inside the radgrid, but I can't get to hide the uniqueId on the RadFilter options even though it doesn't show on my radgrid.
I am building dinamically my radgrid, so I am not sure where to write or if it is possible to set "allowFiltering to false"
I am attaching an image where it shows "unique Id" as a filter option even though it doesn't show up as a column on my radgrid
Thanks in advance!

I have a rad grid displaying info, a list of keys assigned to employees. Once a key is added in the list, the ONLY thing in the future that should be editable is the status column, which there will only be 3 options: lost, Found and Reassigned, and Assigned. Since there are only 3 options I want there, I do not want a text box for them to edit whatever status they want, only these options. I would like the text box to be a drop down list, if possible. I cannot figure out how to change this through any settings though, is this something that needs done in the code behind?
Attached is a picture for reference.

Hi to all
If i put a MultiColumnBox in RadGrid as soon as i click on the box the table of the results appears and disappears in half a second
If i write part of the key everything works fine.
Is this a bug, a feature or something else?
Thanks
Nicola
Hello,
I have an issue with RadCalendar : when the focus is in the textbox with the date and time and I press Enter, the day and the month automatically switch. For exemple, if the date is 11/07/2019 and I press Enter, the date changes to 07/11/2019. If I press Enter again, it switch back to 11/07/2019.
But, if the date is 25/07/2019, it don't change to 07/25/2019 (because this date is not valid).
Here's the code I'm using :
<asp:UpdatePanel ID="UpdatePanel10" runat="server" UpdateMode="Conditional"> <ContentTemplate> <telerik:RadDateTimePicker ID="DateDebut" runat="server" OnSelectedDateChanged="DateDebut_SelectedDateChanged" AutoPostBackControl="Both"> </telerik:RadDateTimePicker> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnPrev" EventName="Click" /> <asp:AsyncPostBackTrigger ControlID="btnNext" EventName="Click" /> </Triggers></asp:UpdatePanel><br>
I don't understand what is appening, if someone can please help me, it would be very kind.

i have used Below Code
<telerik:RadFileExplorer RenderMode="Lightweight"
OnClientLoad="OnClientLoad"
EnableFilterTextBox="true"
EnableViewState="true"
runat="server" ID="FileExplorer1" Width="800px" Height="400px"
EnableOpenFile="false"
EnableCopy="false"
EnableFilteringOnEnterPressed="true"
Configuration-EnableAsyncUpload="false">
<Configuration ViewPaths="~/MappedDir/" ></Configuration>
</telerik:RadFileExplorer>
Filter not working please help
