Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
45 views

I would like to know how to customize the "X items checked" text when I set CheckedItemsTexts="FitInInput" and have multiple items checked.

Thanks

ghini
Top achievements
Rank 2
 asked on 01 Dec 2023
0 answers
53 views

I am creating a mobile website using radcomboboxes inside of update controls that are set to autopostback = true.  All of the controls work except on the page's initial load the UI elements are enlarged and look more like buttons.  They are still able to be selected and after the controls postback the elements still do not go back to a normal size. Only after a postback from another control do the UI elements shrink down to a normal size.  

I have tested the radcombobox with checkboxes enabled outside of the update panel and this behavior does not change.  I have a master page that contains jQuery files located in the header, and when I remove one of the js files, the problem disappears with the UI elements disappearing.  Can anyone help me figure out what is preventing the UI elements from rendering properly?

On Load:

   

After postback:

 

 

1 answer
59 views

I haven't used Telerik for some time and I'm trying to add a RadCheckBox whose datasource is an integer value in a column of a datarow. In the web page I've got this :

<telerik:RadCheckBox ID="chkProrataEnabled" runat="server" text="" TabIndex="7" Value='<%# DataBinder.Eval(Container, "DataItem.Prorata_Enabled") %>' autopostback="false" OnCheckedChanged="chkProrataEnabled_CheckedChanged">
</telerik:RadCheckBox>

but the check box is not being populated so I'm thinking some form of conversion from int to bool is required but not sure how to go about this. I was thinking I could change the DataBinder.Eval to check the integer value and return a true/false bool ?

 

CP
Top achievements
Rank 1
Iron
 answered on 25 May 2023
1 answer
88 views
I have added Mail Merge field and and try to add checkbox property using Telerik word processing. but not able to find the solution. and not able to extract Mail Merge fields also from word document.
Yoan
Telerik team
 answered on 05 Apr 2023
0 answers
85 views

I am trying to capture a persons ethnicity with a RadCheckBoxList control. 

I have the RadCheckBoxList inside a RadDataForm.  The RadDataForm is bound to an object data source (retrieves person records), and the RadCheckBosList is also bound to another object data source (retrieves all available ethnicities).

Where I am struggling is when you want to view an existing person record.  How to I get the ethnicity values that were previously selected to "pre-select" the correct item within the RadCheckBoxList?

Jonathan
Top achievements
Rank 1
Iron
 asked on 15 Nov 2022
1 answer
239 views

Hi,

I have a "checkbox list" with a few items. The problem is, that when the text for the item is too long it will change its alignment from let to centre automatically.

I need that text to stay left alignment no matter how long it is. 

Please see the attached image to understand what I mean.

Regards,

Omar

 

 

 

Doncho
Telerik team
 answered on 17 Jun 2022
3 answers
536 views

Hi,

is it possible to show the checkbox text on the left side of the checkbox?

<telerik:RadCheckBox runat="server" ID="CloneTripOppositeCheckBox" RenderMode="Lightweight"  Text="label_checkbox" TEXTPOSITION="LEFT"
></telerik:RadCheckBox>

Thank you
Charles
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 14 Jun 2022
1 answer
169 views

When I use the Rad radio button and checkboxes... something is messing up the alignments.  I have reviewed my css, in page style changes and inspected the page in chrome and edge and I cannot find what is causing this (looks like all the applied styles are coming from Telerik.Web.

Any thoughts on where to fix this?

Peter Milchev
Telerik team
 answered on 04 Apr 2022
0 answers
62 views

hi, im wondering if someone can help me out, im making a form where you can add and edit.  the idea is to use the grid to find the desired record to edit and select it on the same form where you create forms in the first place.  i can pass the values to the textboxes just fine but no the boolean values for the check boxes.  anybody got any idea on how i can do this? 

ill post down here what i did for the textboxes.

Panel1.Visible = True
        Dim row As GridViewRow = GVSearch.SelectedRow

        Case_ID.Text = row.Cells(1).Text
        Numero_Record_PRM.Text = row.Cells(1).Text
        If row.Cells(1).Text.Trim <> "" Then

            Numero_Record_PRM.Text = row.Cells(2).Text.Trim
            Patient_Name.Text = row.Cells(6).Text.Trim
            Provider_Name.Text = row.Cells(8).Text.Trim
Brandon
Top achievements
Rank 1
 asked on 18 Mar 2022
3 answers
225 views

Hello,

We are using you RadDropDownTree component.

We create it dynamically with this code :

RadDropDownTree field = new RadDropDownTree();
field.Enabled = !(param.State == ParameterStateEnum.HasOutstandingDependencies);
field.CheckBoxes = DropDownTreeCheckBoxes.SingleCheck;
field.DefaultMessage = "Sélectionner parmi ...";
field.ID = param.Name;
field.Width = Unit.Pixel(250);

field.EnableFiltering = true;
field.FilterSettings.Highlight = DropDownTreeHighlight.Matches;
field.FilterSettings.EmptyMessage = "Taper une recherche...";
field.FilterSettings.MinFilterLength = 3;

field.DropDownSettings.AutoWidth = DropDownTreeAutoWidth.Enabled;
field.ButtonSettings.ShowCheckAll = true;
field.ButtonSettings.ShowClear = true;

if (param.ValidValues != null)
{
  foreach (ValidValue val in param.ValidValues)
  {
     RadTreeNode item = new RadTreeNode();
     item.Value = val.Value;
     item.Text = val.Label;
     item.Checked = defaultValues.ContainsKey(val.Value);
     field.EmbeddedTree.Nodes.Add(item);
  }
}

The problem is that when we checked an item by code, the item is not displayed in the entries display zone.

If we check them while running with the mouse, it is well displayed.

 

Can you please help me with this problem ?

 

Thank you.

Doncho
Telerik team
 answered on 18 Mar 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?