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

Can anyone tell me what version number of the

Web.UI and Web.UI.Skins was the earliest release for the RadImageGallery. I have run into a problem where I could not get the gallery to work on the current dll versions I have which are 2013.3.1015.45.

Now I updated to 2014.2.724.45 but unfortunately I just discovered now my Gallery works but the rest of my site is broken because the 2014 dll releases for web don't include the Hay skins as these have been made obsolete. So I am stuck both ways. I wondered then if there is an earlier dll release which includes the Hay skin and the Gallery which I could temporarily use until we update out Skins?

Kind regards

Rob
Princy
Top achievements
Rank 2
 answered on 14 Aug 2014
4 answers
312 views
Hi Admin,
I have a problem when i want to click each item of images( Image, Tillte Image) on Image Gallery. It will be show the ortherpage, content infomations of Detail Images.
this is my code!
    <telerik:RadImageGallery runat="server" ID="RadImageGallery_Hotnews" Height="350px" Width="600px"        
        DataImageField="NewsImage"  DataTitleField="Title" DataDescriptionField="ShortDesc"  DataKeyNames="NewsId" RenderMode="Auto"   OnNeedDataSource="RadImageGallery_Hotnews_NeedDataSource" Skin="Metro" LoopItems="True">
         <ThumbnailsAreaSettings ScrollOrientation="Horizontal" />
            <ToolbarSettings ShowSlideshowButton="true"   ShowItemsCounter="true"  ItemsCounterFormat="Images {0} of {1}"/>
           <ThumbnailsAreaSettings ThumbnailWidth="120px" ThumbnailHeight="80px" Height="80px" />
            <ImageAreaSettings Height="300px" />
<ClientSettings>
    <AnimationSettings SlideshowSlideDuration="4000">
    </AnimationSettings>
</ClientSettings>
   </telerik:RadImageGallery>
---------------------
Datasoure

---------
 protected void RadImageGallery_Hotnews_NeedDataSource(object sender, ImageGalleryNeedDataSourceEventArgs e)
        {
            DataView dw = new DataView( GetData_HotNews());
            RadImageGallery_Hotnews.DataSource = dw;
        }
------------
Can you show me which method to solve this problem?
Thanks!



Shinu
Top achievements
Rank 2
 answered on 14 Aug 2014
1 answer
154 views
Hello

This seems pretty unique concept but hopefully not.

I have a RadGrid displaying shopping cart items. I have a RadComboBox with other services that a user can select to add to the shopping cart such as expedited shipping. What I want to accomplish is, once the selection has been made from the RadComboBox and the item has added to the shopping cart, I would like that item in the RadComboBox to be hidden or removed from selection. The idea is to not allow the same item to be added again.

I s this possible? Is there a better way to handle this?
Shinu
Top achievements
Rank 2
 answered on 14 Aug 2014
1 answer
227 views
Ok, something strange just happened and im not sure if it was something I changed or not.
Its as though nothing is responding to clicks.

I have a treeview with a clientside handler that invokes an ajax request which in turn updates an ajaxpanel.  The panel contains a radtabstrip and a few pages.
Everything was working fine a few minutes ago until I started testing out using RadWindow, but Ive since removed it and the issue persists.  Could something be cached with an AJAX request?  I cleared my browser cache.

So, as a test, I added a RadButton, added a serverside click event to it to see if a breakpoint would get it.  It does, so it seems its just the items ive added.
the solution builds ok, pulls up in the designer ok, and I cant really see any formatting issues in the markup.

What would cause, for example,  my RadTreeview to suddenly not hit a breakpoint in a clientside event handler?
BitShift
Top achievements
Rank 1
Veteran
 answered on 13 Aug 2014
5 answers
248 views
Hi

I am using RADtooltipManager in Hierarchical  RADGrid, I am adding RadGrid column values(client IDs) as targetControld for Tooltip Manager in Grid's ItemDataBound Event and in AjaxUpdate event am loading a usercontrol into the update panel. so, when I mouse over to any item in the grid am getting a tooltip for that element. But when I click on expand button on  my radgrid to show data in child grid,I found that on submit of the page its not calling ItemDataBound event of the grid where I am adding targetcontrols to Tooltip manager.

Any help is appreciated!

Thanks
Atul

Rory
Top achievements
Rank 1
 answered on 13 Aug 2014
3 answers
378 views
Hello,

I have a RadGrid which I have set OnRowSelected event under ClientEvents to call a JS function.  This works on my local machine, but when I deploy to web server it is not working.  Any ideas why????  My code is below.

Thanks,

Brad



