Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
208 views
Hello,

Our team noticed that when Sorting is enabled on the RadGrid, the user can click the column header to sort the table but focus does not stay on that link. This is an accessibility issue because the page focus goes back to the top of the page after the grid is sorted and a keyboard user would have to tab all the way back down to the grid. We were wondering, is there a client-side event that we could call when the sortable column is clicked on the RadGrid? We could then call a custom JavaScript method to set focus to that link.

Thank you,

Lauren Jones
Jayesh Goyani
Top achievements
Rank 2
 answered on 05 Nov 2011
2 answers
183 views
hi
i am using the latest version of radeditor  , radeditor works properly , bu i thinks it's scripts conflicts with my scripts that i have used in my cms, i have used component art menu, when the first time page loads my page shows menu and radeditor works well ,but after refreshing the page , and when the session has time out, i loggin again , and the menu disappears, i think the menu conflict with radeditor.

Best Regards Bahar
----------------------------------------
<%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>

 <td style="width: 100%; text-align: right">
                            <ComponentArt:Menu ID="Mnumain" runat="server" ClientTarget="Auto" CssClass="TopGroup"
                                DefaultGroupCssClass="MenuGroup" CausesValidation="False" DefaultItemLookId="DefaultItemLook"
                                DefaultGroupExpandDirection="BelowRight" DefaultChildSelectedItemLookId="SelectChildItemLook"
                                DefaultSelectedItemLookId="SelectItemLook">
                                <ItemLooks>
                                    <ComponentArt:ItemLook LookId="TopItemLook" CssClass="TopMenuItem" HoverCssClass="TopMenuItemHover" />
                                    <ComponentArt:ItemLook LookId="SelectItemLook" CssClass="SelectMenuItem" />
                                    <ComponentArt:ItemLook LookId="SelectChildItemLook" CssClass="SelectChildMenuItem" />
                                    <ComponentArt:ItemLook LookId="DefaultItemLook" CssClass="MenuItem" HoverCssClass="MenuItemHover" />
                                </ItemLooks>
                            </ComponentArt:Menu>
                        </td>
-------------------------------------------------------------------------------------------
web.cong

