Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
1.0K+ views
What is the maximum date that can be set for the maxdate property in the radDatePicker control
Dylan
Top achievements
Rank 1
Iron
 answered on 27 May 2021
38 answers
1.6K+ views
Hi,
How i can paste image  from clipboard in radEditor. I have taken a snapshot from a Pdf file and i want to paste it in rad editor.

Thanks
Rumen
Telerik team
 updated answer on 27 May 2021
1 answer
1.0K+ 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
239 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
226 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
291 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
278 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
209 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
397 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.9K+ 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?