Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
297 views

Hi,

I would like to support English and Arabic same time. For example, when the user enter English and Arabic text i want to get same html in javascript but the radeditor content doesn't same with the html text in javascript its like vice versa. I added screenshots about my issue. 

Thank you for your quick reply. 

 

 

 

Rumen
Telerik team
 answered on 09 Nov 2018
3 answers
323 views
Hello everybody !

I encountered a problem like this, I use radeditor on my website, I use Vietnamese to enter data, I enter utf-8 Unicode code, but when viewed in the HTML mode, my document transferred to ISO 8859-1 code, how to set charset encoding for RadEditor?

http://nw9.upanh.com/b4.s34.d4/b33c2f6dc31f28e3cfbcfc2c97ef1ea3_54676399.howtofix.png?rand=0.9001908729977537
Sharing
Top achievements
Rank 1
 answered on 09 Nov 2018
12 answers
612 views
I seem to have some issue with GridDateTimeColumn with a culture different from the default.
In particular I use RadGrid1.Culture = New CultureInfo("it-IT") wich uses a date time format like this dd/MM/yyyy HH:mm
I set in the declarative aspx section (web forms) of GridDateTimeColumn those settings: 
DataFormatString="{0:dd/MM/yyyy}"
PickerType="DatePicker"
FilterDateFormat="dd/MM/yyyy"
EnableTimeIndependentFiltering="true"

Nonetheless I'm facing 2 problems when filtering:
1- It seems dd/MM format is not recognized and filtering always happens with MM/dd format
2- The resulting SQL (not LINQ) FilterExpression wich converts date to string outputs something like
([CreateDate] >= '22/06/2013,00:00:00') AND ([CreateDate] <= '22/06/2013,23:59:59')
wich results on its own in 2 problems: 
1- SQL server doesn't seem to understand  '22/06/2013,00:00:00' but likes more '22/06/2013 00:00:00' (without the comma)
2- It would have been better to have an ISO format like  '2013/06/22 00:00:00' as SQL filter expression output for the same localization issues you may have with an SQL Server (or other db server) installation that has MM/dd default instead of dd/MM, resulting in an out of range exception for dates like this '22/06/2013,00:00:00'

I'm handling server side filtering in NeedDataSource event, so I could parse the MasterTableView.FilterExpression but this would involve a lot of work, in particular when multiple filters are involved... is there a simpler way of doing it altering the filter expression when it's created and before it can be retrieved from the NeedDataSource event, so to easily transform 
([CreateDate] >= '22/06/2013,00:00:00') AND ([CreateDate] <= '22/06/2013,23:59:59')
to
([CreateDate] >= '2013/06/22 00.00.00') AND ([CreateDate] <= '2013/06/22 23.59.59')

Also (as a suggestion) I would consider outputting this last ISO format by default as an SQL MasterTableView.FilterExpression result in the future Grid versions. This alone would solve all localization issues because you can handle the conversion from input to ISO string based on FilterDateFormat value.




Attila Antal
Telerik team
 answered on 08 Nov 2018
3 answers
88 views
is there any way to get a summery of for the count of records from radgrid after filtering. 
see attached example for your reference. 

thank you 
Marin Bratanov
Telerik team
 answered on 08 Nov 2018
1 answer
94 views

Hello

I'm trying to bind a List view to a JSON object, simplified to:

{
   "Data":[
      {
         "<ClaimItemID>k__BackingField":256,
         "<MasterClaim>k__BackingField":{
            "<PoliceStation>k__BackingField":"Bobville",
         },
         "<AdditionalDetails>k__BackingField":"",
         "<ItemDescription>k__BackingField":"Lilly ",
      }
   ],
   "Count":1
}

<div>#= ClaimItemID #</div>

is working as expected

but

<div>#= MasterClaim.PoliceStation #</div>

is throwing this error

Error rendering ItemTemplate in lstClaims: MasterClaim is not defined

what am i doing wrong?

 

Jason
Top achievements
Rank 1
 answered on 08 Nov 2018
1 answer
220 views

Hello,

I'm trying to figure out how to set the "SpecialDays", "RecurringEvents", and "ItemStyle-BackColor" of the rendered RadDatePicker for the RadDateTimeColumn in my RadGrid during edit mode.  I want the user to see today's date highlighted when they click on the DatePicker.  It's easy to do this in a regular RadDatePicker control, but I don't know how to do this in a RadGrid.  Any help is appreciated.

Thanks,

Shawn A.

Eyup
Telerik team
 answered on 08 Nov 2018
0 answers
206 views

I have a Parent Child Radgrid set up and need to store the page index to handle the actions of a returning to the page after a redirect.

I am trying this code in the Item Command area:

if (e.CommandName == RadGrid.PageCommandName)
            {
                GridPagerItem item = e.Item as GridPagerItem;
                GridTableView view = item.Parent.Parent.NamingContainer as GridTableView;
                if (view.Name == "child")
                {
                    string message = string.Format("Details table page index changed, current page index : {0}", view.CurrentPageIndex.ToString());
                    RadAjaxManager1.Alert(message);
 
                }
                else
                {
                    string message1 = string.Format("Parent RadGrid page index changed, current page index : {0}", RadGrid1.MasterTableView.CurrentPageIndex.ToString());
                    RadAjaxManager1.Alert(message1);
                }
 
                //************
            }

 Every time I change my page the results remain at page index = 0.  How can I get this to store the correct page index?

Perry
Top achievements
Rank 1
 asked on 07 Nov 2018
2 answers
97 views

I'm looking into replacing our current HTML editor with the Telerik version and the track changes and comments caught my eye.  But we have different user roles, where State users can enter text, images etc in the editor.  We have another group that can read the text but can not make any changes at all.  is it possible for the read-only user be able to see the tracked changes (before being accepted) and the entered comments and still not be able to make any changes?

 

thanks

 

John
Top achievements
Rank 1
 answered on 07 Nov 2018
3 answers
135 views

Hi,

would like to know if the Telerik editor supports uploading existing word document templates having macros in it and running those macros within the editor. if not, is there an alternate solution to achieve same or similar functionality? thanks in advance.

 

regards,

Rama

Marin Bratanov
Telerik team
 answered on 07 Nov 2018
5 answers
189 views

For a given diagram, is there an easy way to walk the diagram and determine, for each shape, what the interconnects are between that shape and any other shape and on what shape nodes?  For the example, in the attached workflow diagram, there are 5 shapes with interconnects as follows:

  • Shape A connects TO Shape B
  • Shape B connects TO Shape D 
  • Shape B connects TO Shape C
  • Shape C connects TO Shape A
  • Shape D connects TO Shape E

Ideally, I need to be able to divine, for each shape, all interconnects to/from other shapes along with the specific connection node and the direction of flow (based on start cap/end cap).  I have examined the diagram object of a sample workflow and the info I'm looking for appears to all be there but it putting it all together seems to be quite convoluted.  Is there perhaps a working example available that demonstrates some of what I'm attempting to do?

Thanks.

Vessy
Telerik team
 answered on 07 Nov 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?