[CLOSED] Chooser File

  1. #1

    [CLOSED] Chooser File

    I'm trying using the sample in
    and add on it 2 buttons in InfoPanel.ascx as this
                        <div class="details-info">
                            <b>:أسم الجلسة</b>
                            <b>:تاريخ الجلسة</b>
                            <b>:وقت الجلسة</b>
                             <b>:مدة الجلسة</b>
                             <ext:Button ID="Button1" runat="server" Width="200" Text="موافق"></ext:Button>
                             <ext:Button ID="Button2" runat="server" Width="200" Text="رفض"></ext:Button> 
    but buttons Don't show in InfoPanel.ascx
    any idea about that,
    you cas see attchmen to have idea about what i'm trying to do

    Thank you in advance
    Attached Thumbnails Click image for larger version. 

Name:	Issue.png 
Views:	6 
Size:	32.7 KB 
ID:	7274  
    Last edited by Daniil; Nov 29, 2013 at 2:21 PM. Reason: [CLOSED]
  2. #2

    You shouldn't insert Components inside Tpl, it shall contain only HTML markup. However, you can insert you buttons into Buttons collection:

    <ext:Panel ID="ImgDetailPanel" runat="server"
            <ext:ConfigItem Name="loadRecord" Value="function(image){
                this.tpl.overwrite(this.body, image.data);
                this.body.slideIn('l', {
                    duration: 250
             Mode="Raw" />
                <div class="details">
                    <tpl for=".">                        
                        <tpl if="!Ext.isIE6">
                            <img src="{url}" />
                        <tpl if="Ext.isIE6">
                            <div style="width:74px;height:74px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="{url}")"></div>
                        <div class="details-info">
                            <b>File Name:</b>
                            <b>File URL:</b>
                            <span><a href="{url}" target="_blank">{name}</a></span>
            <ext:Button runat="server" Text="My Button 1" />
            <ext:Button runat="server" Text="My Button 2" />

Similar Threads

  1. Replies: 8
    Last Post: Jun 10, 2013, 1:06 PM
  2. Replies: 1
    Last Post: Mar 15, 2013, 1:38 AM
  3. Doubt about Advanced Dataview example in Chooser
    By NishaLijo in forum 2.x Help
    Replies: 4
    Last Post: Mar 23, 2012, 11:32 AM
  4. [CLOSED] GridPanel column header and column chooser different value
    By acrossdev in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 07, 2009, 6:01 AM
  5. Replies: 3
    Last Post: Nov 27, 2008, 12:52 PM

Posting Permissions