Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
395 views

Hi,

I ran the telerik upgrader from within visual studio, downloaded the latest version and upgraded. Afterwards, I go the following.

(The correct dll (2010.1.519.35) was copied to the bin folder).

Upgrade Log:

Upgrade Item Details Result   
 
 CreateBackup C:\Users\username\Documents\Visual Studio 2008\VSS Projects\ProjectName.root\ProjectName\Web_Backup_2010.06.01_09.42.51 Success   
 Added Assembly Reference C:\Users\username\AppData\Roaming\Telerik\Updates\RadControls_for_ASP.NET_AJAX_2010_1_519_dev_hotfix\Bin35\Telerik.Web.UI.dll Success   
 Removed Redundant Bin File Telerik.Web.Design Success   
 Ensured Design-time Support C:\Users\username\AppData\Roaming\Telerik\Updates\RadControls_for_ASP.NET_AJAX_2010_1_519_dev_hotfix\Bin35\Telerik.Web.Design.dll Success   
 UpgradeToolbox Toolbox upgrade successful. Success   
 Created Upgrade Log C:\Users\username\Documents\Visual Studio 2008\VSS Projects\ProjectName.root\ProjectName\Web_Report.htm Success   
 

Web page error:

Server Error in '/' Application.  
--------------------------------------------------------------------------------  
 
Object reference not set to an instance of an object.   
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.   
 
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.  
 
Source Error:   
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.    
 
Stack Trace:   
 
 
[NullReferenceException: Object reference not set to an instance of an object.]  
   Telerik.Web.UI.ScriptEntrySlot.GetSerializedAssemblyInfo(ScriptEntry scriptEntry) +208  
   Telerik.Web.UI.ScriptEntrySlot.SerializeScriptEntry(ScriptEntry scriptEntry) +71  
   Telerik.Web.UI.ScriptEntryUrlBuilder.TryAddScriptEntry(ScriptEntry scriptEntry) +56  
   Telerik.Web.UI.ScriptEntryUrlBuilder.RegisterScriptEntry(ScriptEntry scriptEntry) +237  
   Telerik.Web.UI.RadScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e) +522  
   System.Web.UI.ScriptManager.RegisterScripts() +191  
   System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +113  
   System.EventHandler.Invoke(Object sender, EventArgs e) +0  
   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8699938  
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1029  
 

 
Web.config:

(some non-relevant sections removed for information security reasons)

<?xml version="1.0"?>  
<configuration> 
  <configSections> 
    <section name="validation" type="Microsoft.Practices.EnterpriseLibrary.Validation.Configuration.ValidationSettings, Microsoft.Practices.EnterpriseLibrary.Validation, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
    <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
    <section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
    <section name="cachingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerSettings, Microsoft.Practices.EnterpriseLibrary.Caching, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" /> 
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" /> 
        </sectionGroup> 
      </sectionGroup> 
    </sectionGroup> 
  </configSections> 
  <appSettings> 
    <add key="Telerik.Skin" value="WebBlue" /> 
  </appSettings> 
  <system.web> 
    <compilation debug="true">  
      <assemblies> 
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> 
        <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Speech, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      </assemblies> 
    </compilation> 
    <pages> 
      <controls> 
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" /> 
      </controls> 
    </pages> 
    <httpHandlers> 
      <remove verb="*" path="*.asmx" /> 
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> 
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" /> 
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" /> 
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /> 
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" /> 
    </httpHandlers> 
    <httpModules> 
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" /> 
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> 
    </httpModules> 
  </system.web> 
  <system.webServer> 
    <validation validateIntegratedModeConfiguration="false" /> 
    <modules> 
      <remove name="ScriptModule" /> 
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <remove name="RadUploadModule" /> 
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode,runtimeVersionv2.0" /> 
      <remove name="RadCompression" /> 
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersionv2.0" /> 
    </modules> 
    <handlers> 
      <remove name="WebServiceHandlerFactory-Integrated" /> 
      <remove name="ScriptHandlerFactory" /> 
      <remove name="ScriptHandlerFactoryAppServices" /> 
      <remove name="ScriptResource" /> 
      <remove name="ChartImage_axd" /> 
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.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=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" /> 
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
      <remove name="Telerik_Web_UI_DialogHandler_aspx" /> 
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
      <remove name="Telerik_RadUploadProgressHandler_ashx" /> 
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
      <remove name="Telerik_Web_UI_WebResource_axd" /> 
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
    </handlers> 
  </system.webServer> 
  <runtime> 
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
      <dependentAssembly> 
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" /> 
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" /> 
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /> 
      </dependentAssembly> 
    </assemblyBinding> 
  </runtime> 
