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. Web Development
  3. ASP.NET
  4. Help in understanding PopupControlExtender

Help in understanding PopupControlExtender

Scheduled Pinned Locked Moved ASP.NET
sysadminhelptutoriallearning
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.
  • S Offline
    S Offline
    simsen
    wrote on last edited by
    #1

    Hi, First what my goal is: I want when clicking on a button on my page a popup to appear with a list of images. When clicking on a image it should add som text (the name of the image) to a textbox on the page. In first place I only try to let the popup appear when clicking the textbox because I don't know how to set the name of the image from the button. My aspx code:

    <table cellpadding="0" width="100%" border="0">
                                            <tr>
                                                <td style="text-align: right">
                                                    <asp:Label ID="lblMessage" runat="server" Text="<%$ Resources:Resource, Message %>"></asp:Label> :&nbsp
                                                </td>
                                                <td style="text-align: left; width: 510px">
                                                    <asp:TextBox Id="txtMessage" runat="server" onfocus="this.value = this.value;" MaxLength="250" Width="500px" />    
                                                </td>
                                                <td style="vertical-align: top">
                                                    <asp:Button Id="btnSend" CssClass="button" runat="server" Text="<%$ Resources:Resource, Send %>" OnClientClick="SetScrollPosition()" OnClick="BtnSend_Click" />                                                
                                                </td>
                                                <td style="width: 200px">
                                                    <asp:ImageButton ID="ibtnSmileys" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/Images/Smiley_41_20_A.gif" />
                                                    <asp:Panel ID="panSmileys" runat="server" CssClass="chatSmileyPanel">
                                                        <asp:UpdatePanel ID="upanSmileys" runat="server">
                                                            <ContentTemplate>
                                                                <asp:DataList ID="dlstSmileys" runat="server" RepeatColumns="7" RepeatDirection="Horizontal" Width="100%" CellPadding="2" CellSpacing="2" OnItemCommand="dlstSmileys_ItemCommand">
                                                                    <ItemTemplate>
    
    S 1 Reply Last reply
    0
    • S simsen

      Hi, First what my goal is: I want when clicking on a button on my page a popup to appear with a list of images. When clicking on a image it should add som text (the name of the image) to a textbox on the page. In first place I only try to let the popup appear when clicking the textbox because I don't know how to set the name of the image from the button. My aspx code:

      <table cellpadding="0" width="100%" border="0">
                                              <tr>
                                                  <td style="text-align: right">
                                                      <asp:Label ID="lblMessage" runat="server" Text="<%$ Resources:Resource, Message %>"></asp:Label> :&nbsp
                                                  </td>
                                                  <td style="text-align: left; width: 510px">
                                                      <asp:TextBox Id="txtMessage" runat="server" onfocus="this.value = this.value;" MaxLength="250" Width="500px" />    
                                                  </td>
                                                  <td style="vertical-align: top">
                                                      <asp:Button Id="btnSend" CssClass="button" runat="server" Text="<%$ Resources:Resource, Send %>" OnClientClick="SetScrollPosition()" OnClick="BtnSend_Click" />                                                
                                                  </td>
                                                  <td style="width: 200px">
                                                      <asp:ImageButton ID="ibtnSmileys" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/Images/Smiley_41_20_A.gif" />
                                                      <asp:Panel ID="panSmileys" runat="server" CssClass="chatSmileyPanel">
                                                          <asp:UpdatePanel ID="upanSmileys" runat="server">
                                                              <ContentTemplate>
                                                                  <asp:DataList ID="dlstSmileys" runat="server" RepeatColumns="7" RepeatDirection="Horizontal" Width="100%" CellPadding="2" CellSpacing="2" OnItemCommand="dlstSmileys_ItemCommand">
                                                                      <ItemTemplate>
      
      S Offline
      S Offline
      Sunasara Imdadhusen
      wrote on last edited by
      #2

      Do you have problem only for doesn't fire event?

      sunaSaRa Imdadhusen +91 99095 44184

      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