Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
82 views
 

Hi,

Need Help in Retrieving Image.
I have a Radgrid populated by a records of file name of image.

images are located in "~/images/"
ex.
----------------
filename
apple.jpg    
Cherry.jpg 
tuna.jpg      
dog.jpg
bottle.jpg
----------------

my Code to populated those filename:

        Dim filePaths() As String = Directory.GetFiles(Server.MapPath("~/images"))
        Dim files As List(Of ListItem) = New List(Of ListItem)
        For Each filePath As String In filePaths
            files.Add(New ListItem(Path.GetFileName(filePath), filePath))
        Next
        Radgri1.DataSource = files
        Radgri1
Radgri1.DataBind()


-----------------------------------------

all i want is When the user click a row in the Radgrid1 it will return the file name and will concatenate with file path location :

Ex.
dim strRowSelected = "Apple.jpg"

Image1.imageurl = "~/images" & strRowSelected

where the "Apple.jpg" is from the user selected row from the Radgrid1

and finally it will display the image to an asp.net image control.

How do i do that?

please help, and kindly refer the the attached file for the scenario










Jayesh Goyani
Top achievements
Rank 2
 answered on 05 Aug 2013
1 answer
76 views
Hi 

   Im having problem with radwindow.

   when i try to open radwindow from mainpage button click its open but the content of the Mainpage overlap with radwindow content.

   if anybody know the solution for this.




Regards

P.Mugil
Danail Vasilev
Telerik team
 answered on 05 Aug 2013
1 answer
345 views
Good Afternoon,

I am currently working on a project at work and we are using the RadGrid to display some hierarchical information. All works fine except for binding to a list that is contained within the primary class. I have the following:

Approver Class:
---------------------

    public class BOC_Approver
    {
        public BOC_Approver()
        {
        }

        public BOC_Approver(Int32 MyApproverID, String MyApproverName)
        {
            ApproverID   = MyApproverID;
            ApproverName = MyApproverName;
        }

        public Int32  ApproverID { get; set; }
        public String ApproverName { get; set; }
    }



Product Class:
-------------------
    public class BOC_Product
    {
        public BOC_Product()
        {
            Approvers = new List<BOC_Approver>();
        }

        public BOC_Product(Int32 MyProductID, String MyName) : this()
        {
            ProductID = MyProductID;
            ProductName = MyName;         
        }

        public Int32              ProductID { get; set; }
        public String             ProductName { get; set; }
        public List<BOC_Approver> Approvers { get; set; }
     }


Rad Grid Setup:
---------------------
  <telerik:RadGrid ID="gridNewHireRequests" runat="server" CssClass="MyGridControl" GridLines="None" AutoGenerateColumns="False"
                             OnNeedDataSource="gridNewHireRequests_NeedDataSource" >                        
        <ClientSettings>
          <Scrolling AllowScroll="True" ScrollHeight="100%" UseStaticHeaders="false" />
        </ClientSettings>
                        
        <MasterTableView DataKeyNames="ProductID" CommandItemDisplay="Top">
            <CommandItemSettings ShowAddNewRecordButton="true" ShowRefreshButton="false" />
                <DetailTables>
                    <telerik:GridTableView DataKeyNames="ProductID" Width="100%" runat="server">
                        <ParentTableRelation>
                            <telerik:GridRelationFields DetailKeyField="ProductID" MasterKeyField="ProductID" />
                        </ParentTableRelation>
                        <Columns>
                          <telerik:GridBoundColumn  DataField="Approvers.ApproverID" HeaderText="Approver ID" UniqueName="ApproverID" />
                          <telerik:GridBoundColumn   DataField="Approvers.ApproverName"  HeaderText="Approver Name"  UniqueName="ApproverName" />
                         </Columns>
                        </telerik:GridTableView>
                    </DetailTables>
                    <Columns>
                        <telerik:GridBoundColumn DataField="ProductID" HeaderText="Product ID" UniqueName="ProductID" />
                        <telerik:GridBoundColumn DataField="ProductName" HeaderText="Product Name" UniqueName="ProductName" />
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>


If the Approvers List in the Product class was just another class I can get this to work no issues, but because the Approvers property in the Product class is a list I am unsure how to get it to bind in the subgrid. At the moment if throws an error with unknown fields of course.

is there a standard way to handle binding if a list that each element contains another list?

Thanks, Any help would be appreciated.

Chris Eisnaugle
Jayesh Goyani
Top achievements
Rank 2
 answered on 05 Aug 2013
