We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Collapsers for xml-tags

Hello,

is it possible to get the vertical collapsers(+, -) in the editControl also to work for tags in a xml-file like in notepad++?

(example attached)

Best regards
Christian

Attachment: collapsers_example_from_notepad_1dd9c42.rar

1 Reply

VR Venkateshwaran Ramdoss Syncfusion Team September 15, 2016 10:39 AM UTC

Hi Christian,   
    
This reported requirement can be achieved by using Regular Expression support in EditControl Config.xml. It is needed to define Regular Expression in below scenario.  
 
For Example: 
 
1)      Need to define Regular Expression for Collapse Region initialization 
 
Ex:  < “Any Text, casing, Special Characters goes here”> ---- Starts with “<”, follows with Text and ends with “>”. 
 
2)      Need to define Regular Expression for Collapse Region End 
 
Ex:  </ “Any Text, casing, Special Characters goes here”> --- Starts with “<”, follows with “/” Text and ends with “>”. 
 
We are facing problems in defining Regular Expression settings for above scenario, as it satisfies all the scenarios. So we have raised this MSDN forum and will let you know once we receive prompt solution for this case.  
   
  
Regards,   
Venkateshwaran V.R.   


Loader.
Live Chat Icon For mobile
Up arrow icon