protected void Responsible(string groupkey)
{
AppGlobalDeclarations gConn = new AppGlobalDeclarations();
RequestMaster05Users.
RequestMaster05UsersClient _MasterUsers = new IBOS.RequestMaster05Users.RequestMaster05UsersClient();
try
{
this.RDCboResponsible.DataSource =_MasterUsers.tblMaster05Users_ResponsibleList(groupkey,gConn.SQLConnection);
this.RDCboResponsible.DataTextField = "fcUserName";
this.RDCboResponsible.DataValueField = "fxKeyID";
this.RDCboResponsible.DataBind();
}
catch (Exception ex)
{
string msg = ex.Message; >>> Redirect URI cannot contain newline characters
Response.Redirect(
"../CustomErrorPage.aspx?ErrorMessage=" + msg);
}
}
sample code is highly appreciated
thanks

Hello, I have tried all day but have been unable to find out how to show/hide toolbars/buttons from Javascript.
I am controlling the editor from silverlight so I am assuming I need to use Javascript.
I would like the buttons shown in the RadEditor to depend on something the user enters.
I have edited a couple of ToolsFile.xml files to contain the buttons I require.
Calling either of the following 2 Javascript functions does nothing at all.
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script language="javascript" type="text/javascript">
function setShortTools()
{
var editor = $find("<%= RadProfileEditor.ClientID %>");
editor.ToolsFile = "~/RadControls/Editor/MyToolsFileShort.Xml";
}
function setLongTools()
{
var editor = $find("<%= RadProfileEditor.ClientID %>");
editor.ToolsFile = "~/RadControls/Editor/MyToolsFileLong.Xml";
}
</script>
</telerik:RadCodeBlock>
Can anyone please tell me how to change RadEditor Buttons using Javascript (or any other method that works from Silverlight)
Many thanks in advance.
Pete
Hello,
I want to recieve the position of the cursor in the editor Text and store it in a field (the position is enough for me, there is no need to recover later the selection if there is one). Later if I have finshed with some actions I want to set the cursor back to the same position. I can not use the usual restorepoint handling of the editor because I change the content of the editor in some actions and this destroys the restorepoint in some cases.
thx for your help
Tom (csd)