Menu

#136 Image Button

open
None
9
2007-11-16
2007-11-16
shweta
No

I have a mutilple anthem panels,and within that mutiple anthem image buttons which behave like checkboxes...But it happens that whne i randomly click on any of trhe image buttons,some time the OnCommand event of the image button doesnt fire at all.Here is my code :
<anthem:DataList ID="dtlstWidth" runat="server" EnableCallBack="true">
<ItemTemplate>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="width: 10px">
<anthem:Panel ID="pnlID" runat="server" EnableCallBack="true" Width="3px" Height="3px">
<anthem:ImageButton ID="imgWidth" runat="server" EnableCallBack="true" PreCallBackFunction="callback('divshowLoading')" ImageUrl="~/Images/spacer.gif" Width="5px" Height="5px" BackColor="red" BorderWidth="1px" OnCommand="ChooseThis" BorderColor="#52514F" /></anthem:Panel>
</td>
<td>
<anthem:Label ID="lblName" runat="server" Text="color" />
</td>
</tr>
</table>
</ItemTemplate>
</anthem:DataList>
Please help me...its urgent!!

Discussion

  • shweta

    shweta - 2007-11-16
    • priority: 5 --> 9
     
  • shweta

    shweta - 2007-11-16
    • assigned_to: nobody --> afm_44
     
  • shweta

    shweta - 2007-11-16
    • assigned_to: afm_44 --> jcmurphy
     
  • Pieter Siegers

    Pieter Siegers - 2007-11-16
    • assigned_to: jcmurphy --> psiegers
     
  • Pieter Siegers

    Pieter Siegers - 2007-11-16

    Logged In: YES
    user_id=1067768
    Originator: NO

    Hi, could you please post a complete sample? TIA

     

Log in to post a comment.