enabalajx() not defined - asp.net

i m building a web control in aspx 3.5 in which i m using ajax hover menu extender. it works fine in chrome. but in IE8 it crashes when i hover over a button. when i check in chrome error given there is Uncaught ReferenceError: enabalajax is not defined. please help me in this regard

Try using enableajax

you are definitely spelling enable wrong...

Related

Radeditor on google chrome not working

I have a telerik rad editor. My application runs in .net 2.0 environment. The telerik version is : 2012.3.1016.35. The rad editor is not enabled on chrome only. I cannot type into it.Works fine in all other browsers. Upgrading to new telerik is not an option. Because this is an old client and changing will/may affect other styling things.
So what are my options. I posted this on telerik, but no response. If you need more information, please let me know. Thanks.
EDIT:
ON checking the console I got an error. Please find the image attached to see the error.
SOLUTION:
I got it. I had a line like below to open a rad window:
rwSC.VisibleOnPageLoad = True
This was causing the problem. Sometimes it would open fast and the control would load and I can place my cursor within the rad editor within the rad window and sometimes cannot. So I replaced that with this
Javascript.RegisterStartupScript(Me, "NewSC", "setTimeout(""$find('" & rwSC.ClientID & "').show();"", 500);", True)
And now it works. The rad editor within the radwindow is enabled and I can edit it.
Is this what you have: http://feedback.telerik.com/Project/108/Feedback/Details/125713?
If so, try the JS workaround there

Uncaught Error: cannot call methods on popup prior to initialization;

I'm developing a page and I import another page with popups on it using #Html.Partial("AddCommentPopup") and on pages where I am using an <a href="#pupupIDhere" data-rel="popup etc..> It works perfectly fine. On this page I need to do it differently though because of the way JQM works with links. So I'm using
<div onclick="console.log('divclicked');$('#statusUpdate').popup('open');">. And the console tells me that it is being clicked, but it doesn't open the popup and throws this error:
Uncaught Error: cannot call methods on popup prior to initialization; attempted to call method 'open'.
Any idea how to fix this?
Try initializing the div as a popup first, then open it...
<div onclick="console.log('divclicked');
$('#statusUpdate').popup();
$('#statusUpdate').popup('open');">
</div>
like this i did and worked fine for me
$("#statusUpdate").popup();
$("#statusUpdate").popup('open')
you have to initialize it before opening it
yeah,it's useful ,
$('#statusUpdate').popup();
$('#statusUpdate').popup('open');
$('#statusUpdate').popup(); /* this this for initialization*/
$('#statusUpdate').popup('open'); /this for operation/

Devexpress errors in IE

I have a complete ASP.NET that makes heavy usage of your DevExpress ASPx suite of controls. Grids, text boxes, round panels etc.
THe site works flawlessly in Chrome, Firefox however in IE some UI does not function. Example, i have an ASPxComboBox control. In IE it doesn't "Drop down".
Using F12 developer tools on the console line the following shows as the error code when the dropdown should fire
SCRIPT87: Invalid argument.
DXR.axd?r=1_42-DSzC3, line 1268 character
The function is below, line 1268 is line 5 in the code below
function _aspxCreateStyleSheetInDocument(doc) {
if(__aspxIE)
return doc.createStyleSheet();
else {
var styleSheet = doc.createElement("STYLE");
_aspxGetChildByTagName(doc, "HEAD", 0).appendChild(styleSheet);
return styleSheet.sheet;
}
}
Any suggestions where to start ?
Is resource merging enabled in web.config?
<devExpress>
...
<compression enableHtmlCompression="false" enableCallbackCompression="true"
enableResourceCompression="true" enableResourceMerging="true" />
...
</devExpress>
This issue is a specific of the IE browser (it can be encountered when too many stylesheet links are registered within a page). To resolve this issue, it is recommended that you enable “Resource Merging” http://help.devexpress.com/#AspNet/CustomDocument6911 option.
If AutoFormats/Themes are used, deploy controls skin via the «ASPxThemeDeployer” http://help.devexpress.com/#AspNet/CustomDocument7485 tool in the “Only skin files” mode.
See Also:
http://www.devexpress.com/kb=K18487

WebDriver HtmlUnitDriver NoSuchElementException

I'm using Webdriver to test my web application. When I work with FireFoxDriver or ChromeDriver everything seems to be ok. When I work with HtmlUnitDriver though things start to go wrong.
Here is a sample code:
WebDriver driver = new HtmlUnitDriver();
driver.get("http://localhost:8099/");
WebElement loginButton = driver.findElement(By.xpath("//button[#type='button']"));
loginButton.click();
i'v looked at the driver.getPageSource result, and the source code presented there is very partial.
it doesnt show me all the elements. it is the same a clicking view source on the page.
what i need from the driver is the entire source, like firebug or chrome inspector give me.
any ideas on how i can retrieve it?
my app was written with the GWT.
thanks a million
Have you tried to enable JavaScript for HtmlUnitDriver?
I believe that the HTMLUnitDriver emulates IE by default (link) and there are other questions related to clicking buttons with IE. Have you tried this?
// Press enter on the button
loginButton.sendKeys("\n");
Also, have you tried adding an ID to the element and using that to find the button?

html: Unexpected call to method or property access

I am trying to use Rounded Corner buttons in my ASP.NET website using AjaxControlToolkit's RoundedCornerExtender. When I use this on a Buton control, I get an error saying "htmlfile: Unexpected call to method or property access" to which I can Break/continue.
When I run the sites, it gives me an error "Unexpected call to mathod or property access".Here's the screenshot: http://img29.imageshack.us/img29/7051/roundedcornersp.png
Not my are of expertise, but I would guess this does not work on a button control.
You could try using a div as button.
Here is the same discussion:
http://forums.asp.net/p/1352765/2766571.aspx
Probably not the answer you're looking for, but is there something wrong with using other purely javascript solutions to rounded corners that are out there?

Resources