<?xml version="1.0"?>
<configuration>
  <configSections>
    <sectionGroup name="Miron.web">
      <section name="CompressorSettings" type="Miron.Web.MbCompression.SettingsConfigSection" />
    </sectionGroup>
    <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="DBNAME" value="Data Source=62.193.12.207;Initial Catalog=shahrdari;User ID=sa;Password=qwe1234"/>-->
    <!--<add key="DBNAMEShahryarnews" value="Data Source=62.193.12.207;Initial Catalog=shahryar;User ID=sa;Password=qwe1234"/>-->
     <!-- <add key="DBNAME" value="Data Source=server;Initial Catalog=Test-Rad;User ID=sa;Password=Qwe1234" />-->
  <add key="DBNAME" value="Data Source=pserver;Initial Catalog=Test-Rad;User ID=sa;Password=Qwe123"/>
    <add key="ExternalDBNAME" value="Data Source=192.168.1.1;Initial Catalog=Externalelib;User ID=sa;Password=1234" />
    <add key="SiteUrl" value="http://itshams.ir" />
    <add key="email" value="info@itshams.ir" />
    <add key="Hejri" value="-1" />
    <add key="SSlEmail" value="false" />
  </appSettings>
  <system.net>
    <mailSettings>
      <smtp>
        <network host="mail.itshams.ir" port="25" userName="vosei@itshams.ir" password="09141091985" />
      </smtp>
    </mailSettings>
    <!--<mailSettings>
            <smtp>
                <network host="smtp.gmail.com" port="587" userName="sazmane.amar@gmail.com" password="sazman5564" defaultCredentials="false"/>
            </smtp>
        </mailSettings>-->
  </system.net>
  <system.web>
    <httpRuntime maxRequestLength="409600" executionTimeout="300" />
    <customErrors mode="Off" />
    <compilation debug="true" urlLinePragmas="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.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <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" />
      </assemblies>
    </compilation>
    <httpHandlers>
      <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4">
      </add>
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      <add verb="*" path="jslib.axd" type="Miron.Web.MbCompression.JavaScriptCompressionHandler" validate="true" />
      <add verb="*" path="css.axd" type="Miron.Web.MbCompression.CssCompressionHandler" validate="false" />
      <add verb="GET" path="CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha" />
      <add verb="*" type="ComponentArt.Web.UI.UploadProgressHandler,ComponentArt.Web.UI" path="ComponentArtUploadProgress.axd" />
      <add verb="*" path="*js.axd" type="JavaScriptHandler" />
      <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" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
     
    </httpHandlers>
    <httpModules>
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
      <add type="ComponentArt.Web.UI.UploadModule,ComponentArt.Web.UI" name="ComponentArtUploadModule" />
      <add type="CompressWebResource" name="CompressWebResource" />
      
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </httpModules>
    <authentication mode="Windows" />
    <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" />
      </controls>
    </pages>
  </system.web>
  <Miron.web>
    <CompressorSettings reflectionAlloweded="false" optimizeHtml="true" daysInCahe="30" compressCSS="true" compressJavaScript="true" compressPage="false" compressWebResource="false" compressThirdParityScripts="false">
      <excludeTypes>
        <add key="image/gif" />
        <add key="image/jpeg" />
      </excludeTypes>
      <excludePaths>
        <!--<add key="~/DontCompressMe.aspx" />-->
      </excludePaths>
    </CompressorSettings>
  </Miron.web>
  <system.webServer>
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <add name="Telerik.Web.UI.DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" />
      <add name="Telerik.Web.UI.DialogHandler.aspx_*" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
      <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
      <add name="JsHandler" verb="*" path="jslib.axd" type="Miron.Web.MbCompression.JavaScriptCompressionHandler, MbCompression" preCondition="integratedMode" />
      <add name="CssHandler" verb="*" path="css.axd" type="Miron.Web.MbCompression.CssCompressionHandler, MbCompression" preCondition="integratedMode" />
      <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" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
      
    </handlers>
    <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" />
    </modules>
  </system.webServer>
  <system.codedom>
    <compilers>
      <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
        <providerOption name="CompilerVersion" value="v3.5" />
        <providerOption name="WarnAsError" value="false" />
      </compiler>
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
        <providerOption name="CompilerVersion" value="v3.5" />
        <providerOption name="OptionInfer" value="true" />
        <providerOption name="WarnAsError" value="false" />
      </compiler>
    </compilers>
  </system.codedom>
  <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>
-------------------------------------------------------------------------------------------------------------------------------------------------
Rad Editor

<telerik:RadScriptManager ID="ScripttxtContent" runat="server" EnableScriptCombine="False" />
                                    <telerik:RadEditor ID="txtContent" runat="server" Width="100%" Skin="Telerik" EnableResize="False"
                                        ToolsFile="~/admin/Rad-Editor/Tools.xml" ExternalDialogsPath="~/RadControls/Editor/EditorDialogs"
                                        ToolbarMode="Default" StripFormattingOnPaste="MSWordNoFonts" ContentFilters="None"
                                        AllowScripts="True" ImageManager-MaxUploadFileSize="20971520" DocumentManager-MaxUploadFileSize="20971520"
                                        FlashManager-MaxUploadFileSize="20971520" MediaManager-MaxUploadFileSize="20971520"
                                        EnableTheming="False">
                                    </telerik:RadEditor>
-----------------------------------------------------------------------------------------------------
Bahar
Top achievements
Rank 1
 answered on 05 Nov 2011
1 answer
84 views
How do you set the a column's headertext equal to a value from a row in the grid's datasource? Any row is fine, because the column I want the data from has the same value in every single row that gets returned. i.e. Here are some columns in the sqldatasource:
Employee  R1_Assigned  R1_ClientName  R2_Assigned  R2_ClientName ...
Dave      Yes          ABC Foods       No          Coca Cola  
Bill      No           ABC Foods       Yes         Coca Cola  
John      Yes          ABC Foods       No          Coca Cola

