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

Hello,

  • On a RadCombobox with multiple columns when I click on the checkbox all the columns are transferred to the text area, I just want to transfer the firstcolumn value. In the attached image  "Jim city title" are transferred I just want "Jim" 
  • Can the list be automatically filtered as you type on the text area?

for example in the image below if I start typing  Ji the it would just show me the row for Jim

Thank you in advance.

Peter Milchev
Telerik team
 answered on 27 May 2021
1 answer
198 views

Hi,

How to remove filter icon for a specific column in grid? Approach we followed is set showFilterIcon to false in grid template column tag.

Below is the code and the screenshot. Suggest us the solution.

<Telerik:GridTemplateColumn  SortExpression="PoNumber" ItemStyle-HorizontalAlign="Center" Visible="TRUE" HeaderText="PoNumber" 
AllowFiltering="false" ShowFilterIcon="false" ItemStyle-Width="25%"  GroupByExpression="PoNumber Group By PoNumber">
<HeaderStyle Width="25%" HorizontalAlign="Center" />
<ItemTemplate>
<Telerik:RadLabel ID="lblPoNumber" Runat="server" Text='<%# DataBinder.Eval ( Container.DataItem, "PoNumber" ) %>'>

</Telerik:RadLabel>
</ItemTemplate>
</Telerik:GridTemplateColumn>

Doncho
Telerik team
 answered on 27 May 2021
1 answer
192 views

Telerik grids are rendering without icons in IE11 of Windows Server 2016. Please provide us the solution asap.

 

Grid rendering without Icons:

 

Grid rendering with Icons:

Doncho
Telerik team
 answered on 27 May 2021
1 answer
241 views

If I mouse over my radeditor it says "Rich text editor with ID ....". I've included a screen shot.

How do I stop this from showing?

Thanks.

Rumen
Telerik team
 answered on 27 May 2021
1 answer
216 views

Hello,

We have a zip code entry text box that utilizes radmasktextbox to require entry of zipcode in us format. We'd like to support international postal code standards. I have created some JavaScript that in theory should switch the text box on client side to allow up to 10 of any characters when the nation isn't USA, but its simply not totally changing the text entry formatting. It can get to the point where it prints your characters in the box when you type, but when you blur it will strip out any chars that violate the old rules (US, 5+4). 

Not permitting changing of the mask in clientside easily seems to be a fantastically big oversite. how does one do this? 

code to  change the mask:


       funciton changeFormat(sender, args) {
            var unitedStates = ['US', 'USA', 'UNITED STATES', 'UNITED STATES OF AMERICA'];
            var i = 0;

            var mask = [];
            if (unitedStates.indexOf($find(countryControlId).get_value().toUpperCase()) < 0) {
                for (i = 0; i < 10; i++) {
                    mask[mask.length] = new Telerik.Web.UI.RadFreeMaskPart();
                }
            } else {
                for (i = 0; i < 5; i++) {
                    mask[mask.length] = new Telerik.Web.UI.RadDigitMaskPart();
                }
                mask[mask.length] = new Telerik.Web.UI.RadLiteralMaskPart('-');
                for (i = 0; i < 4; i++) {
                    mask[mask.length] = new Telerik.Web.UI.RadDigitMaskPart();
                }

            }

            $find(zipControlId).set__initialDisplayMasks(mask);
            $find(zipControlId).set__initialMasks(mask);
            $find(zipControlId)._setDisplayMask(mask);
            $find(zipControlId)._setMask(mask);
            $find(zipControlId)._length = 0;
            $find(zipControlId).clear();
}

Attila Antal
Telerik team
 answered on 26 May 2021
3 answers
163 views

Hi I am trying to add html table to the context via c#.

I am getting the value without the table.

Can anyone help me out .

StringBuilder sb = new StringBuilder();
               

                sb.Append(@"<table style='width: 100 %; '>");

                sb.Append(@"<tr>");
                for (int i = 0; i < 10; i++)
                {
                    sb.Append(@"<table style='width: 450px' > Val1 </ td > ");
                    sb.Append(@"<table style='width: 450px' > &nbsp;</ td >");
                    sb.Append(@"</tr>");
                    sb.Append(@"<tr>");

                    sb.Append(@"<table style='width: 450px' > Val2</ td > ");
                    sb.Append(@"<table style='width: 450px' > &nbsp;</ td > ");
                    sb.Append(@"</tr>");
                    sb.Append(@"<tr>");

                    sb.Append(@"<table style='width: 450px' > Val3 </ td > ");
                    sb.Append(@"<table style='width: 450px' > &nbsp;</ td > ");
                    sb.Append(@"</tr>");

                    sb.Append(@"<tr>");
                    sb.Append(@"<table style='width: 450px' > Val4 </ td > ");
                    sb.Append(@"<table style='width: 450px' > &nbsp;</ td > ");
                    sb.Append(@"</tr>");
                }

                sb.AppendLine(@"</ table >");

                RadEditor .Content= sb.ToString(); 
