Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
171 views
While researching the client API, I discovered the GridTableView.groupColumn(uniqueName) method.  However, this method only works with a single column.  Calling it a second time overrides the group put in place by the previous call of this method instead of adding another group.  Anyone know of a way to group multiple columns on the client side?

(Same problem with GridTableView.filter and GridTableView.sort -- How do I apply multiple column filters?)
Trevor
Top achievements
Rank 1
 answered on 28 Oct 2010
1 answer
85 views
Hi Telerik,

i am facing an ie 7 issue in drop down radmenu control.
The drop down menu is going back side...
i am attaching a screen shot of my ie 7 issue
Yana
Telerik team
 answered on 28 Oct 2010
4 answers
284 views
Hi, I've been creating a page that utilizes 2 Rad controls. A Rad calendar set up in a multi-month view (CalendarSlider) and a Rad Scheduler (TheScheduler). I've been trying to create an interaction where when clicking on a day in the CalendarSlider will cause TheScheduler to change from a MonthlyView (as it is initialized that way) to a DayView.

So far I have been able to capture the CalendarSlider_SelectionChanged event and retrieve the date the user wishes to navigate to. The problem I'm coming across is when I set the values for TheScheduler to change to a DayView and to navigate to the selected date it does not work.

Normally this isn't something that would be desired as it would be much simpler to pull down the calendar that is already built into the scheduler and change the page, but unfortunately these are my requirements.

Here's what my method is looking like currently:

void CalendarSlider_SelectionChanged(object sender, SelectedDatesEventArgs e)
{
    RadDate selectedDay = e.SelectedDates[0];
    TheScheduler.SelectedDate = selectedDay.Date;
    TheScheduler.SelectedView = SchedulerViewType.DayView;
    RadCalendar radPopupCal = TheScheduler.FindControl("SelectedDateCalendar") as RadCalendar;
    radPopupCal.SelectedDate = selectedDay.Date;
    radPopupCal.ShowOtherMonthsDays = true;
    radPopupCal.FocusedDate = selectedDay.Date;
}


Once the page returns from its postback TheScheduler does not update and I'm not sure why...
Brian King
Top achievements
Rank 1
 answered on 28 Oct 2010
4 answers
119 views
Hello,
In a page, I have one radgrid and one panel for edit form
    <telerik:RadGrid ID="listCompany" runat="server"   AllowMultiRowSelection="false" PagerStyle-AlwaysVisible="true"
        OnItemCreated="RadGrid1_ItemCreated">
        <MasterTableView AutoGenerateColumns="false" DataKeyNames="Id">
            <Columns>
                  ........
            </Columns>
        </MasterTableView>
        <ClientSettings EnableRowHoverStyle="true" />
    </telerik:RadGrid>
 
<asp:Panel ID="editForm" runat="server">
    .......
</asp:Panel>

And my Ajax Setting
protected void Page_Load(object sender, EventArgs e)
{
    RadAjaxManager radAjaxManager = Page.Master.FindControl("radAjaxManager") as RadAjaxManager;
    RadAjaxLoadingPanel radAjaxLoaingPanel = Page.Master.FindControl("radAjaxLoadingPanel") as RadAjaxLoadingPanel;
    radAjaxManager.AjaxSettings.AddAjaxSetting(listCompany, listCompany, radAjaxLoadingPanel);
}
protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
   RadAjaxManager radAjaxManager = Page.Master.FindControl("radAjaxManager") as RadAjaxManager;
   RadAjaxLoadingPanel radAjaxLoaingPanel = Page.Master.FindControl("radAjaxLoadingPanel") as RadAjaxLoadingPanel;
   LinkButton editLink = (LinkButton)e.Item.FindControl("LinkEdit");
   radAjaxManager.AjaxSettings.AddAjaxSetting(editLink , editForm, radAjaxLoadingPanel);
 }


If I click on one row in the grid, the edit form show, everything ok. But if I do sorting then click one row in the grid. The overlay of edit form can't be hidden.

