Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
172 views
Hi, I would like to know if the Telerik button support touch event?

I am trying to make an image button that I can use both with the mouse click and the touch end events.
The mouse click works well, but for the touch end I have no luck so far.

Help would be very welcomed.

this is what I have so far:

<telerik:RadButton
    ID="RadButton2"
    runat="server"
    Width="32px"
    Height="32px"
    ToolTip="Home"
    style="cursor: pointer;"
    OnClientClicking="OnClientClicking"
    Text=""
    Enabled="true">
    <Image ImageUrl="Images/Home-icon.png"/>
</telerik:RadButton>


Danail Vasilev
Telerik team
 answered on 12 Dec 2014
2 answers
125 views
Good afternoon,

I have a RadGrid with column resizing enabled. All my columns have w fixed width. I'd like to resize the far right (last) column to expand it however it will not expand beyond the width of the RadGrid. What I'd like is something similar to the way the KendoUI works at this URL 

http://demos.telerik.com/kendo-ui/grid/column-resizing

where the last column named ID can be expanding by dragging to the right outside the grid.

Has anyone been able to get this to work with a RadGrid in ASP.NET AJAX?

Thanks
Venelin
Telerik team
 answered on 12 Dec 2014
1 answer
260 views
We have a custom control we've created for lookups using RadComboBox.  The RadComboBox portion of the custom control is created dynamically in code.

In our web page, we have a RadWindow, containing an instance of this custom control.  If you enter text in the RadComboBox, it pops up the RadComboBox's DropDownList.  If, while this DropDownList is displayed, you close or cancel out of the parent RadWindow, the RadComboBox's DropDownList remains displayed until the user clicks elsewhere on the page.

I've read that to get around this, you would attach a BeforeClose or Close Client-side Event Handler to the RadWindow, with the following code.

var control = $find("<%=RadComboBox.ClientID%>");
control.hideDropDown();

However, $find() is always returning null.  I've even tried hard coding the ID of the RadComboBox into the $find method.  I thought I'd read somewhere that if you are creating telerik controls dynamically in this fashion, then $find will not work.  Is this true?  If so, what is the work around?

I've tried variations of jQuery/javascript with show(), hide(), visibile = true/false without much luck.  The end result of those trials usually resulted in the DropDownList failing to return, or when it did, it displayed in a different part of the screen, or retained it's previous values after the RadWindow was closed/reopened.
Peter Filipov
Telerik team
 answered on 12 Dec 2014
2 answers
290 views
 I used the RadScheduler and I create the HeaderDateFormat in WeekView. Its show the format like "This Week (MM/dd) - This Week (MM/dd)"  but I want the format like
"This Week (MM/dd-MM/dd)". I send the screen shot. I want the header date format according to SB-RadSheduler.png screen shot.

Sangeeta
Top achievements
Rank 1
 answered on 12 Dec 2014
2 answers
183 views
Hi.

I´m working on a rad pivot grid but shomething strange it´s hapening. The Grid is updating well if i drag and drop fields, etc, but it´s failing at filtering. If i try to collapse a row or change a filter, then the Grid simply does not update.

It´s no problema with data, i use the same method and data in others grids and they are working perfectly. 

Any suggestion??

<telerik:RadPivotGrid ID="JiraPivotGrid" runat="server" Width="100%" Height="100%"
    AllowPaging="true" AllowSorting="true"
    EnableConfigurationPanel="True" EnableZoneContextMenu="True"
    OnPivotGridCellExporting="JiraPivotGrid_PivotGridCellExporting"
    OnCellDataBound="JiraPivotGrid_CellDataBound"
    OnNeedDataSource="JiraPivotGrid_NeedDataSource"
    OnFieldCreated="JiraPivotGrid_FieldCreated"
    >
 
    <PagerStyle AlwaysVisible="true" Position="Bottom" Mode="NextPrevAndNumeric" />
 
    <ClientSettings EnableFieldsDragDrop="true">
        <Scrolling AllowVerticalScroll="true"></Scrolling>
    </ClientSettings>
 
    <RowHeaderCellStyle BackColor="GradientInactiveCaption"></RowHeaderCellStyle>
 
    <ColumnHeaderCellStyle BackColor="GradientInactiveCaption"></ColumnHeaderCellStyle>
 
    <ExportSettings IgnorePaging="true" OpenInNewWindow="true" FileName="JiraReport" />
 
     <Fields>
         
        <telerik:PivotGridRowField  DataField="Area" UniqueName="Area" Caption="Area" />
        <telerik:PivotGridRowField  DataField="Responsable" UniqueName="Reponsable" Caption="Responsable" />
        <telerik:PivotGridColumnField  DataField="Mes_cierre" UniqueName="Mes_cierre" Caption="Mes cierre" />
 
            <telerik:PivotGridAggregateField DataField="Horas_Totales" UniqueName="Horas_incurridas" Caption="Horas incurridas" />
        <telerik:PivotGridAggregateField DataField="Horas_certificadas" UniqueName="Horas_certificadas" Caption="Horas certificadas" />
 
    <telerik:PivotGridReportFilterField DataField="Anyo_cierre" UniqueName="Anyo_cierre" Caption="Anyo_cierre" />
 
 
    </Fields>
 
</telerik:RadPivotGrid>
Guillermo
Top achievements
Rank 1
 answered on 12 Dec 2014
