Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6111099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:35:29+00:00 2026-05-23T14:35:29+00:00

i have to display customize popup window in telerik grid because i cannot display

  • 0

i have to display customize popup window in telerik grid because i cannot display all values in grid so i want when user click on grid edit button and according to particular row datakey
fetch data from table and display those records in popup window and i want to open that window when user click on grid button not on my checkout button so what can i do

view

<%@ Page Title="" Language="C#" MasterPageFile="~/Content/JobSeekers.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<ITClassifieds.ViewModels.workexperience>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    trial
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript">
    function onRowSelected(e) {
       var ordersGrid = $('#Grid').data('tGrid');
        var resexpid = e.row.cells[0].innerHTML;

        // update ui text
               $('#rexsepid').text(resexpid);
        // rebind the related grid
//        ordersGrid.rebind({
//            resexpid: resexpid
//        });
        var window = $("#Window").data("tWindow");
        window.center().open();




    }


        function closeWindow() {
            var window = $("#Window").data("tWindow");
            window.close();





            var undoButton = $('#undo');
            undoButton.show();
        }

        function openWindow() {
            var window = $("#Window").data("tWindow");
            window.center().open();
//            var ordersGrid = $('#Grid').data('tGrid');
//            var resexpid = ordersGrid.row.cells[0].innerHTML;

//            $('#rexsepid').text(resexpid);

//            alert(resexpid);



        }

        function viewDetails(activityId) {
            //....Do stuff here...

            alert(activityId);

        }




</script>

    <h2>trial</h2>
     <%=Html.Telerik().Grid(Model).Name("Grid").DataKeys(keys => keys.Add(m => m.resexpid))
      .Columns(columns=>

    {
        columns.Bound(m => m.resexpid).Width(100);
        columns.Bound(m => m.company).Width(100);
        //columns.Bound("Title").Width(100);
        columns.Bound(m=>m.title).Width(200);
        columns.Command(commands =>
            {
                commands.Edit().ButtonType(GridButtonType.Text);
                commands.Delete().ButtonType(GridButtonType.Text);
            }).Width(200).Title("Command");

        columns.Bound(m => m.resexpid).ClientTemplate("<a onclick='viewDetails('" + "'<#= Id #>'" + "');' href='javascript:'>View</a>").Title("View");

        //columns.Bound(m => m.Date).Width(200);
    })
     .ClientEvents(events => events.OnRowSelect("onRowSelected"))

        .DataBinding(dataBinding => 
        {


              dataBinding.Ajax()
                .Select("_FirstLook","Editresume")
                .Update("_SaveAjaxEditing", "Editresume")
                .Delete("_DeleteAjaxEditing", "Editresume");   


        })
        .Scrollable(scrolling => scrolling.Enabled((bool)ViewData["scrolling"]))
        .Sortable(sorting => sorting.Enabled((bool)ViewData["sorting"]))
        .Pageable(paging => paging.Enabled((bool)ViewData["paging"]))
        .Filterable(filtering => filtering.Enabled((bool)ViewData["filtering"]))
        .Groupable(grouping => grouping.Enabled((bool)ViewData["grouping"]))
        .Footer((bool)ViewData["showFooter"])

        .RowAction(row => row.Selected = row.DataItem.resexpid.Equals(ViewData["id"])) 

        %>
        <button class="button medium gray" onclick="openWindow()">Checkout</button> 

  <% Html.Telerik().Window()
           .Name("Window")
           .Title("Update Option")

           .Draggable(false)
           .Resizable(resizing => resizing
               .Enabled(true)
               .MinHeight(250)
               .MinWidth(250)
               .MaxHeight(500)
               .MaxWidth(500)
            )
           .Scrollable(true)
           .Modal(true)
           .Buttons(b => b.Maximize().Close())
           .Content(() =>
           {%>
           <div>

         <%--  <% %>
           <% if (ResumePackgeExits == true && JobPackageExist == true)
              {
              }
              else if (ResumePackgeExits == false && JobPackageExist == true)
              {
                %>--%>

           <div>

             <table border="1" cellpadding="5" cellspacing="0" bordercolor="#CCCCCC" style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;border:1px solid #AAA;margin:5px;">

                    <tr> <td colspan="3">
                    We Are also Provied a Unlimeted Resume Subscription.
                    if You Want a Resume Subscription Please click on RESUME Package button.
                    </td></tr>

             </table>
             <br />

           <%=Html.ActionLink("RESUME Package", "ResumePackage", null, new { @class = "button medium gray" })%>
           </div>

           <%--<%}else if(ResumePackgeExits == true && JobPackageExist == false) 
              {%>
--%>
              <div>
                    <table border="1" cellpadding="5" cellspacing="0" bordercolor="#CCCCCC" style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:11px;border:1px solid #AAA;margin:5px;">

        <tr>
          <td colspan="3">
          We Are also Provied a Job Subscription.
                    if You Want a Job Subscription Please click on JOB Package button.
          </td>

        </tr>

      </table>
      <br />
       <%=Html.ActionLink("JOB Package", "jobpackage", null, new { @class = "button medium gray" })%>
              </div>

           <%--   <%} %>--%>
           <br />
<%--                <% using (Html.BeginForm("Checkout", "Package", FormMethod.Post, new { name = "frmDCC", onsubmit = "return CheckForm();" }))
                { %>
                   <input type="hidden" value="<%= Model.Total%>" name="totalPayment" />

                   <table>
                   <tr>
                   <td><%=Html.RadioButton("paymentoption","paypalPayment") %></td>
                   <td><img  src='https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif' border='0' align='top' alt='Check out with PayPal' /></td>
                   </tr>
                   <tr>
                   <td><%=Html.RadioButton("paymentoption","CreditCart") %></td>
                   <td> <img  src="https://www.paypal.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif" border="0" alt="Check out with Credit Cart" /></td>
                   </tr>
                   </table>

                    <input type="submit" value="Go" name="submit" class="button medium gray" />

                <%} %>
               --%>


                </div>
           <%})
           .Width(500)
           .Height(400)
           .Visible(false)

           .Render();
    %>




