Have a project that was developed in Telerik ASP.net (pre AJAX) and moving it into ASP.net AJAX. However running into some problems and not quite sure of how to finish the update process. Hoping someone might offer some assistance it would be appreciated.
Errors are with the following lines:
me.editor.editmodes.html = user.isinrole("Administrator")
Dim pagelink as new radEditorUtils.link(.....)
Errors are with the following lines:
me.editor.editmodes.html = user.isinrole("Administrator")
Dim pagelink as new radEditorUtils.link(.....)
Me.editor.EditModes.Html = User.IsInRole("Administrator") Me.editor.Links.Clear() Dim dtPages As DataTable = DAL.list_pages_enabled() For Each page As DataRow In dtPages.Rows Dim pageLink As New RadEditorUtils.Link(page("title").ToString(), String.Format("/Public/Default.aspx?pid={0}", page("pid").ToString), "_self", page("title").ToString()) Dim dt As New DataTable dt = DAL.list_sub_pages(page("pid").ToString) For Each subPage As DataRow In dt.Rows Dim subPageLink As New RadEditorUtils.Link(subPage("title").ToString(), String.Format("/Public/Default.aspx?pid={0}", subPage("pid").ToString), "_self", subPage("title").ToString()) pageLink.Add(subPageLink) Next Me.editor.Links.Add(pageLink) NextAlso how to handle editor.CancelClicked and editor.SubmitClicked? Is there something different involving these?
