Gerrie Villon
Top achievements
Rank 1
Gerrie Villon
asked on 23 Jan 2009, 11:47 AM
I'm using version 2008.3.1105.35 of the RadControls and I've run into a peculiar problem with a RadComboBox. I have it setup using EnableLoadOnDemand and it all works fine on my local development machine. However when putting the web application into a test environment (running Win Server 2003 SP2) the combobox doesn't get populated with data, it just sits there saying "Loading..." forever!!
I used Sql Profiler to see if it was even trying to get the data and I can see that it is pulling the data out of the database it's just not rendering it in the combobox.
I have the ComboBox setup in almost exactly the way outlined in: http://demos.telerik.com/aspnet-ajax/ComboBox/Examples/PopulatingWithData/AutoCompleteSql/DefaultCS.aspx with the exception that I am using an ItemTemplate and databinding on the OnItemsRequested event instead of manually adding RadComboBoxItems.
I used Sql Profiler to see if it was even trying to get the data and I can see that it is pulling the data out of the database it's just not rendering it in the combobox.
I have the ComboBox setup in almost exactly the way outlined in: http://demos.telerik.com/aspnet-ajax/ComboBox/Examples/PopulatingWithData/AutoCompleteSql/DefaultCS.aspx with the exception that I am using an ItemTemplate and databinding on the OnItemsRequested event instead of manually adding RadComboBoxItems.
Any ideas?
5 Answers, 1 is accepted
0
Hi Gerrie Villon,
Since the control is working properly on your dev machine and not on the production one, most probably the cause of the issue is in the latter.
0
johnv
Top achievements
Rank 2
answered on 30 Jan 2009, 05:43 PM
Hi, I don't mean to hi-jack your thread Gerrie, but I have the same exact issue in a DNN module with a caveat that I have this same exact code (control definition and ItemsRequested Event) on another (non Settings) page that works perfectly.
So, my dev environment works perfectly on all pages, but my test server works on the edit page but not the settings page. The DNN error log looks like this:
A log entry is generated on each RadComboBox callback event. (Ex: as I type, if I pause long enough to activate the AJAX callback, a log entry is created.)
This is puzzling to me since the code works in my dev environment on both the Edit and Settings pages.
Simon - Can you help me understand what is going on here?
Thanks!
John
So, my dev environment works perfectly on all pages, but my test server works on the edit page but not the settings page. The DNN error log looks like this:
| AssemblyVersion: 04.07.00 |
| PortalID: 0 |
| PortalName: JSWAG |
| UserID: 1 |
| UserName: host |
| ActiveTabID: 61 |
| ActiveTabName: Executive Steering Committee |
| RawURL: /ActionChits/ExecutiveSteeringCommittee/tabid/61/ctl/Module/ModuleId/384/Default.aspx |
| AbsoluteURL: /Default.aspx |
| AbsoluteURLReferrer: http://ijswag.paxrnet.com/ActionChits/ExecutiveSteeringCommittee/tabid/61/ctl/Module/ModuleId/384/Default.aspx |
| UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) |
| DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider |
| ExceptionGUID: 4e834325-def1-4474-9c33-e5d0a5f50cae |
| InnerException: Unhandled Error: |
| FileName: |
| FileLineNumber: 0 |
| FileColumnNumber: 0 |
| Method: System.Web.HttpResponse.Redirect |
| StackTrace: |
| Message: System.Exception: Unhandled Error: ---> System.ApplicationException: Response.Redirect cannot be called in a Page callback. at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) at DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) at System.Web.UI.TemplateControl.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.default_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace --- |
| Source: |
| Server Name: WEBMASTER |
A log entry is generated on each RadComboBox callback event. (Ex: as I type, if I pause long enough to activate the AJAX callback, a log entry is created.)
This is puzzling to me since the code works in my dev environment on both the Edit and Settings pages.
Simon - Can you help me understand what is going on here?
Thanks!
John
0
Hi johnv,
The exception says that there has been a server-side Redirect which happens during the Items Request intiiated by the ComboBox.
Could you please verify whether this is true?
In any case, I suggest you compare the 'Edit' and 'Settings' pages in order to find what is different and might be causing the error in the latter.
Regards,
Simon
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
The exception says that there has been a server-side Redirect which happens during the Items Request intiiated by the ComboBox.
Could you please verify whether this is true?
In any case, I suggest you compare the 'Edit' and 'Settings' pages in order to find what is different and might be causing the error in the latter.
Regards,
Simon
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
johnv
Top achievements
Rank 2
answered on 25 Mar 2009, 05:13 PM
Sorry for the long delay. I just wanted everyone to know that I upgraded DNN on my test server to the same version as my dev environment and all is well.
My Local machine is running DNN 4.8.2 and my server was running 4.7.0. I looked through the change logs but didn't see anything that looked like it may have fixed my issue...
Thanks!
My Local machine is running DNN 4.8.2 and my server was running 4.7.0. I looked through the change logs but didn't see anything that looked like it may have fixed my issue...
Thanks!
0
Kaunteya
Top achievements
Rank 1
answered on 02 Oct 2009, 04:30 AM
Hello,
I do have same problem like John. I am using Radcomboboxes casceding in my DNN module. I followed http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx demo for this.
This works fine on my dev machine, also work on production machine but only for Host login and not for registered user accounts. When I login with registered user on production and select item from first combo second combo shows only Loading.... and nothing happens. But it works on dev machine with registered user. By this scenario one can guess its access issue but I am getting the same errors as noted above. Its really fussy problem as I believe Telerik component is nothing to do with what role one is having when login into site. I have same version at server and on my dev machine, i.e. 05.01.01, also I have put AjaxControlToolkit.dll into my bin folder at production. Production Sevrer is installed with Windows Server 2003 OS.
Please help we are going live very soon....
Thanks,
Kaunteya Chougule
I am geting follwing error in order when I select
I do have same problem like John. I am using Radcomboboxes casceding in my DNN module. I followed http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx demo for this.
This works fine on my dev machine, also work on production machine but only for Host login and not for registered user accounts. When I login with registered user on production and select item from first combo second combo shows only Loading.... and nothing happens. But it works on dev machine with registered user. By this scenario one can guess its access issue but I am getting the same errors as noted above. Its really fussy problem as I believe Telerik component is nothing to do with what role one is having when login into site. I have same version at server and on my dev machine, i.e. 05.01.01, also I have put AjaxControlToolkit.dll into my bin folder at production. Production Sevrer is installed with Windows Server 2003 OS.
Please help we are going live very soon....
Thanks,
Kaunteya Chougule
I am geting follwing error in order when I select
|
|||||
|
|||||
|
|||||