My sqldatasource returns a variable number of columns, usually around 50-60 or so clients. So I build them dynamically and might have R50_ClientName for example. It's kind of like a cross tab query. Employees are each row. The varaible # of columns represent active clients and whether or not that employee works for that client. So I want the header of those 50 columns to be the real name of the client. "ABC Foods" is the text I want which is in column R1_ClientName, I do not want "R1_Assigned" which is the name of the data field that the column is bound to. Here is how I build them:
protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        GridBoundColumn boundColumn;
        boundColumn = new GridBoundColumn();
        this.RadGrid1.MasterTableView.Columns.Add(boundColumn);               
        boundColumn.DataField = "R1_Assigned";
        boundColumn.HeaderText = ??? // I want to set this equal to value from column: R1_ClientName


Jayesh Goyani
Top achievements
Rank 2
 answered on 05 Nov 2011
2 answers
95 views
Hi
I want to get the destination zone of a dock after it's movement on client side,
I use [OnClientDragEnd(sender,arg)] event and try to use [sender.get_dockZoneID()] to get the destination zoneID but I get the source zoneID of the dock before it's drag.
How can I get the destination zoneID ?

Thank you very much for your feedback.


this is the sample code that I use :


<telerik:RadScriptBlock ID="asdaSD" runat="server">
        <script type="text/javascript">
            function drag_end(sender, eventArgs) {
                alert(sender.get_dockZoneID());
                
            }

            
        </script>
        </telerik:RadScriptBlock>
    <telerik:RadDockLayout ID="RadDockLayout1" runat="server">
    <table>
            <tr>
                <td style="vertical-align: top">
                zone 1
                    <telerik:RadDockZone ID="RadDockZone1" runat="server" Orientation="Vertical" Width="250px"
                        MinHeight="400px">
                        <telerik:RadDock ID="RadDock1" runat="server" Title="Blogs" Width="250px" EnableAnimation="true"
                            EnableRoundedCorners="true" Resizable="true" OnClientDragEnd="drag_end">
                            <ContentTemplate>
                                <asp:Label ID="Label1" runat="server" Text="dock1"></asp:Label>
                            </ContentTemplate>
                        </telerik:RadDock>
                    </telerik:RadDockZone>
                </td>
                <td style="vertical-align: top">
                zone 2
                    <telerik:RadDockZone ID="RadDockZone2" runat="server" Orientation="Vertical" Width="560px"
                        MinHeight="400px">
                        <telerik:RadDock ID="RadDock2" runat="server" Title="News" Width="250px" EnableAnimation="true"
                            EnableRoundedCorners="true" Resizable="true">
                            <ContentTemplate>
                                <asp:Label ID="Label2" runat="server" Text="dock2"></asp:Label>
                            </ContentTemplate>
                        </telerik:RadDock>
                    </telerik:RadDockZone>
                </td>
            </tr>
        </table>
    </telerik:RadDockLayout>
reza
Top achievements
Rank 1
 answered on 05 Nov 2011
3 answers
78 views
Hi there...

The controls are RadGrid, RadButton, RadPanelBar, RadTextBox, RadComboBox, RadDatePicker using the Hay and Web20 skins.

I have 3 images in RadRotator but it's show just one image.

Please note the difference between developping and published... 

The site is running on Windows Webserver 2008 R2 SP1 with IIS 7.5

I'm using the product version 2011.2.920.35

Could help me guys?   I would be very grateful!...

Thanks
Marcos Perez
Top achievements
Rank 1
 answered on 05 Nov 2011
3 answers
77 views
Hello everyone, I really need help. I'm trying to fire up the edit mode after an item is added after a click event.
Is there a way to do this ?

I've been searching and all I see is to default the edit mode on initial load.
Please help