Rumen
Telerik team
 answered on 26 May 2021
1 answer
345 views

Hi,

I am using .Netframework -4.8

with apppool-4.0 and upgraded telerik controls from Q32015.3.1111.35 to R32020.3.915(BIN 45).

We are performing a sorting , attached screenshot has the details .so once we click on data, source we get a processing window and sort function gets completed.

But after upgrade of telerik controls, when we try to click on data, source ,name tabs after completing sorting also processing window continuously running. 

This issue is observed in Edge Browser with new(2020.3.915) and old Telerik controls(2015.3.1111.35) as well.

Attached errors observed in Console.

Can anyone please help on this issue?

 

 

 

Doncho
Telerik team
 answered on 26 May 2021
7 answers
5.5K+ views
I'm performing the rather laborious task of upgrading from asp.net q3 2007 to ajax q1 2010. One of the several issues I've faced so far is my standard asp.net buttons which require a clientside confirmation before the postback is fired.

Example, I have a reasonably simple page with a radscriptmanager, a radajaxmanager and a radgrid. On this page I have an asp.net standard button with events for onclick and onclientclick. The onclientclick is there to make sure the user meant to press the button and is simply "return confirm('Delete this email?');", but even pressing OK causes no postback. If I remove the onclientclick event then the postback happens fine (javascript for client code is in a radcodeblock). If I change the client event to just be 'return true;' the postback still does not happen.

Something about client side javascript (possibly because it's in a radcodeblock?) firing first is stopping the postback from the button happening.

Any ideas?
Thanks.
HrMeibom
Top achievements
Rank 2
Iron
 answered on 26 May 2021
2 answers
385 views

Hi

So I have RadListBox implemented into my page and I need to add some additional on keyDown functionality

I attached on OnClientLoad a keydown event to the .rlbGroup class - it is getting into the function and doing the stuff that I am telling it to however there are some issues:

1. I am unable to remove the .rlbActive class from previously selected item

so RadListBox.get_items().get_item(0).removeClass('.rlbActive') is not an option 

I tried using _activateItem() since I believe it is deactivating the current rlbActive in itself without success also. The DOM does not give me idea how to properly get rid of the active class at all.

Some assistance would be appreciated. It is an option to disable the rlbActive class completely - How can I do that without risking creating a bug in the control?

Self answered: 2. on clicking on the control I am unable to fire my the keydown function (I can fire it if I move focus to the control via TAB key)
What is the proper way to set focus on the RadListBox.get_items()?
What I have tried so far is using event 'focusing' in OnClientLoad attaching to .rlbGroup 
 

Any idea or even general information is welcome

Thanks

 

rhin
Top achievements
Rank 1
Iron
 answered on 26 May 2021
2 answers
364 views
I have an ASP.NET webforms application which has been in production for a while that uses a hierarchical menu structure to allow the user to select the business "level" they wish to operate on (Area, District, and Territory). Most people have used their desktops to access this application.

The menu is set up to allow people to click on the "area", or "district", or "territory" they wish to operate on. For example, they can click on the area to select the entire area, or they can hover over the area (on their laptop) to 'drill down' to the district level, and then click on a district, or hover over a district to then drill down to the territory level within the district to click on and select a territory.

A client side click event is present to process the selection.

The problem I am experiencing is on mobile devices one cannot "hover" over the menu item to 'drill down'. It is necessary to "click" on a menu item to drill down. However, when you click on the item, even if it is the little arrow on the right-hand side, the click event kicks off and you end up selecting a whole area (it is impossible to drill down further than the area level, since any time you "click" on the little arrow to attempt to drill down to the district level, the click event fires off and selects the area.

Can someone provide some guidance as to how to replicate the functionality I see on a laptop on a mobile device? Everything works great on a laptop or PC, because you can 'hover' with your mouse over the area/district menu options and you get the correct sub-menu fly-out to the right... but there's no such hover capability I'm aware of on an ios or android device.

Thanks!
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
 answered on 25 May 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?