| Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development | Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
| Author | Forum: PowerWEB LiveControls for ASP.NET Topic: Browser returning syntax error with LiveRadioButtonList |
| jukkak From: Karkkila, Finland Posts: 2 Member Since: 07/07/06 |
posted July 7, 2006 7:57 AM Hi, on my page I have added two LiveRadioButtonLists. Idea is to enable one based on the selection value on the other. Browser return "Syntax Error" (IE6) when selecting value "Yes" on the first control. What is wrong? Here is the simple code behind: Protected Sub RadioButtonList_Is_It_Someone_In_Addition_To_Visitor_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles LiveRadioButtonList_Is_It_Someone_In_Addition_To_Visitor.SelectedIndexChanged If Me.LiveRadioButtonList_Is_It_Someone_In_Addition_To_Visitor.SelectedValue = "Yes" Then LiveRadioButtonList_Is_It_Regarding_Someone_On_The_Centre.Enabled = True End If End Sub |
| jukkak From: Karkkila, Finland Posts: 2 Member Since: 07/07/06 |
posted July 7, 2006 8:00 AM Here is what Opera tells about the problem: 127.0.0.1: Statement on line 489: Syntax error in call to eval: line 1 : <table Class="headertable" cellpadding="0" cellspacing="0" b --^ Backtrace: Line 489 of linked script http://127.0.0.1/DQSMK5/Dart.PowerWEB.LiveControls.GetResource.aspx?Res=pw_scripts_1.5.1.0.js alert(err); Line 1 of eval script pwInternalCallback(pendingRequest.callbackObject); At unknown location [statement source code not available] |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 10, 2006 4:20 PM Can you set LiveRadioButtonList_Is_It_Someone_In_Addition_To_Visitor.Debug = true and try your test again? This will create a debug log of all JavaScript executed. Post the block of JavaScript where the error is occurring. |
| thb From: Greve, Denmark Posts: 3 Member Since: 10/19/05 |
posted July 12, 2006 4:24 PM Hi For some reason I all the sudden starting having this problem at a client site only this was with the dropdownlist, I had to disable callback then it works. what it says if using firefox is missing ; before statement, my guess is some change to the javascript for the component when callback is enabled. Best Regards Thorbjorn |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 13, 2006 11:08 AM Hi. Do any of the controls use any string values which may cause problems in JavaScript (for instance, single quotes, double quotes, etc)? |
| Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|