I have to open a custom dialog box on click of menuitemtemplate.
I tried:
menuitemtemplate.ClientOnClickNavigateUrl ="javascript:sp.ui.modaldialog.showmodaldialog({url:'http:/sharedev/sitecreate.aspx'width:200px })"
But it shows only as a simple page, not as a popup dialog.
What should I do?