Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. to display the value in ModalpopExtender [modified]

to display the value in ModalpopExtender [modified]

Scheduled Pinned Locked Moved C#
databasetutorialsysadminhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    annie_bel
    wrote on last edited by
    #1

    hi! friends, I am using modalpopextender to display the data. my modalpopextender is open on Linkbutton click. i have a multiple linkbutton in datagrid. My query is: i want to display the record from the database in Label which is placed on modalpopextender. i already retrieve the data from the database but, I don't know how to put these information in Label Actually the linkbutton is not shown on my ascx page because some internal coding. so i can't generate click event. Please guide me: I display my some code for your help,:

    <asp:LinkButton ID="lbtnID" runat="server" Text='<%# Eval("ApplicantId")%>' CommandArgument='<%# Eval("ApplicantId")%>' CommandName="Det"></asp:LinkButton>

    <asp:Panel ID="pnltest" runat="server" >
    <table>
    <tr>
    <td >Applicant Name</td>
    <td ><asp:Label ID="lblAppName" runat="server"></asp:Label></td>
    </tr>
    <tr>
    <td >Applicant Code</td>
    <td ><asp:Label ID="lblCode" runat="server"></asp:Label></td>
    </tr>

    </asp:Panel>
    <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="lbtnID" PopupControlID="pnltest" RepositionMode="RepositionOnWindowResizeAndScroll">
    </cc1:ModalPopupExtender>

    thanx and regards

    modified on Thursday, October 28, 2010 6:18 AM

    S 1 Reply Last reply
    0
    • A annie_bel

      hi! friends, I am using modalpopextender to display the data. my modalpopextender is open on Linkbutton click. i have a multiple linkbutton in datagrid. My query is: i want to display the record from the database in Label which is placed on modalpopextender. i already retrieve the data from the database but, I don't know how to put these information in Label Actually the linkbutton is not shown on my ascx page because some internal coding. so i can't generate click event. Please guide me: I display my some code for your help,:

      <asp:LinkButton ID="lbtnID" runat="server" Text='<%# Eval("ApplicantId")%>' CommandArgument='<%# Eval("ApplicantId")%>' CommandName="Det"></asp:LinkButton>

      <asp:Panel ID="pnltest" runat="server" >
      <table>
      <tr>
      <td >Applicant Name</td>
      <td ><asp:Label ID="lblAppName" runat="server"></asp:Label></td>
      </tr>
      <tr>
      <td >Applicant Code</td>
      <td ><asp:Label ID="lblCode" runat="server"></asp:Label></td>
      </tr>

      </asp:Panel>
      <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="lbtnID" PopupControlID="pnltest" RepositionMode="RepositionOnWindowResizeAndScroll">
      </cc1:ModalPopupExtender>

      thanx and regards

      modified on Thursday, October 28, 2010 6:18 AM

      S Offline
      S Offline
      Sue Denim
      wrote on last edited by
      #2

      Wrong forum, try ASP.NET

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups