Hi!
I'm using Telerik's Grid (Prometheus) version, but as soon as I add the following line of code (regarding the client settings):
I receive the error: Sys.ArgumentNullException: Value cannot be null.
Parameter name: id.
Everything works fine, but is there any reason for this to happen? Am i doing something wrong?
Thanks in advance!
I'm using Telerik's Grid (Prometheus) version, but as soon as I add the following line of code (regarding the client settings):
<
ClientSettings Selecting-AllowRowSelect="true" EnablePostBackOnRowClick="true"></ClientSettings>
I receive the error: Sys.ArgumentNullException: Value cannot be null.
Parameter name: id.
Everything works fine, but is there any reason for this to happen? Am i doing something wrong?
Thanks in advance!
4 Answers, 1 is accepted
0
mike
Top achievements
Rank 1
answered on 10 Jan 2008, 09:17 PM
having same issue: mine errors out when adding this line:
<
Scrolling AllowScroll="True" ScrollHeight="140px" ...
0
Hi Guys,
Unfortunately we are not aware of such kind of problem so any additional details would help a lot. Can you try the exact same markup in a new AJAX-Enabled web site to see if this is not something due to specific web.config settings? If you manage to always reproduce that in a sample web site, please submit a regular support ticket sending the application. We will look at it immediately and locate the source of the problem.
All the best,
Konstantin Petkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Unfortunately we are not aware of such kind of problem so any additional details would help a lot. Can you try the exact same markup in a new AJAX-Enabled web site to see if this is not something due to specific web.config settings? If you manage to always reproduce that in a sample web site, please submit a regular support ticket sending the application. We will look at it immediately and locate the source of the problem.
All the best,
Konstantin Petkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Fernandes
Top achievements
Rank 1
answered on 11 Jan 2008, 11:44 AM
I've created a brand new ajax enabled web site, added a grid with the same client events and the error appeared immediatly. I've tried to send you a small project, but in the new Telerik Support Center, the Prometheus Grid is not available as a selectable option :S
Anyway, I´m sending the web.config as it is created by VS.
Anyway, I´m sending the web.config as it is created by VS.
| <?xml version="1.0"?> |
| <configuration> |
| <configSections> |
| <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> |
| <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> |
| <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> |
| <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> |
| <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/> |
| <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> |
| <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/> |
| </sectionGroup> |
| </sectionGroup> |
| </sectionGroup> |
| </configSections> |
| <system.web> |
| <pages> |
| <controls> |
| <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| </controls> |
| </pages> |
| <!-- |
| Set compilation debug="true" to insert debugging |
| symbols into the compiled page. Because this |
| affects performance, set this value to true only |
| during development. |
| --> |
| <compilation debug="true"> |
| <assemblies> |
| <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| <add assembly="Telerik.Charting, Version=1.7.0.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/></assemblies> |
| </compilation> |
| <httpHandlers> |
| <remove verb="*" path="*.asmx"/> |
| <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/> |
| </httpHandlers> |
| <httpModules> |
| <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| </httpModules> |
| </system.web> |
| <system.web.extensions> |
| <scripting> |
| <webServices> |
| <!-- Uncomment this line to customize maxJsonLength and add a custom converter --> |
| <!-- |
| <jsonSerialization maxJsonLength="500"> |
| <converters> |
| <add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/> |
| </converters> |
| </jsonSerialization> |
| --> |
| <!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. --> |
| <!-- |
| <authenticationService enabled="true" requireSSL = "true|false"/> |
| --> |
| <!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved |
| and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and |
| writeAccessProperties attributes. --> |
| <!-- |
| <profileService enabled="true" |
| readAccessProperties="propertyname1,propertyname2" |
| writeAccessProperties="propertyname1,propertyname2" /> |
| --> |
| </webServices> |
| <!-- |
| <scriptResourceHandler enableCompression="true" enableCaching="true" /> |
| --> |
| </scripting> |
| </system.web.extensions> |
| <system.webServer> |
| <validation validateIntegratedModeConfiguration="false"/> |
| <modules> |
| <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| </modules> |
| <handlers> |
| <remove name="WebServiceHandlerFactory-Integrated"/> |
| <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
| </handlers> |
| </system.webServer> |
| </configuration> |
0
Hi,
Thank you for the code. We were able to reproduce the error locally which seems to appear in rare cases. This is definitely something with the web.config and the devs are on it.
Unfortunately I cannot say for sure if we will manage to isolate it and fix it for the Service Pack expected later today or tomorrow.
I have updated your Telerik points for your contribution on isolating the problem.
Greetings,
Konstantin Petkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for the code. We were able to reproduce the error locally which seems to appear in rare cases. This is definitely something with the web.config and the devs are on it.
Unfortunately I cannot say for sure if we will manage to isolate it and fix it for the Service Pack expected later today or tomorrow.
I have updated your Telerik points for your contribution on isolating the problem.
Greetings,
Konstantin Petkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center