c# how to set the BreakElement?

Last post 02-09-2011, 10:57 AM by AWilderbeast. 2 replies.
Sort Posts: Previous Next
  •  02-09-2011, 9:54 AM 66139

    c# how to set the BreakElement?

    hi 
     
    ive been trying to set the breakelement btu cant figure out the context it needs to be in
     
    ive tried
    Editor1.BreakElement = "<br />";
    but it tells me
    cannot convert element type string to cuteeditor.breakelement
     
    what is the format for this?
    Thanks 
  •  02-09-2011, 10:39 AM 66141 in reply to 66139

    Re: c# how to set the BreakElement?

    Dear AWilderbeast,
     
    You can choose one of the following 3 settings:
    Editor1.BreakElement  = BreakElement.Div;
    Editor1.BreakElement  = BreakElement.Br;
    Editor1.BreakElement  = BreakElement.P; 
    Thank you for asking
  •  02-09-2011, 10:57 AM 66142 in reply to 66141

    Re: c# how to set the BreakElement?

    Thanks Eric
View as RSS news feed in XML