Can anybody help me!
Many many thanks
Thien
Top achievements
Rank 1
 answered on 28 Oct 2010
3 answers
128 views

Folks,

I am using Radgrid Q2 2010 for asp.net ajax and vstudio 2008 sp1.
Using  this example:  hierarchy grid, my question is it how can I put today's date as rundate in mm/dd/yyyy format in each page footer while exporting to PDF. Thanks

gc_0620

Daniel
Telerik team
 answered on 28 Oct 2010
7 answers
398 views

I am using telerik RadGrid inside a user control. When I use the user control inside a normal ASP.NET page, I am able to see the full functionality of the telerik radGrid such as colors, header column click and so on.

 

When I move the code to a web part and deploy on the SharePoint site, I lose all the functionality and formatting. It appears to me that it is not reading any CSS or JavaScript at all.

I have deployed Telerik.Web.UI dll to the GAC. It's version #  2009.3.1103.20
What am I doing wrong?

 

Please help!

Entry at the top of my control.acsx file.

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MyControl1.ascx.cs" Inherits="_controls_MyControl" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

   

<telerik:RadGrid ID="uiSignInGrid" runat="server" AutoGenerateColumns="False" GridLines="None">


 

In my master page for the SharePoint site, I have added links to all desired files.

<link href="/_layouts/global/css/global.css" rel="stylesheet" type="text/css" />

<link href="/_layouts/global/radcontrols/Dock/Dock.MyApp.css" rel="stylesheet" type="text/css" />

<link href="/_layouts/global/radcontrols/Grid/Grid.MyApp.css" rel="stylesheet" type="text/css" />

<link href="/_layouts/global/radcontrols/TabStrip/TabStrip.MyApp.css" rel="stylesheet" type="text/css" />

<link href="/_layouts/global/radcontrols/TabStrip/TabStrip.ViewEdit.css" rel="stylesheet" type="text/css" />

<link href="/_layouts/global/radcontrols/ToolTip/ToolTip.MyApp.css" rel="stylesheet" type="text/css" />

<link href="/_layouts/global/radcontrols/ToolTip/ToolTip.MyApp_RollOver.css" rel="stylesheet" type="text/css" />

 

My web.config for the SharePoint site, contains following entries in their respective places.


Added following entries to <configSections>
<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>
  
  
  
Added following entry to <SafeControls>
<SafeControl Assembly="Telerik.Web.UI, Version=2009.3.1103.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />
  
  
Following entry from httphandler
  
  <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" />
      <remove verb="GET,HEAD,POST" path="*" />
      <add verb="GET,HEAD,POST" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      <add verb="OPTIONS,PROPFIND,PUT,LOCK,UNLOCK,MOVE,COPY,GETLIB,PROPPATCH,MKCOL,DELETE,(GETSOURCE),(HEADSOURCE),(POSTSOURCE)" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
      <add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.3.1103.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"   validate="false"/>
  
        
    </httpHandlers>
  
Added an entry in the httpModules
  
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  
Following is the handler entry
  
<handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <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" />
    </handlers>
  
Added a system.webserver section.
  
<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"/>
    </modules>
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated"/>
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <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" />
    </handlers>
  </system.webServer>

 

Tsvetoslav
Telerik team
 answered on 28 Oct 2010
2 answers
131 views
We have implemented multiple RadComboBox controls in our solution that load items on-demand from web services.  We have marked all of them with EnableVirtualScrolling=true.  Everything is working in terms of the batch load of items when scrolling, however we are noticing strange scrolling behavior when reaching the end of the list of items.  When the vertical scrollbar reaches the last item (all items have been loaded), it jumps back up as if there is more area to scroll.  Thus, it is impossible to scroll to the bottom of the drop-down area.  We have tried setting both Height and MaxHeight properties, but the behavior is the same.  I noticed in the online demos for loadondemand virtual scrolling that the drop-downs indeed scroll to the bottom without issue. 

