Click here to Skip to main content
15,166,587 members
Home / Discussions / C#
   

C#

 
GeneralRe: connection of mssql 2008 to cloud in windows form application Pin
KUNWAR99921-Sep-12 4:29
MemberKUNWAR99921-Sep-12 4:29 
QuestionDirectShow.Net - Add text to video capture Pin
Testi_x6420-Sep-12 0:54
MemberTesti_x6420-Sep-12 0:54 
Questioninstallaer with Shedule task Pin
Member 795211919-Sep-12 20:24
MemberMember 795211919-Sep-12 20:24 
AnswerRe: installaer with Shedule task Pin
Ingo19-Sep-12 22:03
MemberIngo19-Sep-12 22:03 
QuestionSocket Permission Pin
LONEROMEO1319-Sep-12 19:34
MemberLONEROMEO1319-Sep-12 19:34 
AnswerRe: Socket Permission Pin
Ingo19-Sep-12 22:41
MemberIngo19-Sep-12 22:41 
AnswerRe: Socket Permission Pin
Eddy Vluggen20-Sep-12 0:53
professionalEddy Vluggen20-Sep-12 0:53 
QuestionUsing J Query in DataList Pin
mrkeivan19-Sep-12 10:03
Membermrkeivan19-Sep-12 10:03 
XML
Hey guys, I'm new to Jquery and I'm trying to use <pre>jCapSlide</pre> in a datalist,

<pre lang="HTML">
<asp:DataList ID="DataListList" runat="server" DataSourceID="ObjectDataSourceList"
                    RepeatColumns="5" CellPadding="5" CellSpacing="5"
                    OnItemDataBound="DataListList_ItemDataBound">
                    <ItemTemplate>
                        <div id="capslide_img_cont" class="ic_container">
                            <asp:Image ImageUrl='<%#Eval("Images.Image.Virtual_FileName") %>' ID="MainImage"
                                CssClass="NewsImage1" runat="server" />
                            <div class="overlay" style="display: none;">
                            </div>
                            <div class="ic_caption">
                                <p class="ic_category">
                                    '<%# Eval("Category.cName")%>'</p>
                                <h3>
                                    '<%# Eval("pTitle") %>'</h3>
                                <p class="ic_text">
                                    '<%# Eval("pTitle") %>'
                                </p>
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
</pre>

with this Function

<pre lang="Javascript">
&lt;script type="text/javascript">
    $(function () {
        $("#capslide_img_cont").capslide({
            caption_color: 'white',
            caption_bgcolor: 'black',
            overlay_bgcolor: 'black',
            border: '',
            showcaption: false
        });
    });
        &lt;/script>
</pre>

There are 3 records, this applies on the first one but not the other two,
I think the problem is repeated <pre>id="capslide_img_cont"</pre> but can't seem to fix it.
can you help me out ?
It's deeply appreciated

AnswerRe: Using J Query in DataList Pin
Richard MacCutchan19-Sep-12 12:32
mveRichard MacCutchan19-Sep-12 12:32 
AnswerRe: Using J Query in DataList Pin
V.19-Sep-12 21:50
professionalV.19-Sep-12 21:50 
QuestionHow to upload an image to "google search by image" Pin
hosseinDolat18-Sep-12 18:56
MemberhosseinDolat18-Sep-12 18:56 
AnswerRe: How to upload an image to "google search by image" Pin
Richard MacCutchan18-Sep-12 22:56
mveRichard MacCutchan18-Sep-12 22:56 
AnswerRe: How to upload an image to "google search by image" Pin
Andrei Straut18-Sep-12 23:15
MemberAndrei Straut18-Sep-12 23:15 
GeneralRe: How to upload an image to "google search by image" Pin
Richard MacCutchan18-Sep-12 23:41
mveRichard MacCutchan18-Sep-12 23:41 
GeneralRe: How to upload an image to "google search by image" Pin
Andrei Straut18-Sep-12 23:44
MemberAndrei Straut18-Sep-12 23:44 
GeneralRe: How to upload an image to "google search by image" Pin
Richard MacCutchan18-Sep-12 23:51
mveRichard MacCutchan18-Sep-12 23:51 
GeneralRe: How to upload an image to "google search by image" Pin
Richard MacCutchan18-Sep-12 23:44
mveRichard MacCutchan18-Sep-12 23:44 
GeneralRe: How to upload an image to "google search by image" Pin
Andrei Straut18-Sep-12 23:46
MemberAndrei Straut18-Sep-12 23:46 
GeneralRe: How to upload an image to "google search by image" Pin
hosseinDolat19-Sep-12 1:41
MemberhosseinDolat19-Sep-12 1:41 
GeneralRe: How to upload an image to "google search by image" Pin
Richard MacCutchan19-Sep-12 2:08
mveRichard MacCutchan19-Sep-12 2:08 
AnswerRe: How to upload an image to "google search by image" Pin
Eddy Vluggen18-Sep-12 23:28
professionalEddy Vluggen18-Sep-12 23:28 
GeneralRe: How to upload an image to "google search by image" Pin
hosseinDolat19-Sep-12 1:48
MemberhosseinDolat19-Sep-12 1:48 
AnswerRe: How to upload an image to "google search by image" Pin
Andrei Straut18-Sep-12 23:43
MemberAndrei Straut18-Sep-12 23:43 
AnswerRe: How to upload an image to "google search by image" Pin
Pete O'Hanlon19-Sep-12 5:46
mvaPete O'Hanlon19-Sep-12 5:46 
QuestionC# Update SQL Database Pin
Mallbrig18-Sep-12 16:07
MemberMallbrig18-Sep-12 16:07 

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.