</configuration> 

From my own personal point of view, the upgrader is really of beta quality. It is NOT dependable.

My project was 99% complete and now I can't demo so much as a start page if the suits come calling. Not good.

Thanks,

Richard

Richard Weeks
Top achievements
Rank 2
 answered on 23 Jul 2010
5 answers
1.1K+ views
Hi I recently upgraded to Version=2010.1.519.40 afterwards we started getting this Grid Filtering error;
"Syntax error: Missing operand after '["column"]' operator."

We get a different error when filtering an INT column:
"The expression contrain undefined function call Convert.ToDecimal()."

Then to top it off when leaving the page we get a "null object" error but only when the grid is filter, sorted, or grouped by using the HeaderContextFilterMenu. If you turn this feature off and sort, filter, or group by the default method it doesn't throw this error.

I am not sure what changed but this is a deal breaker for us. We wil most likely have to roll back so any help would be greatly appreciated.
Thanks
Rory
Top achievements
Rank 1
 answered on 22 Jul 2010
2 answers
97 views
Hi there, i was wondering why the labels in my grid aren't aligning properly in edit mode. take a look at the label for MA Number in the screen shot below.

here's the grid code. nothing extraordinary...

proprietary code removed.
Kyle Pike
Top achievements
Rank 1
 answered on 22 Jul 2010
2 answers
145 views
Hi,

I have created a RadGrid (_grdDocuments) inside RadAjaxPanel. I just need to enable multi-row selection and grouping in that RadGrid so below are the codes I have used. Data of the RadGrid is gathered thru a dropdown value say (Company1, Company2, Company3).

Initially when data is loaded in the RadGrid, you can select a row or even group the grid based on the dragged column name.

Now when you change the value of the dropdown say Company 2, you cannot select or group in the Grid anymore. Why? Am I missing something here?

This is WSS 3.0 WebPart application. No client or server events attached.

I am using Telerik version 2008.3.1314.35


Thanks


