Link to home
Start Free TrialLog in
Avatar of pratikshahse
pratikshahse

asked on

insert a variable value in renderhtml tag

I have the following html.

@Helpers.RenderHtml("<div class=\"btn-group\" >  <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\"> Action <span class=\"caret\"></span></button>          <ul class=\"dropdown-menu\">")


I want to replace the text "Action"  in the html to a variable value.

Please let me know how to do that.
ASKER CERTIFIED SOLUTION
Avatar of David H.H.Lee
David H.H.Lee
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pratikshahse
pratikshahse

ASKER

thank you David Lee!!