| <telerik:RadDatePicker ID="rPubDate" runat="server" DateInput-DateFormat="MM/yyyy" /> |
The control only allows me to select the current month / year in this case "10/2009" any other date will not work. If I change the dateformat to MM/d/yyyy or MMM/yyyy it works fine.

return
true;
},_applySelection:
function(){
if
(!this._isInVisibleContainer(this._textBoxElement)){
return
;
}
if
((Sys.Browser.agent==Sys.Browser.Opera)||!document.selection){
this
._textBoxElement.selectionStart=this._selectionStart;
this
._textBoxElement.selectionEnd=this._selectionEnd;
return
;
}
this
._textBoxElement.select();
sel=document.selection.createRange(); //ERROR IS ON THIS LINE
sel.collapse();
sel.moveStart(
"character",this._selectionStart);
sel.collapse();
sel.moveEnd(
"character",this._selectionEnd-this._selectionStart);
sel.select();
},_clearHiddenValue:
function(){
this
._hiddenElement.value="";
},_handleWheel:
function(_58){
},_setHiddenValue:
function(_59){
if
(this._hiddenElement.value!=_59.toString()){
this
._hiddenElement.value=_59;
}
this
._setValidationField(_59);
return
true;
},_setValidationField:
function(_5a){
},_updateHiddenValueOnKeyPress:
function(){
this
._updateHiddenValue();
},_updateHiddenValue:
function(){
if
(!this._textBoxElement.readOnly){
return
this._setHiddenValue(this._textBoxElement.value);
}
},_escapeNewLineChars:
function(_5b,_5c){
_5b=escape(_5b);
while
(_5b.indexOf("%0D%0A")!=-1){
_5b=_5b.replace(
"%0D%0A",_5c);
The Error : "Microsoft JScript runtime error: Unknown runtime error"
The dropdowns are using load on demand and virtual scrolling and all of that works fine providing I click away to a non editing cell before clicking to another editing control. The problem does not occur when the dropdowns are not opened and values are changed through using the keyboard up and down keys.
I've got no client side scripts running - all controls are created in code.
If I click away to another dropdown control (or even to the same one) the error is similar and it appears here:
function
(_f9,_fa){
if
(!this.get_enableTextSelection()){
return
;
}
if
((!this.get_enableLoadOnDemand())&&(this.get_readOnly())){
return
;
}
if
(this.get_inputDomElement().createTextRange){
var
_fb=this.get_inputDomElement().createTextRange();
if
(_f9==0&&_fa==0){
_fb.collapse(
true);
return
;
}
_fb.moveStart(
"character",_f9);
_fb.moveEnd(
"character",_fa);
_fb.select(); //ERROR IS ON THIS LINE
}
else{
this
.get_inputDomElement().setSelectionRange(_f9,_f9+_fa);
}
},_childRemoving:
function(_fc){
var
_fd=_fc.get_index();
if
(this._itemData){
Array.remove(
this._itemData,this._itemData[_fd]);
}
Telerik.Web.UI.RadComboBox.callBaseMethod(
this,"_childRemoving",[_fc]);
},_childRemoved:
function(_fe,_ff){
var
_100=_fe.get_element();
if
(_fe==this.get_selectedItem()){
this
.set_selectedItem(null);
this
.set_highlightedItem(null);
this
.set_text("");
The Error: "htmlfile: Could not complete the operation due to error 800a025e"
I'm running Ie8 and I've tried running it in the compatibility mode but results were the same.
I'm using Visual Studio 2008 to create the web app.
Thanks for your help,
Jo
Manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(this.RadAjaxManager1_AjaxRequest);
}
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
string URL = "appointment.aspx";
string script = "radopen('" + URL + "');";
Manager.ResponseScripts.Add(script);
}
if (!ClientScript.IsStartupScriptRegistered("mytest"))
{
ClientScript.RegisterStartupScript(
typeof(Page), "mytest",
"<script>radconfirm('Do you want to Create a Hotspot Icon? ', 'confirmCallBackFn()');</script>");
}
but to no avail.
unfortunately it has to happen from this function to determine which option / functions to perform (saving of either jotspots on an asp.map map or its coordinates)
HTML java script is
function confirmCallBackFn(arg)
{
document.form1.HSpot.value = arg;
}
Also tried invoking the java scipt function from code without using client register script or Clientregisterstartup script, but no go.
function hi()
{
alert(
"..");
radconfirm(
'<h3 style=\'color: #333399;\'>Do You want to create a hotspot?</h3>', confirmCallBackFn, 330, 100, null,'Create Hotspot or Get LatLon co-ords');
return false;
}
Using ASP.Net 2 and Telerik v 2009.1
If I can get the return variable in C# i'm ok, but how to ???
Thx
Neal