-----------------------------------------------------------------------------------------------------

        private void InitGrid2()
        {
            try
            {
                _grdDocuments2.ID = "_grdDocuments2";
                _grdDocuments.Skin = "Forest";

                // No Wrapping
                _grdDocuments2.HeaderStyle.Wrap = false;
                _grdDocuments2.FooterStyle.Wrap = false;
                _grdDocuments2.PagerStyle.Wrap = false;
                _grdDocuments2.ItemStyle.Wrap = false;
                _grdDocuments2.AlternatingItemStyle.Wrap = false;
                _grdDocuments2.SelectedItemStyle.Wrap = false;

                // set general properties
                _grdDocuments2.AllowAutomaticDeletes = false;
                _grdDocuments2.AllowAutomaticInserts = false;
                _grdDocuments2.AllowAutomaticUpdates = true;
                _grdDocuments2.AllowPaging = true;
                _grdDocuments2.MasterTableView.PagerStyle.HorizontalAlign = HorizontalAlign.Left;
                _grdDocuments2.AllowSorting = true;
                _grdDocuments2.AllowFilteringByColumn = false;
                _grdDocuments2.EnableViewState = true;
                _grdDocuments2.AutoGenerateColumns = true;
                _grdDocuments2.GridLines = GridLines.Both;
                _grdDocuments2.PageSize = 20;
                _grdDocuments2.GroupingEnabled = true;
                _grdDocuments2.ShowGroupPanel = true;
                _grdDocuments2.ShowHeader = true;
                _grdDocuments2.ShowFooter = false;

                _grdDocuments2.ClientSettings.Selecting.AllowRowSelect = true;
                _grdDocuments2.AllowMultiRowSelection = true;
                _grdDocuments2.MasterTableView.EditMode = Telerik.Web.UI.GridEditMode.InPlace;

                // Set client properties
                _grdDocuments2.ClientSettings.AllowColumnsReorder = true;
                _grdDocuments2.ClientSettings.AllowDragToGroup = true;
                _grdDocuments2.ClientSettings.AllowRowsDragDrop = true;
                _grdDocuments2.ClientSettings.Resizing.ResizeGridOnColumnResize = true;
                _grdDocuments2.ClientSettings.Resizing.AllowColumnResize = true;


            try 
            {

                if (CurrentKey != string.Empty)   //CurrentKey value is coming from Company dropdown.
                {

                    DataSet testData = new DataSet();

                    // Apply a schema from the file...
                    testData.ReadXmlSchema(Page.Server.MapPath("/GridSchema.xsd"));

                    testData.Tables[0].Columns[Document._FIELD_DOC_EXPIRATION_DATE].AllowDBNull = true;
                    testData.Tables[0].Columns[Document._FIELD_DOC_CREATED_DATETIME].AllowDBNull = true;
                    testData.Tables[0].Columns[Document._FIELD_DOC_MODIFIED_DATETIME].AllowDBNull = true;
                    testData.Tables[0].Columns[Document._FIELD_DOC_SIGNED_DATETIME].AllowDBNull = true;

                    string xmlData = string.Empty;

                    xmlData = LoadData(CurrentKey);

                    if (xmlData != string.Empty)
                    {
                        // Now we have a string, so put it in a dataset
                        StringReader readerString = new StringReader(xmlData);

                        testData.ReadXml(readerString);
                    }

                    _grdDocuments2.DataSource = testData;
                    _grdDocuments2.DataMember = testData.Tables[0].TableName;

                    _grdDocuments2.DataBind();
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
       }
Jomar
Top achievements
Rank 1
 answered on 22 Jul 2010
5 answers
228 views
Hi,
       How to add RequiredFildValidator or Custom Validator for RadColorPcker?
       Iam getting "Control 'RadColorPicker' referenced by the ControlToValidate property of 'RequiredFieldValidator'  
      cannot be validated
" error message When RequiredFieldValiator is aded to RadColorPicker.
Thank you,
Durga.
Tsvetie
Telerik team
 answered on 22 Jul 2010
0 answers
83 views
I am trying to create a design document for a project which I plan on using RadControls in.

Does anyone have any examples of how they documented using some of the more complex RadControls like the RadGrid?

Thanks.
Sean
Top achievements
Rank 1
 asked on 22 Jul 2010
2 answers
121 views
Hello.

Any way to not highlight the row when the checkboxes are enabled?

<telerik:RadListBox ID="lstSubject" runat="server" CheckBoxes="true" Height="250" Width="100%" />

Just want the checkboxes, but do not want the row to be "selected" when the user clicks one.
msigman
Top achievements
Rank 2
 answered on 22 Jul 2010
2 answers
222 views
Question: How can I determine at the server side, if the page is being rendered in a radWindow?

Background: I have a Master page with toolbar buttons.  The child page is loaded in an iframe.  The user can click a toolbar button which posts a message to the parent window where another child page is loaded in a radwindow.

Because all of these child pages can appear in the IFrame, they need the toolbar buttons that load other reference pages in a radwindow, but I don't want to provide this option if the page itself has been loaded in a radWindow.

Example:
  The site has Pages A, B, and C.  Each page dynamically tells the parent the toolbar buttons available based on the state of the data, user permission, etc.  When viewing page A, users need the ability to quickly reference pages B and C.  When viewing Page B, users need the ability to quickly reference pages A and C, and so on.

When a page is displayed in this dialog, I'd like to be able to remove the popup toolbar buttons so that the modal window cannot open up additional windows.

Daniel
Top achievements
Rank 1
 answered on 22 Jul 2010
3 answers
131 views
Hi,

We have a problem with the RAD editor in IE8. It seems to render totally wrong even when we add the compatibility mode meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />.

In other browsers (tested in chrome 4 and FF 3.5) this problem never occurs. Also when I open the development tools in IE8 and switch manually to Browser mode: IE8 everything works fine. But on the initial page load, with or without the IE7 compatibility tag, it gives problems. See the attached screenshots for details.

We are using Telerik ASP.NET AJAX controls with buildnumber 2008.1.619.0. 

I hope you can help me with this. 
Thanks in advance! 
Dobromir
Telerik team
 answered on 22 Jul 2010
1 answer
228 views

I have list of items.

Once user clicks on the item then I want to show details for these items.

I don’t want to load all item details on page load. How do I do this more efficiently.

For item details I have a user Control previously I have used Radpanel bar with list of items On page load I create all these PanelItems dynamically and add user Controls to each panel item.

Should I user Grid or Panel bar?

This time I want to load list of items on page load and dynamically load user control data when user clicks on particular item.

Can I do this? How will be view state handled if I do this on item click. If user clicks on first item I load data for that user control if user clicks on second item I will load data for that item ..what will happen to previously clicked items? On postback will it load all previously clicked items.

What’s the most efficient way to show item details with grid or Panel bar?

 

Thanks

Schlurk
Top achievements
Rank 2
 answered on 22 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?