7 answers
278 views
I have 3 radgrids. while i click the export button, All the 2 grids should be exported into the single excel file.
first grid should be sheet1, 2nd grid should be in sheet2 accordingly.
Whether this is possible. If this is possible how can we do this.
this is my grid code
<table runat="server" id="GridTable" visible="false" width="100%">
            <tr>
                <td>
                    <div class="pageheadertext">
                        On-Hand
                    </div>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <telerik:RadGrid ID="RadGrid_LotDetailsonHand" runat="server" AllowPaging="True"
                        AllowSorting="True" EnableLinqExpressions="false" Width="90%" AutoGenerateEditColumn="false"
                        AutoGenerateColumns="False" OnPageIndexChanged="RadGrid_LotDetailsonHand_PageIndexChanged"
                        Visible="false" ShowFooter="True">
                        <PagerStyle Mode="NextPrevAndNumeric" />
                        <HeaderStyle BorderStyle="Solid" Font-Bold="true" HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Left" Font-Underline="false" />
                        <AlternatingItemStyle HorizontalAlign="Left" Font-Underline="false" />
                        <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true">
                            <Excel Format="ExcelML" />
                        </ExportSettings>
                        <MasterTableView AllowPaging="true" CommandItemDisplay="Top" AllowMultiColumnSorting="false"
                            ShowGroupFooter="true">
                            <CommandItemSettings ShowExportToExcelButton="true" ShowRefreshButton="false" ShowAddNewRecordButton="false"
                                ShowExportToCsvButton="false" ShowExportToPdfButton="true" ShowExportToWordButton="true" />
                            <PagerStyle Mode="NextPrevAndNumeric" />
                            <Columns>
                                <telerik:GridBoundColumn HeaderText="Warehouse" UniqueName="Warehouse_code" DataField="WAREHOUSE_CODE"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="Location" UniqueName="Locetion_code" DataField="LOCATION_CODE"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridCalculatedColumn HeaderText="Qty" UniqueName="qty" ItemStyle-HorizontalAlign="Right"
                                    DataFields="QTTY, PACKSHORT_DESC" Expression='{0}+ " " +{1}' />
                                <%--  <telerik:GridBoundColumn Aggregate="Sum" HeaderText="Qty" UniqueName="qty" ItemStyle-HorizontalAlign="Right"
                                    DataField="QTTY">
                                    
                                </telerik:GridBoundColumn>--%>
                                <telerik:GridBoundColumn HeaderText="Owner" UniqueName="Owner_Code." DataField="OWNER_CODE"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="Status" UniqueName="Status" DataField="STATUS"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="pageheadertext">
                        Received
                    </div>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <telerik:RadGrid ID="RadGrid_LotDetailsOnRecev" runat="server" AllowPaging="True"
                        AllowSorting="True" EnableLinqExpressions="false" Width="90%" AutoGenerateEditColumn="false"
                        AutoGenerateColumns="False" OnPageIndexChanged="RadGrid_LotDetailsOnRecev_PageIndexChanged"
                        Visible="false">
                        <PagerStyle Mode="NextPrevAndNumeric" />
                        <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true">
                            <Excel Format="ExcelML" />
                        </ExportSettings>
                        <MasterTableView AllowPaging="true" CommandItemDisplay="Top">
                            <CommandItemSettings ShowExportToExcelButton="true" ShowRefreshButton="false" ShowAddNewRecordButton="false"
                                ShowExportToCsvButton="true" ShowExportToPdfButton="true" ShowExportToWordButton="true" />
                            <PagerStyle Mode="NextPrevAndNumeric" />
                            <Columns>
                                <telerik:GridDateTimeColumn DataType="System.DateTime" HeaderText="Date" UniqueName="Date"
                                    ItemStyle-HorizontalAlign="Left" DataField="DATETIME" DataFormatString="<%$Appsettings:dateformat%>">
                                </telerik:GridDateTimeColumn>
                                <telerik:GridTemplateColumn ItemStyle-HorizontalAlign="Left" SortExpression="PO_ORDER_NO"
                                    HeaderText="Order" UniqueName="Order">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lnkOrdNum" runat="server" OnClick="lnkrefNum_Click" ForeColor="DarkBlue"
                                            CommandArgument='<%# DataBinder.Eval (Container.DataItem, "ORDER_NO2") %>' Text='<%# DataBinder.Eval (Container.DataItem, "PO_ORDER_NO") %>'
                                            ValidationGroup='<%# DataBinder.Eval (Container.DataItem, "SRORDER_ID") %>'>
                                        </asp:LinkButton>
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridBoundColumn HeaderText="(Alt Order)" UniqueName="Alt_Order" DataField="ORDER_NO2"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridCalculatedColumn HeaderText="Qty" UniqueName="qty" ItemStyle-HorizontalAlign="Right"
                                    DataFields="QTTY, PACKSHORT_DESC" Expression='{0}+ " " +{1}' />
                                <telerik:GridBoundColumn HeaderText="Owner" UniqueName="Owner_Code." DataField="OWNER_CODE"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="Status" UniqueName="Status" DataField="STATUS"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="Warehouse" UniqueName="Warehouse_code" DataField="WAREHOUSE_CODE"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="Source" UniqueName="source" ItemStyle-HorizontalAlign="Left"
                                    DataField="SOURCE">
                                </telerik:GridBoundColumn>
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="pageheadertext">
                        Shipped
                    </div>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <telerik:RadGrid ID="RadGrid_LotDetailsShipper" runat="server" AllowPaging="True"
                        AllowSorting="True" EnableLinqExpressions="false" Width="90%" AutoGenerateEditColumn="false"
                        AutoGenerateColumns="False" OnPageIndexChanged="RadGrid_LotDetailsShipper_PageIndexChanged"
                        Visible="false">
                        <PagerStyle Mode="NextPrevAndNumeric" />
                        <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true">
                            <Excel Format="ExcelML" />
                        </ExportSettings>
                        <MasterTableView AllowPaging="true" CommandItemDisplay="Top">
                            <CommandItemSettings ShowExportToExcelButton="true" ShowRefreshButton="false" ShowAddNewRecordButton="false"
                                ShowExportToCsvButton="true" ShowExportToPdfButton="true" ShowExportToWordButton="true" />
                            <PagerStyle Mode="NextPrevAndNumeric" />
                            <Columns>
                                <telerik:GridDateTimeColumn DataType="System.DateTime" HeaderText="Date" UniqueName="Date"
                                    ItemStyle-HorizontalAlign="Left" DataField="DATETIME" DataFormatString="<%$Appsettings:dateformat%>">
                                </telerik:GridDateTimeColumn>
                                <telerik:GridTemplateColumn ItemStyle-HorizontalAlign="Left" SortExpression="CO_ORDER_NO"
                                    HeaderText="Order" UniqueName="Order">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lnkOrdNum" runat="server" OnClick="lnkrefNum_Click" ForeColor="DarkBlue"
                                            CommandArgument='<%# DataBinder.Eval (Container.DataItem, "ORDER_NO2") %>' Text='<%# DataBinder.Eval (Container.DataItem, "CO_ORDER_NO") %>'
                                            ValidationGroup='<%# DataBinder.Eval (Container.DataItem, "SRORDER_ID") %>'>
                                        </asp:LinkButton>
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridBoundColumn HeaderText="(Alt Order)" UniqueName="Alt_Order" DataField="ORDER_NO2"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridCalculatedColumn HeaderText="Qty" UniqueName="qty" ItemStyle-HorizontalAlign="Right"
                                    DataFields="QTTY, PACKSHORT_DESC" Expression='{0}+ " " +{1}' />
                                <telerik:GridBoundColumn HeaderText="Owner" UniqueName="Owner_Code." DataField="OWNER_CODE"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="Status" UniqueName="Status" DataField="STATUS"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="Warehouse" UniqueName="Warehouse_code" DataField="WAREHOUSE_CODE"
                                    ItemStyle-HorizontalAlign="Left">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="Designation" UniqueName="Designation" ItemStyle-HorizontalAlign="Left"
                                    DataField="DEST">
                                </telerik:GridBoundColumn>
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>
                </td>
            </tr>
        </table>
