I’m using a radgrid with boundcolumns, some of the columns are displayed as percentages. How would I display percentages in the group footer and the grand total footer? It's easy to sum, count fields in footers but I'm stumped with how to create calculated fields in footers.
The percentage would be calculated by sum of one column divided by the other. I looked at the example that uses the CustomAggregates event but if I used that then it would have to create a datatable for every percentage column for every group which would be significant overhead.
Let me know if you have any suggestions.
Thanks,
Bob
hi,
i want to scroll down to the select item in radlistbox
I search the particular word in text box and click the search button , in button click the we change the color but automatically scroll down not work. i need scroll down automatically to the particular string.
I send the screenshot
http://prntscr.com/odyyh6
http://prntscr.com/odyz8x
I was wondering if there was a strategy for getting the Google web crawler to index tabs other than the default one.
I have a page on our web site that uses a TabStrip and only the contents of the default tab are being indexed.
The content for each tab is loaded into a single label control from a database via postback whenever a tab is clicked.
Does anyone have any other strategies they have used?
Thanks,
Charlotte
Hello guys,
We have to open this thread as we're facing a strange behavior with RadEditor when using in a RadMultiPage control. This is happening only on Windows 10 FireFox version 68.0(Quantum) but it may happen on other versions as well.
Prerequisite:
- Asp.Net web forms application, .net framework 4.7.2
- RadMultiPage with some RadPageView controls
- Each RadPageView control having a RadEditor in it. Doesn't matter NewLineMode: P, Div.
Steps:
1. When the page loads, before switching tabs, write few lines in editor. Each line is rendered correct with no extra blank lines between.
2. After switching tabs, doesn't matter which one or how many times, write few lines in editor. Now, after each line, the editor added 1-2-3 extra blank lines.
When saying lines I mean paragraph if NewLineMode=P or div if NewLineMode=Div.
Mention that we are using Telerik Asp.Net Ajax version 2017.2.503.40, embedded resources and 'lightweight' render mode.
I've uploaded 3 screen captures and I also have isolated the case in a mini application to send to you, just let me know where to upload.
I hope I haven't duplicated another thread but I couldn't find anything before starting this.
Regards,
Andrei V.
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!