Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
136 views
Hi,

I am using RadTooltipManager and getting this error. This works perfect when I hover my mouse two times on an image but when I try to hover it on third time it gives me the following error. Any help would be greatly appreciate.

Thanks


RadToolTipManager response error: Exception=Sys.WebForms.PageRequestManagerServerErrorException: 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.



Protected Sub rttm_AjaxUpdate(ByVal sender As Object, ByVal e As ToolTipUpdateEventArgs)
        
       If e.TargetControlID.Contains("imgRotator") Then
           If IsNumeric(e.Value) Then
               
           End If
       End If
        
   End Sub
 
Protected Sub radRotator_ItemDataBound(ByVal sender As Object, ByVal e As RadRotatorEventArgs) Handles radRotator.ItemDataBound
        
       Dim hidLogisticProductKey As HiddenField = e.Item.FindControl("hidLogisticProductKey")
       Dim imgRotator As System.Web.UI.WebControls.Image = e.Item.FindControl("imgRotator")
       Dim nProductKey As Integer = Convert.ToInt32(hidLogisticProductKey.Value)       
       rttm.TargetControls.Add(imgRotator.ClientID, nProductKey, True)
        
   End Sub
 
<telerik:RadToolTipManager ID="rttm" Skin="Windows7" RelativeTo="Element" ShowEvent="OnMouseOver" Width="100" Height="100"
                                   Position="TopRight" OnAjaxUpdate="rttm_AjaxUpdate" ViewStateMode="Disabled" runat="server">
                               </telerik:RadToolTipManager>
                               <asp:Label ID="lblProductDescriptionTooltip" ViewStateMode="Disabled" runat="server"></asp:Label>
                               <telerik:RadRotator ID="radRotator" Width="500" ScrollDirection="Right" RotatorType="AutomaticAdvance"
                                   ScrollDuration="1000" FrameDuration="500" runat="server" Height="100px">
                                   <ItemTemplate>
                                       <div>
                                           <asp:Image ID="imgRotator" runat="server" ImageAlign="Middle" Style="margin: 2px"
                                               ImageUrl='<%# GetImage(Container.DataItem) %>' Height="100px" Width="100px" />
                                           <asp:HiddenField ID="hidLogisticProductKey" Value='<%# Bind("LogisticProductKey") %>'
                                               runat="server" />
                                       </div>
                                   </ItemTemplate>
                               </telerik:RadRotator>
Marin Bratanov
Telerik team
 answered on 30 Aug 2012
1 answer
150 views
The chart animation looks great.

Is it possible for a chart image to be copied from a web page to another application (e.g. MS Excel or Word)? I tried copying one and pasting it into an Excel document, but it was empty. I tried both Paste and Paste Special.

Can both a top and bottom title be included?

Is it possible to add other annotations to the chart? For instance, a copyright symbol in the bottom left corner or a N value in the bottom right (e.g. something like "n=124 clients").

Can images (e.g. company logo) be placed somewhere on the chart?

Thanks...
Marin Bratanov
Telerik team
 answered on 30 Aug 2012
1 answer
62 views
Hello, I've been testing out the RadChart from RadControls for ASP.NET AJAX and I can't get teh OnClick event to fire when I use the chart in an MVC application. It works fine for a non MVC application. In the MVC application all other event seem to work fine (Init, Load, DataBound,etc). There are a couple of extra steps to get the chart to work on an MVC view which I have followed. The chart displays fine, and I can add the OnCLick with the designer, but when I click on the chart, there is a post back, but the event handler doesn't execute.
I'm using version 2012.2.815.40 on Windows 7 64 bit with Visual Studio 2010.

To Reproduce this, I just made a brand new ASP.NET MVC 2 template application with a test project.
- I added this to the Webconfig:
under <system.web>
      <httpHandlers>
        <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
        <add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" validate="false" />
      </httpHandlers>
and

 

 <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules runAllManagedModulesForAllRequests="true"/>
    <handlers accessPolicy="Read, Script">
      <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"/>
      <add name="ChartHandler" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI" />
    </handlers>
  </system.webServer>

I updated the Global.asax.cs as follows:

  public static void RegisterRoutes(RouteCollection routes)
  {
   routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
   routes.IgnoreRoute("{controller}/{resource}.axd/{*pathInfo}"); // This is new
   routes.IgnoreRoute("{controller}/{action}/{resource}.axd/{*pathInfo}"); // This is new

   routes.MapRoute(
    "Default", // Route name
    "{controller}/{action}/{id}", // URL with parameters
    new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
   );

  }

Then I added a RadChart to the About view and bound it to an XML data file containing:

<?xml version="1.0" encoding="utf-8" ?>
<people>
   <person name="Brown, William" all="20" some="50" few="25" notassessed="5"  />
  <person name="Edwards, Kimberly" all="30" some="45" few="20" notassessed="5"  />
  <person name="Evans, Sarah" all="80" some="10" few="5" notassessed="5"  />
  <person name="King, Elizabeth" all="25" some="35" few="35" notassessed="5"  />
  <person name="White, Mark" all="50" some="20" few="10" notassessed="20"  />

</people>

Then I added the click hander and DataBound handler to the chart.

Then when I run the application and show the About view, The chart shows, but the click handler is not called, but other event handlers are called.

Any help would be appreciated,Thanks,
Kelly.



Ves
Telerik team
 answered on 30 Aug 2012
4 answers
343 views

I  have a stack column in RadGrid (shown in below image) and I want to apply sorting on the both fields of that column. For the sorting these columns  I had applied my own logic and I could sort the columns but I am not able to apply color on column header and the ascending descending image which comes when we use default sorting of RadGrid.

Please tell me how to apply color and image to that column while sorting and when we sort with this stack column then the column, which we had sorted previously should get the default column header style.

Or Is there any alternative to sort the stack columns?

Please reply ASAP.

Galin
Telerik team
 answered on 30 Aug 2012
3 answers
155 views
I have a grid, bound declaratively to a PageMethod web service, using LINQ filtering with System.Linq.Dynamic.
Some of my settings are as follows:

<GroupingSettings CaseSensitive="false" />
<ClientSettings>
<DataBinding SelectMethod="GetAllOffices" Location="UserDetails.aspx" EnableCaching="true" FilterParameterType="Linq" />
<Selecting AllowRowSelect="true" UseClientSelectColumnOnly="true" />
</ClientSettings>
<MasterTableView>

I understand that <GroupingSettings> should be used for case-insensitive filtering, but that is not holding true when using client-side LINQ binding.  Fiddler shows the dynamic LINQ statement being returned to server, as JSON, to be:  "filterExpression":"OfficeName.Contains(\"name\") AND OfficeCode.Contains(\"c\")".

How do you get case-insensitivity when using a LINQ filter, bound declaratively, to a web service?

Thank you,
Kevin Kalitowski 
The Oracle
Top achievements
Rank 1
 answered on 30 Aug 2012
1 answer
65 views
hii,
I have a rad tree list with client select column,I tried to select the raw but select command is not firing on selecting the raw using client select column.
can you help me?

regards
Pavlina
Telerik team
 answered on 30 Aug 2012
1 answer
124 views
I have a form with a splitter and 3 panes on it. The first pane loads another page, using contenturl. This child page has a splitter and two more panes.  One of these panes has a radpanelbar in it.  I want to set the contenturl of the 2nd pane in the parent page when the user clicks on an item in the panelbar of the child page.


Let me know if what I'm asking isn't clear enough.

Thanks for the help!
Vessy
Telerik team
 answered on 30 Aug 2012
1 answer
56 views

Hi,

We were using Telerik Controls of version 2008.2.1001.35 earlier.  Now, we are using Telerik Controls of version 2012.1.215.35. 

Our TFS build engine server is in IST timezone and our deployment server is in CST timezone.

When we had a build with 2012 version Telerik Controls, Telerik dlls modified date and time will be 1:00PM. 
If we deploy this build to our deployment server which is of CST timezone (2:30AM), then we were getting awkward user interface for the deployed application.
Earlier, we were not getting awkward user interface by previous version (2008.2.1001.35) for this time difference. 

Please clarify.

Dobromir
Telerik team
 answered on 30 Aug 2012
1 answer
124 views
Hi,

We have an issue with the latest Telerik DLLs version 2012.1.215.35 when deploying a generated build on a server situated in a past time zone.  For example, our TFS build engine server is in IST Timezone and our deployment server is in Eastern Timezone.  The last modified date and time will be Aug 28 1:00 PM.  If these DLLs are deployed on our deployment server which is Aug 28 2:30 AM then we are experiencing a user interface issue (see attached screenshot).

Previously, this issue did not occur for the previous Telerik version 2008.2.1001.35 for the same scenario.

Would you kindly clarify why this problem is occuring?

Thanks,

Andre
Dobromir
Telerik team
 answered on 30 Aug 2012
6 answers
242 views

Team,

I have added attribute to RadDatePicker control while dynamically creating it.
This attribute contains the date time of the control creation(DateTime.Now.ToString()).
I have retrieved attribute value from in client side.
But I am not able to set Raddatepickers value to that attribute value in client side .
Please let me know  how I can achieve this task?

Any help will be appreciable. 

Regards,
Sampada 


Eyup
Telerik team
 answered on 30 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?