Margret
Top achievements
Rank 1
 answered on 05 Aug 2013
1 answer
104 views
Hi, Dears

i use radMenu in my Webpage that its body direction set to right to left (rtl)
but i want menu be left to right
unfortunately rad menu dosn't work well

  
<telerik:RadMenu ID="SpecificPageMenu" Runat="server" EnableTheming="true" EnableEmbeddedSkins="true" dir="ltr">
    <Items>
        <telerik:RadMenuItem Text="بیماران" PostBack="False">
            <Items>
             <telerik:RadMenuItem CssClass="aspnet-ajax" Width="500px">
                 <ItemTemplate>
                     <div style="width: 100%; height:100px; background-color: greenyellow">
                         this is first menu                           
                     </div>
                 </ItemTemplate>                   
                 </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="قالب نسخ" PostBack="False">
            <Items>
             <telerik:RadMenuItem CssClass="aspnet-ajax" Width="500px">
                 <ItemTemplate>
                     <div style="width: 100%; height:100px; background-color: greenyellow">
                         this is second menu                           
                     </div>
                 </ItemTemplate>
                 </telerik:RadMenuItem>
            </Items>              
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="دستورات دارویی" PostBack="False">
                           <Items>
             <telerik:RadMenuItem CssClass="aspnet-ajax" Width="500px">
                 <ItemTemplate>
                     <div style="width: 100%; height:100px; background-color: greenyellow">
                         this is third menu                           
                     </div>
                 </ItemTemplate>
                 </telerik:RadMenuItem>
            </Items>
 
        </telerik:RadMenuItem>
    </Items>
    <DefaultGroupSettings OffsetX="-445"></DefaultGroupSettings>