</asp:Content>


controller


   public ActionResult trial()
        {
            //var re = (from j in db.Resumes
            //          select new
            //          Jobresults { JobTitle = j.JobTitle, Company = j.CompanyInfo }).AsEnumerable();
            var re = (from j in db.Resumes join res in db.Res_Exp on j.ResumeID equals res.Resume.ResumeID
                      where j.ResumeID == 258
                      select new workexperience {title=j.ResumeTitle,company=j.DesiredCompany ,resexpid=res.ResExpID}
                      ).AsEnumerable();




            ViewData["ajax"] = true;
            ViewData["scrolling"] = true;
            ViewData["paging"] = true;
            ViewData["filtering"] = true;
            ViewData["grouping"] = true;
            ViewData["sorting"] = true;
            ViewData["showFooter"] = true;
            return View(re);

        }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:35:29+00:00Added an answer on May 23, 2026 at 2:35 pm

    In order to make customized popup in telerik grid you need to exploit editor templates. You will make an editor template for your viewmodel. this brad wilson’s tutorial will help you to get start. this post at telerik forum may also help you also

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to display a column chart in a user form in VBA. Exporting
I have a need to display a UITableView containing a user's account credentials. For
I have a need to display many numerical values in columns. These values need
I have to display yes/no button on some condition on my asp.net page ,
I'm looking to have text display vertically, first letter at the bottom, last letter
Many applications have grids that display data from a database table one page at
Seems likes it might be useful to have the assert display a message when
I display some objects that have thumbnails in two ways: one in a DataGridView,
I have an app that display's the current time when a page opens. I
I have a console app that needs to display the state of items, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.