Thanks
aj
Top achievements
Rank 1
 answered on 04 Nov 2011
5 answers
1.6K+ views
Hi All,

I have a RadGrid that you can edit and add a new record in. when I click on Edit, it show the edit form and works fine, and when I click on Add new record it also works fine because I added this code in the commandItem of the grid:
    Protected Sub rgResidentAdmin_ItemCommand(ByVal source As ObjectByVal e As Telerik.WebControls.GridCommandEventArgs) Handles rgResidentAdmin.ItemCommand  
        If (e.CommandName = RadGrid.InitInsertCommandName) Then 
            e.Canceled = True 
            Dim newValues As System.Collections.Specialized.ListDictionary = New System.Collections.Specialized.ListDictionary()  
            newValues("ResIndic") = "1" 
            e.Item.OwnerTableView.InsertItem(newValues)  
        End If 
    End Sub 
Now if I click on Add new record and without clicking on Insert or Cancle then click on edit for one of the other record, it give me this error: Conversion from type 'DBNull' to type 'Boolean' is not valid.
That is because I have a checkbox in the EditItemTemplate:
                          <radG:GridTemplateColumn DataField="ResIndic" HeaderText="Active" UniqueName="ResIndic" AllowFiltering="False">  
                                <ItemTemplate> 
                                    <asp:CheckBox ID="cbResIndic" runat="server" Enabled="false" /> 
                                </ItemTemplate> 
                                <EditItemTemplate> 
                                    <asp:CheckBox ID="ResIndicCB" runat="server" Checked='<%# Bind("ResIndic")%>' /> 
                                </EditItemTemplate> 
                          </radG:GridTemplateColumn> 
Is there a way to fix this by adding a line of code or a way around it by disabling the user to click edit when Add new record button is clicked(inserting a new record)?

Thank you in advance
Shehab
Steve Boulanger
Top achievements
Rank 1
 answered on 04 Nov 2011
4 answers
178 views
Hi,

I am trying to customize the CSS classes availalble on both the Image Properties Dialog and the Hyperlink Manager.
I've tried following the instructions here:
http://www.telerik.com/help/aspnet-ajax/editor-css-styles.html


By adding:
<CssClasses>
       
<telerik:EditorCssClass Name="Clear Class" Value="" />
       
<telerik:EditorCssClass Name="link" Value="a.link" />
       
<telerik:EditorCssClass Name="img" Value=".img" />
       
<telerik:EditorCssClass Name="redtext" Value=".redtext" />
   
</CssClasses>

But the only CSS class is the built in "Clear Class". I've tried adding via the tools file, external css file, and using the .Add Method. 
No luck with any. 
Any help would be appreciated.
Craig Tarr
Top achievements
Rank 2
 answered on 04 Nov 2011
1 answer
112 views
The new ConvertInlineStylesToAttributes property is causing trouble with the alignment tools. You can see this in the content filter demo.

Modify the filters to apply ConvertInlineStylesToAttributes. Then center the paragraph below the header. Switch to html and back to design - the centering is gone. Without the filter, it works properly.

Testedd in IE 8
Rumen
Telerik team
 answered on 04 Nov 2011
7 answers
243 views
I use one RadScriptManager as a user control with my menu. Everything has worked fine for weeks. Suddenly I am getting the following error all over the place.

Server Error in '/' Application.
--------------------------------------------------------------------------------
  
Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. 
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.ArgumentException: Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
  
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: 
  
  
[ArgumentException: Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.]
   System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) +8627289
   System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +72
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +35
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
  
   
  
  
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618

This is occuring ever ytime  I am updating a record across multiple RadGrids. If I put error trapping within the procedures I won't get this message. The data is being inserted and updated properly but the web app is failing afterwards. the weird part is that it runs fine on my machine but suddenly when published to another web it fails.

Is there some property that might have inadvertantly gotten changed? I haven't touched it, but it sure seems strange.
Simon
Telerik team
 answered on 04 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?