</telerik:RadMenu>


A2H
Top achievements
Rank 1
 answered on 05 Aug 2013
4 answers
1.3K+ views
I have an html chart that I generate some series for based on whatever is selected in a combobox. How do I reset the chart when I have new data for it?

I pretty much add the series myself.

RadHtmlChart1.PlotArea.Series.Add(Task1Series);

RadHtmlChart1.PlotArea.Series.Add(Task1Trend);

RadHtmlChart1.PlotArea.Series.Add(Task2Series);

RadHtmlChart1.PlotArea.Series.Add(Task2Trend);

the other chart control has a clear() method, but I am not seeing it here.

RadHtmlChart1.PlotArea.Series.Clear(); doent seem to work either.

Thanks

Rob
Top achievements
Rank 1
 answered on 04 Aug 2013
2 answers
495 views
I have been trying to load details tables where they exist. (fault tickets for a session)
I can expand all of the details tables, but they never contain any details.
I think that the problem is to do with the loading order due to the fact that I can expand all the deets tables but they contain no data.
I have tried setting the HeirachyLoadMode="Client" in the mastertableview and in the gridtableview.

The C#, then the asp.net are below.

I'm relatively new to this and any help would be appreciated
protected void HelpdeskGrid_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
    DataSet dataset = new DataSet();
    SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["SiteSqlServer"].ConnectionString);
 
    int nCompany = int.Parse(UserInfo.Profile.GetPropertyValue("Company"));
 
    try
    {
        conn.Open();
 
        SqlDataAdapter adapter = new SqlDataAdapter();
        string strSql=string.Format("select top 100 s.SessionID as SessionID,co.Name as Company,cp.Name as Campaign,ca.FirstName,ca.LastName,ca.Email,ca.PhoneNo,s.Start,{1} as Status "+
                                    "from appSession s inner join appCandidate ca on s.CandidateID=ca.CandidateID "+
                                    "inner join appCampaign cp on s.CampaignID=cp.CampaignID "+
                                    "inner join appCompany co on s.CompanyID=co.CompanyID "+
                                    "where (s.CompanyID={0:d} or {0:d}=-1)",nCompany,Helpers.SqlStatusCodes("s"));
        string strWhere = " and 1=2";
        if (!string.IsNullOrWhiteSpace(txtSearch.Text))
        {
            strWhere=string.Format(" and s.CandidateID in (select CandidateID from appCandidate where Contains(ca.SearchText,'{0}'))", Helpers.FixSearchString(txtSearch.Text));
        }
        strSql += strWhere;
        strSql += " order by s.Start desc";
        adapter.SelectCommand=new SqlCommand(strSql,conn);
        DataTable dataTable = new DataTable();
        adapter.Fill(dataTable);
        DataColumn[] PrimaryKeys = new DataColumn[1];
        PrimaryKeys[0] = dataTable.Columns["SessionID"];
        dataTable.TableName = "Details";
        dataTable.PrimaryKey = PrimaryKeys;
        dataset.Tables.Add(dataTable);
 
        string strSql2 = string.Format("SELECT SessionID, TicketID, FaultCategory, Status, AssignedTo  from appTicket where SessionID in (Select top 100 s.SessionID from appSession s inner join appCandidate ca on s.CandidateID=ca.CandidateID where (s.CompanyID={0:d} or {0:d}=-1) {1} order by s.Start desc)",nCompany, strWhere);
        adapter.SelectCommand = new SqlCommand(strSql2, conn);
        dataTable = new DataTable();
        adapter.Fill(dataTable);
        DataColumn[] ForeignKeys = new DataColumn[1];
        ForeignKeys[0] = dataTable.Columns["SessionID"];
        dataTable.TableName = "Detail";
        dataset.Tables.Add(dataTable);
        DataRelation SummaryDetail = new DataRelation("SummaryDetail", PrimaryKeys, ForeignKeys);
        dataset.Relations.Add(SummaryDetail);
    }
    finally
    {
        conn.Close();
    }
    HelpdeskGrid.DataSource = dataset;
