Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 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
213 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
211 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
361 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
151 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
318 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
271 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
116 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
1 answer
232 views
hello, 
is it possible to hide an empty row or column ?
Eyup
Telerik team
 answered on 13 Aug 2014
6 answers
153 views
Hi

We use visual studio 2008 with Telerik 2012 Q2. We are facing few minor issues with Masked Text Box. This happens only in IE. 

Masked Text Box


when we enter first letter in the masked text box. text box is hidden.



when we enter second letter in the masked text box. is shows again.



How to fix this issue? 








Manivannan
Top achievements
Rank 1
 answered on 13 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?