1 answer
119 views
Hi,

Is there an easy way to add a drop down button to this control?  I'd like to have it look like a standard rad combo box but with the ability to function as normally. In certain situations the user may need to see a list prior to selection and having to type a letter to trigger the drop down can be counter productive.

Regards

Jon
Boyan Dimitrov
Telerik team
 answered on 12 Dec 2014
1 answer
137 views
Hello,

 I'm facing some issue with the RadEditor Font Size.

When we select the font size as 72pt and type something and  it carriage return (enter key) then the font size is set to 12pt  and if you type something it is not persisting the original font which we selected initially.

Could you please provide any fix or  workaround for the same.

I did observe the same behaviour in my version of (2013.2.717.35) and also same thing the latest version as well(by running the demo)

Note: In latest version it is replicating in the Chrome browser.

Please find the attached screenshots of current using version(2013.2.717.35) in my development env and latest version.

Thanks
Kesava Pindi 
Ianko
Telerik team
 answered on 12 Dec 2014
16 answers
524 views
Hi,
Is it possible to handle the default close button on the dock controls toolbar on the server-side?
Regards
Gareth
Slav
Telerik team
 answered on 12 Dec 2014
1 answer
237 views
I have a scaffolding page with RadEditor user control. It does work 4 month age with a old version but after updating i get "Telerik is not defined" when this UC is open.

<configuration>
  <configSections>
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <sectionGroup name="system.web">
      <section name="sanitizer" requirePermission="false" type="AjaxControlToolkit.Sanitizer.ProviderSanitizerSection, AjaxControlToolkit" />
    </sectionGroup>
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
  </configSections>
  <appSettings>
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
  </appSettings>
  <system.web>
    <authentication mode="Forms">
      <forms loginUrl="~/Account/Login.aspx" name=".ASPXFORMSAUTH" protection="All" path="/" timeout="2880" />
    </authentication>
    <authorization>
      <deny users="?" />
    </authorization>
    <compilation targetFramework="4.5" debug="true">
      <assemblies>
        <add assembly="System.Web.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        <add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </assemblies>
      <buildProviders>
        <add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider" />
      </buildProviders>
    </compilation>
    <membership defaultProvider="CustomizedProvider">
    </membership>
    <httpRuntime executionTimeout="420" targetFramework="4.5" maxRequestLength="10000" />
    <pages styleSheetTheme="" theme="" controlRenderingCompatibilityVersion="4.0" maintainScrollPositionOnPostBack="true">
      <controls>
        <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
      </controls>
    </pages>
    <webParts>
      <personalization>
        <providers>
          <remove name="AspNetSqlPersonalizationProvider" />
          <add connectionStringName="" name="AspNetSqlPersonalizationProvider" type="System.Web.UI.WebControls.WebParts.SqlPersonalizationProvider" applicationName="/" />
        </providers>
        <authorization>
          <deny users="*" verbs="enterSharedScope" />
          <allow users="*" verbs="modifyState" />
        </authorization>
      </personalization>
    </webParts>
    <machineKey />
    <customErrors mode="Off" />
    <anonymousIdentification enabled="true" />
    <profile>
      <properties>
        <add name="LastClientUsed" type="System.String" allowAnonymous="true" />
      </properties>
    </profile>
    <sanitizer defaultProvider="HtmlAgilityPackSanitizerProvider">
      <providers>
        <add name="HtmlAgilityPackSanitizerProvider" type="AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider" />
      </providers>
    </sanitizer>
    <httpHandlers>
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
    </httpHandlers>
    <httpModules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
    </httpModules>
    <sessionState mode="StateServer" timeout="90" stateConnectionString="" stateNetworkTimeout="50" />
    <webServices>
      <protocols>
        <add name="HttpSoap" />
        <add name="HttpPost" />
        <add name="HttpGet" />
      </protocols>
    </webServices>
    <healthMonitoring enabled="true">
      <rules>
        <add provider="EmailProvider" name="All App Events" eventName="All Errors" />
      </rules>
    </healthMonitoring>
  </system.web>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="RadUploadModule" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <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=" />
      <remove name="Telerik_Web_UI_DialogHandler_aspx" />
      <remove name="Telerik_Web_UI_WebResource_axd" />
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
      <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"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2014.3.1024.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
    </handlers>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="" />
      </requestFiltering>
    </security>
  </system.webServer>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v11.0" />
      </parameters>
    </defaultConnectionFactory>
  </entityFramework>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="HtmlAgilityPack" publicKeyToken="bd319b19eaf3b43a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.4.6.0" newVersion="1.4.6.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Common.Logging" publicKeyToken="af08829b84f0328e" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2.2.0.0" newVersion="2.2.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.WindowsAzure.Storage" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2.1.0.3" newVersion="2.1.0.3" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>


I have tried so meny way to fix it but it doesn't work now.
Ianko
Telerik team
 answered on 12 Dec 2014
1 answer
191 views
Setting the ImageURL, then I get an error  "0x800a139e - JavaScript runtime error: SecurityError"

On this line,
this._initialStateData=e.getImageData(0,0,this.get_width(),this.get_height());

Coming out of ScriptResource.axd.


If I select to continue when the error is thrown it will display the image.  But it throws the error again when I try to do anything like alter the brightness for instance.
Vessy
Telerik team
 answered on 12 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?