<MasterTableView HeirarchyLoadMode="client" DataKeyNames="SessionID" ClientDataKeyNames="SessionID">
        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </RowIndicatorColumn>
        <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </ExpandCollapseColumn>
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
            </EditColumn>
        </EditFormSettings>
        <DetailTables >
            <telerik:GridTableView HierarchyLoadMode="Client"  DataKeyNames="SessionID" Name="TicketDetails">
             <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="SessionID" MasterKeyField="SessionID"></telerik:GridRelationFields>
                </ParentTableRelation>
                <Columns>
                    <telerik:GridBoundColumn HeaderText="TicketID" DataField="TicketID" UniqueName="TicketID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="Category" DataField="FaultCategory" UniqueName="FaultCategoryName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="Assigned To" DataField="AssignedTo" UniqueName="AssignedTo">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="Status" DataField="Status" UniqueName="StatusID">
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn HeaderText="Options" UniqueName="Option" DataField="SessionID">
                        <ItemTemplate>
                            <telerik:RadButton AutoPostBack="false" runat="server" Text="Open Ticket" onclientclicked='onOpenTicket' CommandArgument='<%# DataBinder.Eval( Container, "DataItem.TicketID") %>' >
                            </telerik:RadButton>
                            </ItemTemplate>
                        <HeaderStyle Width="200px" />
                        <ItemStyle Width="200px" />
                    </telerik:GridTemplateColumn>
                </Columns>
            </telerik:GridTableView>
        </DetailTables>
        <Columns>
            <telerik:GridBoundColumn HeaderText="Company" DataField="Company" UniqueName="company">
                <HeaderStyle Width="200px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Campaign" DataField="Campaign" UniqueName="Campaign">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="First Name" DataField="FirstName" UniqueName="FirstName">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Last Name" DataField="LastName" UniqueName="LastName">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Email" DataField="Email" UniqueName="Email">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Start" DataField="Start" UniqueName="Start">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Status" DataField="Status" UniqueName="Status">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="SessionID" Display="false" DataField="SessionID"
                UniqueName="SessionID">
            </telerik:GridBoundColumn>
            <telerik:GridTemplateColumn HeaderText="Options" UniqueName="Option" DataField="SessionID">
                <ItemTemplate>
                    <telerik:RadButton AutoPostBack="false" ID="btn_createSession" runat="server" Text="New Ticket"
                        OnClientClicked="onCreateTicket" CommandArgument='<%# DataBinder.Eval( Container, "DataItem.SessionID") %>'>
                    </telerik:RadButton>
                    <telerik:RadButton AutoPostBack="false" ID='Open' runat="server" Text="Open" Value="TestValue"
                        CommandArgument='<%# DataBinder.Eval( Container, "DataItem.SessionID") %>' OnClientClicked="onOpen">
                    </telerik:RadButton>
                </ItemTemplate>
                <HeaderStyle Width="200px" />
                <ItemStyle Width="200px" />
            </telerik:GridTemplateColumn>
        </Columns>
    
    </MasterTableView>
    <FilterMenu EnableImageSprites="False">
    </FilterMenu>
</telerik:RadGrid>
Aaron
Top achievements
Rank 1
 answered on 04 Aug 2013
0 answers
105 views

Hi all -

I've got a pop-up menu that shows up on a left click, which works fine.  However, on touch-enabled devices (Windows 8 Surface, iPad, iPad Mini, iPhones, etc) after I have touched the button to make the popup appear, I can then touch somewhere else on the screen to scroll up or down and the menu is still visible, but it scrolls with the page.

Is there any quick and easy was to detect a touch scroll event and dismiss the popup?  I already have the code in place to dismiss it when the mouse goes out, but this doesn't work on touch screens.

Thanks in advance!

Troy
Top achievements
Rank 1
 asked on 04 Aug 2013
2 answers
66 views
Hi ,
I have a project in VS2010, in that I am using rad editor. As my project requirement, want to apply custom style on editor controls at the time of its insertion in editor.
Gyan
Top achievements
Rank 1
 answered on 03 Aug 2013
2 answers
404 views
Can the border be removed from a RadTextBox?
Alex
Top achievements
Rank 2
 answered on 02 Aug 2013
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?