Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
216 views
I have a couple of checkboxes on a page that is decorated by RadFormDecorator.

I notice that the font associated with the checkboxes changes slightly when the checked property changes. This is with 2010.2.713.

Looking at the page using IE8's developer tools shows that there are some additional CSS properties applied when the checkbox is checked.

You can see what I mean by comparing the 2 images attached.

-- 
Stuart
Bozhidar
Telerik team
 answered on 23 Jul 2010
1 answer
132 views

I have a telerik radgrid that has an allows inserts.  After clicking the "Add New Record" button the textboxes appear with a couple of buttons.  One for Insert and one to cancel.  I would like the page focus to be on the insert button so when the user clicks the enter button, the insert button has the focus.

Does anyone know how to do this?

Princy
Top achievements
Rank 2
 answered on 23 Jul 2010
1 answer
261 views
Hi,

i would like to add buttons beside every node.if i click on that button, i have to open popup.

Any Idea.....

Thanks and Regards,
Srikanth.
Shinu
Top achievements
Rank 2
 answered on 23 Jul 2010
1 answer
349 views
I want to make Teleric textbox to accept only alpha numeric input. How do I do this in javascript? are there any issue to enable this in multiple types of browsers with dieffenet versions?
Shinu
Top achievements
Rank 2
 answered on 23 Jul 2010
2 answers
113 views
Hi,
    After using telerik RadGrid Edit form. Which within our custom user control contains a ComboBox (Data Source: DataTable, AppendItemDataBound: True). It appears that the combobox has double bind the value. I have attached a sample code which duplicated the scenario im describing.
ddl.AppendDataBoundItems = true;
ddl.Items.Add(new ListItem("select one", ""));
ddl.DataTextField = "Value";
ddl.DataValueField = "ID";
ddl.DataSource = Session["DataTableSource"];
ddl.DataBind();
 
RadComboTest.AppendDataBoundItems = true;
RadComboTest.Items.Add(new RadComboBoxItem("select one", ""));
RadComboTest.DataTextField = "Value";
RadComboTest.DataValueField = "ID";
RadComboTest.DataSource = Session["DataTableSource"];
RadComboTest.DataBind();


the above code is invoked one during Page Load (userControl, that is invoked by radGrid). however the behaviour of having appenddatabound is for us to Add "Select One" item is desired. Is there a reason why its duplicating ?

Best Regards,
Adrian






Adrian Eng Ying Ming
Top achievements
Rank 1
 answered on 23 Jul 2010
10 answers
384 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.0K+ 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
88 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
144 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
211 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?