<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="home.aspx.cs" Inherits="Test.home" %>

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

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0" />
    <title></title>

    <script src="Scripts/jquery-1.8.2.js"></script>

    <script type="text/javascript">
        function RowSelected(sender, eventArgs) {
            alert('hello');
            var grid = sender;
            var MasterTable = grid.get_masterTableView();
            var row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
            var cell = MasterTable.getCellByColumnUniqueName(row, "RecordID");
           
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true"></asp:ScriptManager>
        <div class="SearchResultsDiv">
            <asp:Label Text="Search Results" runat="server" CssClass="SearchResultsHeader"></asp:Label><asp:Label Text="(Click to view)" runat="server"></asp:Label>
                <telerik:RadGrid ID="rgrdSearchResults" runat="server" AllowPaging="True" CssClass="RadGridMargin" BorderColor="Black" OnPreRender="rgrdSearchResults_PreRender">
                    <ClientSettings>
                        <Selecting AllowRowSelect="True" />
                        <ClientEvents OnRowSelected="RowSelected" />
                    </ClientSettings>
                </telerik:RadGrid>
        </div>
    </form>
</body>
</html>
Brad
Top achievements
Rank 1
 answered on 13 Aug 2014
1 answer
166 views
hello 

How to fire Radgrid Selectedindexchange event  on Arrow  Up/down keys press click event

I want to assign Radgrid cells value to  corresponding textboxex on up/dpwn arrow keys press


thanks


Eyup
Telerik team
 answered on 13 Aug 2014
3 answers
340 views
Hi! I've been trying to use RadUpload.Net2 using a simple .aspx page, but i'm getting a null reference for the next line of code

UploadedFile file = RadUploadContext.Current.UploadedFiles[File1.UniqueID];
whne using the following controls:
<input id="File1" type="file" runat="server" />
<asp:Button ID="Button1" runat="server" Text="Button" Enabled="true" OnClick="Button1_Click"/>
<radUpload:RadProgressManager runat="server" ID="Radprogressmanager"/>
<radUpload:RadProgressArea ID="RadProgressArea1" runat="server" />
I'm using IIS 7.5 with the DefaultAppPool , .Net 4.0 Integrated. The WebConfig is as follows:
<configuration>
  <appSettings>
    <add key="Telerik.WebControls.RadControlsDir" value="~/Resources/RadControls/" />
    <add key="Telerik.WebControls.RadUpload.TempFolder" value="D:\Projects\ODW\Temp\Upload" />
  </appSettings>
  <system.web>
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="RadUpload.Net2, Version=2.4.1.0, Culture=neutral, PublicKeyToken=B4E93C26A31A21F0" />
        <add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
      </assemblies>
    </compilation>
    <pages enableEventValidation="false" validateRequest="false" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
    <httpRuntime maxRequestLength="30240" executionTimeout="10" />
    <!--<httpModules>
      <add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2, Version=2.3.0.0, Culture=neutral, PublicKeyToken=b4e93c26a31a21f0" />
    </httpModules>
    <httpHandlers>
      <add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2, Version=2.3.0.0, Culture=neutral, PublicKeyToken=b4e93c26a31a21f0" validate="false" />
    </httpHandlers>-->
    <trace enabled="false" pageOutput="false" requestLimit="40" localOnly="false" />
    <authorization>
        <allow users="*" />
    </authorization>
    <trust level="Full" />
  </system.web>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2, Version=2.4.1.0, Culture=neutral, PublicKeyToken=b4e93c26a31a21f0" preCondition="integratedMode" />
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2, Version=2.4.1.0, Culture=neutral, PublicKeyToken=b4e93c26a31a21f0" preCondition="integratedMode" />
    </handlers>
    </system.webServer>
</configuration>



The handler is registered in IIS. I've tried it on classic .Net app pools an it's still not working.




Adrian
Top achievements
Rank 1
 answered on 13 Aug 2014
8 answers
312 views
Hello,
I have a RadGrid that has filtering enabled for a DateTime column.
I'm building this in code behind:

GridDateTimeColumn colEffectiveDate = new GridDateTimeColumn();
            radGridViewSearch.MasterTableView.Columns.Add(colEffectiveDate);
            colEffectiveDate.FilterListOptions = GridFilterListOptions.VaryByDataType;
            colEffectiveDate.DataField = "Effective_Date";
            colEffectiveDate.HeaderText = "Effective Date";
            colEffectiveDate.AllowFiltering = true;
            colEffectiveDate.AutoPostBackOnFilter = false;
            colEffectiveDate.FilterControlWidth = Unit.Pixel(200);
            colEffectiveDate.HeaderStyle.Width = Unit.Pixel(200);
            colEffectiveDate.DataFormatString = "{0:d}";


The problem is that the filter icon keeps gettign placed below the date time picker:(see attached image)


as you can see by the code I've tried to set the widths several times but have not been successful.
Each time I set the width, the Textbox in the column filter just gets wider.

Any ideas how
Eyup
Telerik team
 answered on 13 Aug 2014
1 answer
125 views
When any new file is uploaded to sub directory, back button stops working.

The controls takes that sub directory as it's root directory.

Please help.
Vessy
Telerik team
 answered on 13 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?