Click here to Skip to main content
15,878,809 members
Home / Discussions / C#
   

C#

 
AnswerRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
HuntingWabbits16-Jul-09 23:58
HuntingWabbits16-Jul-09 23:58 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor17-Jul-09 0:39
Baeltazor17-Jul-09 0:39 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
HuntingWabbits17-Jul-09 0:56
HuntingWabbits17-Jul-09 0:56 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor17-Jul-09 1:46
Baeltazor17-Jul-09 1:46 
AnswerRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Wes Aday17-Jul-09 3:34
professionalWes Aday17-Jul-09 3:34 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor17-Jul-09 4:17
Baeltazor17-Jul-09 4:17 
GeneralRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Wes Aday17-Jul-09 7:53
professionalWes Aday17-Jul-09 7:53 
QuestionRelated to thumbnailcontrol Pin
pradnyajag16-Jul-09 23:41
pradnyajag16-Jul-09 23:41 
Hello,

I am using PhilipSoft Control of datalist to show the images.But i am having checkboxes along with each image. I want to get the Ids of checked images.I have bound the datalist by assigning a dataset to it.
How can i get it?.
Please help me as early as possible.



<ASP:DataList id="MyThumbList" RepeatDirection="Horizontal" RepeatColumns="4" CellSpacing="3" runat="server" EnableViewState="true" OnItemDataBound="Item_DataBound"
OnEditCommand="ThumbList_EditCommand" OnUpdateCommand="ThumbList_UpdateCommand"
OnCancelCommand="ThumbList_CancelCommand">

<ItemStyle font-size="8pt" horizontalalign="Center" borderwidth="1px" borderstyle="Solid" backcolor="White"></ItemStyle>
<FooterStyle font-size="8pt" horizontalalign="Center" backcolor="#FFFFC0"></FooterStyle>
<HeaderStyle font-size="11pt" font-bold="True" horizontalalign="Center"></HeaderStyle>
<SelectedItemStyle backcolor="#E0E0E0"></SelectedItemStyle>
<EditItemStyle borderwidth="1px" borderstyle="Groove"></EditItemStyle>
<ItemTemplate>
<asp:CheckBox ID="chkImage" runat="server" ValidationGroup='<%# AltString((String)((DataRowView)Container.DataItem)["Filename"]) %>' /><%--ValidationGroup='<%# AltString((String)((DataRowView)Container.DataItem)["Filename"]) %>'--%>
<a target="_blank" onmouseout="deleteImage()" onmouseover="callImage('<%# ThumbUrl((String)((DataRowView)Container.DataItem)["Filename"]) %>',event)" href="<%# String.Format("{0}/{1}",_vpath,
((DataRowView)Container.DataItem)["Filename"]) %>" >
<img border="0" src="<%# ThumbUrl((String)((DataRowView)Container.DataItem)["Filename"]) %>"
alt="<%# AltString((String)((DataRowView)Container.DataItem)["Filename"]) %>" /></a>
<%# _bShowFilenames?"<br/>"+((DataRowView)Container.DataItem)["Filename"]:"" %>
<%# ShowComments?"<br/>"+((DataRowView)Container.DataItem)["Comment"]:"" %>
<br/>
<%-- <asp:LinkButton id="button1" Visible='<%# AllowEdit ? true:false %>'
Text="Edit" CommandName="Edit" runat="server"/>--%>
</ItemTemplate>



<EditItemTemplate>
<a href="<%# String.Format("{0}/{1}",_vpath,
((DataRowView)Container.DataItem)["Filename"]) %>" >
<img border="0" src="<%# ThumbUrl((String)((DataRowView)Container.DataItem)["Filename"]) %>"
alt="<%# AltString((String)((DataRowView)Container.DataItem)["Filename"]) %>"
/></a>
<%# _bShowFilenames?"<br/>"+((DataRowView)Container.DataItem)["Filename"]:"" %>
<ASP:TextBox id="txtFilename" Visible='false'
Text='<%# ((DataRowView)Container.DataItem)["Filename"] %>' runat="server"/>
<br/><ASP:TextBox id="txtComment" Multiline='true' size='30' Rows='4' TextMode="MultiLine"
Text='<%# ((DataRowView)Container.DataItem)["Comment"] %>' runat="server"/>
<br/><asp:LinkButton id="button2" Text="Save" CommandName="Update" runat="server"/>
&nbsp;<asp:LinkButton id="button3" Text="Cancel" CommandName="Cancel" runat="server"/>

</EditItemTemplate>

<HeaderTemplate>
<%# HeaderTitle %>
</HeaderTemplate>
<FooterTemplate>
<%# NumImagesDisplayed() %>
<tr style="font-size: 8pt;" align="center">
<td colspan="<%# Columns %>">

<p >
<asp:PlaceHolder id="plLinks" runat="server"></asp:PlaceHolder>
</p>
</td>
</tr>
</FooterTemplate>
</ASP:DataList>
Questionvar : good or bad? Pin
hairy_hats16-Jul-09 23:35
hairy_hats16-Jul-09 23:35 
AnswerRe: var : good or bad? Pin
0x3c016-Jul-09 23:38
0x3c016-Jul-09 23:38 
AnswerRe: var : good or bad? Pin
Pete O'Hanlon16-Jul-09 23:50
mvePete O'Hanlon16-Jul-09 23:50 
GeneralRe: var : good or bad? Pin
hairy_hats17-Jul-09 0:14
hairy_hats17-Jul-09 0:14 
AnswerRe: var : good or bad? Pin
Luc Pattyn17-Jul-09 0:24
sitebuilderLuc Pattyn17-Jul-09 0:24 
AnswerRe: var : good or bad? Pin
PIEBALDconsult17-Jul-09 4:38
mvePIEBALDconsult17-Jul-09 4:38 
QuestionDelete string from right of 10 places Pin
elci16-Jul-09 23:32
elci16-Jul-09 23:32 
AnswerRe: Delete string from right of 10 places Pin
Tom Deketelaere16-Jul-09 23:37
professionalTom Deketelaere16-Jul-09 23:37 
AnswerRe: Delete string from right of 10 places Pin
AmitSumit16-Jul-09 23:40
AmitSumit16-Jul-09 23:40 
AnswerRe: Delete string from right of 10 places Pin
Luc Pattyn17-Jul-09 0:33
sitebuilderLuc Pattyn17-Jul-09 0:33 
QuestionValidation in Multilingual Application using c# Pin
AmitSumit16-Jul-09 23:24
AmitSumit16-Jul-09 23:24 
AnswerRe: Validation in Multilingual Application using c# Pin
0x3c016-Jul-09 23:36
0x3c016-Jul-09 23:36 
GeneralRe: Validation in Multilingual Application using c# Pin
AmitSumit16-Jul-09 23:43
AmitSumit16-Jul-09 23:43 
GeneralRe: Validation in Multilingual Application using c# Pin
0x3c017-Jul-09 0:27
0x3c017-Jul-09 0:27 
GeneralRe: Validation in Multilingual Application using c# Pin
Luc Pattyn17-Jul-09 0:35
sitebuilderLuc Pattyn17-Jul-09 0:35 
GeneralRe: Validation in Multilingual Application using c# Pin
0x3c017-Jul-09 1:18
0x3c017-Jul-09 1:18 
GeneralRe: Validation in Multilingual Application using c# Pin
Luc Pattyn17-Jul-09 1:23
sitebuilderLuc Pattyn17-Jul-09 1:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.