
When checking to see if the document has been modified, I’m having a problem where the first key stroke is eaten. On the first key stroke that makes the document dirty I send an ajax message to the server indicating the document is dirty and it is that first key stroke that gets eaten. Other key strokes are ignored and no messages are sent. Of course I’m assuming it’s the interaction with the ajax message that causes the key stroke to be eaten.
Was wondering if anyone had a suggestions what to look into.
Thanks.
___
Client Side
function OnKeyDown_Editor(e) { //debugger; if("<%=AllowTextEntry%>".toLowerCase()=="true".toLowerCase()){ if(isPrintable_orDelete(e.keyCode)){ SetDocumentDirtyState(true); } }… e.returnValue = <%=AllowTextEntry%>;//set to true most times } function SetDocumentDirtyState(MakeItDirty){ var IsDirty=GetCookie("<%=EditorDirtyCookieName%>"); if(MakeItDirty==true){ if(IsDirty!='true'){ /* * write code to lock this document in database */ var message="EditorIsDirty-true"; SendAjaxMessage(message); } SetCookie("<%=EditorDirtyCookieName%>",true,1); } else{ deleteCookie("<%=EditorDirtyCookieName%>"); } }
______Server Side:
protected void Page_Load(object sender, EventArgs e)
{
…
if (!Page.IsPostBack)
{
…
/*
* Setup Ajax Management
*/
//Get reference to AjaxManager (from Master)
var manager = RadAjaxManager.GetCurrent(this);
//Create a new delegate to handle the AjaxRequest event
manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxPanel1_AjaxRequest);
manager.AjaxSettings.AddAjaxSetting(manager, this.RadEditor1);
…
}
protected void RadAjaxPanel1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
string Action = null;
string MyArgument = null;
try
{
int Index=e.Argument.IndexOf("-");
if(Index>0)Index++;//include the "-"
Action = e.Argument.Substring(0, Index);
MyArgument = e.Argument.Substring(Index);
}
catch (Exception exc) {
}
switch (Action)
{
…
case "EditorIsDirty-":
if(MyArgument=="true"){
/*eating character?*/
}
break;
…
}
…
}

Hi,
I am using Telerik Treeview Control. I have 4000 sub nodes under a main node. its taking so much time in page load (approx 10 minutes). After loading of the page, I am trying to Check the Checkbox of the main node its getting hang my system. there is no response till one hours or more & finally I had to close the window.
Rather this when I am trying any single node(which do not have any child node) its taking 5-8 seconds to check the checkbox after click on that. Please Suggess the soultion. the code is here underneath.
===============================================
function UpdateAllChildren(nodes, checked)
{
var i;
for (i=0; i<nodes.length; i++)
{
if (checked)
{
nodes[i].Check();
s=nodes[i].value;
}
else
nodes[i].UnCheck();
if (nodes[i].Nodes.length > 0)
UpdateAllChildren(nodes[i].Nodes, checked);
}
}
==================================================
This above function is being calling while pressing any checkbox on the tree node.
Suresh Dev

Hi,
I wonder, how can I achieve one thing: I have defined skin (in asp.net meaning of that word) in default.skin, to set appropriate skin to all telerik textboxes:
<telerik:RadTextBox runat="server" Skin="Vista" EnableEmbeddedSkins="true" />Now, I would like filter textbox to use settings from default.skin file.
I've had no problem with RadComboBox used as filter control in my custom column class, skin was automatically applied. Why same thing isn't happening to textbox? And how could I achieve my goal?
Thanks in advance
Pako
AllowFilteringByColumn
="true"
showfiltericon
="true" filterlistoptions="VaryByDataType"
But I am unable to see the filter options menu on click of Filter icon which appears in Header. Instead the page posts back.
Please let me know how to achieve the Filtering option in my grid?
I am using Telerik.Web.UI.dll 2010.3.1215.35 version in my application.
Thanks In advance.
若要以中文阅读此电子邮件,请单击此处。
" (this resembles chinese characters) in html view and switch to design view it shows the chinese characters properly.