For some structural context, our combo box controls exist on a nested usercontrol form that is contained within a RadSplitter pane.  There is no custom CSS applied to the comobo boxes themselves.  Here is sample markup for one of our comboboxes:

<telerik:RadComboBox ID="SourceCombo" runat="server"         
      DropDownWidth="175px"           
      EmptyMessage="Select a source"           
      EnableLoadOnDemand="true"
      EnableVirtualScrolling="true"                     
      MaxHeight="200px"           
      OnClientSelectedIndexChanged="ClearSourceFilteredItems"
      ShowMoreResultsBox="true"          
      Width="175px">
 <WebServiceSettings Path="~/ES/LookupMethods.aspx" Method="GetSources" />
</telerik:RadComboBox>

Any suggestions on what we might be doing wrong?

FYI - we are using the latest SP build of the telerik controls, .NET 4.0, VS2010.

Austin
Austin Jones
Top achievements
Rank 1
 answered on 28 Oct 2010
1 answer
185 views
I am trying to use a Telerk RadGrid (RadGrid.Net2, I know its old, its targeted for .NET 2.0, it should still work regarless) control inside a Sandboxed Visual WebPart. In the load
Telerik.WebControls.RadGrid()
I am getting an unable to initialize exception, IO exception in the load 
{"Request for the permission of type 
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, 
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."} <BR>

The sandboxed solutions are also restricted by an out of the box CAS policy, which is very minimal permissions, disk access is NOT one of them. We dont want to change the code access policies, it is NOT possible to put the elevate the trust in web.config to medium/full.
Here are my questions:
Which folder is the RADGrid trying to access here?
Does any of the latest RADGrid controls work in SharePoint with minimal trust?
Tsvetoslav
Telerik team
 answered on 28 Oct 2010
1 answer
152 views
Hi..

As usual once again am struck..

previously i had asked for the navigation buttons in the multi month view calender.. for that you all had given the solution mentioned in below link..

http://www.telerik.com/community/code-library/aspnet-ajax/calendar/how-to-use-raddatepicker-with-multimonthview-calendar.aspx

now i want this type of calendar in rad grid for filter column.. some think like show below.. pls help me with a sample if possible

also i want the funnel image..

  <telerik:GridDateTimeColumn DataField="DocLibItem" UniqueName="DocLibItem" DataFormatString="{0:MM/dd/yyyy hh:mm tt}" HeaderText="Last Updated" >
                        <HeaderStyle Width="170px" />
                        <ItemStyle CssClass="doclibview_item_text" Width="170px" />

  <FilterTemplate >
              
             <telerik:RadDateTimePicker
                            ID="DateTimePicker" runat="server"
                            Skin="Windows7"  
                            Calendar-Visible="false" EnableViewState="true" >
                        </telerik:RadDateTimePicker>


  <telerik:RadCalendar
                            ID="RadCalendar1" runat="server"  DayStyle-Font-Bold="true"
                            CalendarTableStyle-BackColor="AliceBlue"
                            ShowOtherMonthsDays="false" ShowRowHeaders="false"
                            EnableMultiSelect="false" AutoPostBack="true"
                            MultiViewColumns="3" MultiViewRows="1"
                            ClientEvents-OnDateSelected="DateSelected" >
                              <SpecialDays>
                                <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Bisque" />
                              </SpecialDays>
                     </telerik:RadCalendar>

                        </FilterTemplate>

                    </telerik:GridDateTimeColumn>
Marin
Telerik team
 answered on 28 Oct 2010
5 answers
236 views
I'm trying to show a custom window when the user single-clicks an appointment. I put an AdvancedEditTemplate in but it appears below my scheduler (with advancedform-modal set to true) and I would like it to appear in the center of the scheduler. Is this possible? Also how can I show it on single-click rather than double?
Veronica
Telerik team
 answered on 28 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?