Click here to Skip to main content
15,886,840 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: JQuery unable to find controls on a page Pin
Not Active4-Dec-10 2:06
mentorNot Active4-Dec-10 2:06 
GeneralRe: JQuery unable to find controls on a page Pin
AndyASPVB4-Dec-10 3:13
AndyASPVB4-Dec-10 3:13 
GeneralRe: JQuery unable to find controls on a page Pin
Not Active4-Dec-10 3:35
mentorNot Active4-Dec-10 3:35 
GeneralRe: JQuery unable to find controls on a page Pin
AndyASPVB4-Dec-10 3:43
AndyASPVB4-Dec-10 3:43 
GeneralRe: JQuery unable to find controls on a page Pin
Not Active4-Dec-10 5:46
mentorNot Active4-Dec-10 5:46 
GeneralRe: JQuery unable to find controls on a page Pin
AndyASPVB6-Dec-10 10:49
AndyASPVB6-Dec-10 10:49 
GeneralRe: JQuery unable to find controls on a page Pin
Not Active6-Dec-10 13:27
mentorNot Active6-Dec-10 13:27 
QuestionASP.Net Newby Question On ListView Pin
Kevin Marois3-Dec-10 7:32
professionalKevin Marois3-Dec-10 7:32 
I placed a listview on my page:

<div id="resultList">
    <asp:ListView ID="lstResults" runat="server">
        <LayoutTemplate>
            <table id="Table1" runat="server" class="TableCSS">
                <tr id="Tr1" runat="server" class="TableHeader">
                    <td id="Td1" runat="server">
                        Merchant Name
                    </td>
                </tr>
                <tr id="ItemPlaceholder" runat="server">
                </tr>
            </table>
        </LayoutTemplate>
        <ItemTemplate>
            <tr class="ItemCSS">
                <td>
                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("Title")%>'>
                    </asp:Label>
                </td>
            </tr>
        </ItemTemplate>
    </asp:ListView>
</div>


and I'm binding it like this:

private void loadList()
{
    categoryID = (int)Session["categoryID"];
    zipCode = Session["zipCode"].ToString();

    merchants = TDCBizObj.GetMerchantsByQuery(categoryID, zipCode);

    lstResults.DataSource = merchants;
    lstResults.DataBind();
}


When I run the page, I see the merchant titles, but the rows are not 'selectable'. They look like labels, not list items. I mean, when I click a row, it doesn't highlight. What am I doing wrong?
Everything makes sense in someone's mind

AnswerRe: ASP.Net Newby Question On ListView Pin
Not Active3-Dec-10 12:36
mentorNot Active3-Dec-10 12:36 
Questionregarding VS2008 IDE Pin
Tridip Bhattacharjee3-Dec-10 6:31
professionalTridip Bhattacharjee3-Dec-10 6:31 
AnswerRe: regarding VS2008 IDE Pin
Brij3-Dec-10 7:42
mentorBrij3-Dec-10 7:42 
GeneralRe: regarding VS2008 IDE Pin
Tridip Bhattacharjee3-Dec-10 23:05
professionalTridip Bhattacharjee3-Dec-10 23:05 
GeneralRe: regarding VS2008 IDE Pin
Brij4-Dec-10 5:14
mentorBrij4-Dec-10 5:14 
QuestionClear session after redirect Pin
Hanzaplast3-Dec-10 5:28
Hanzaplast3-Dec-10 5:28 
AnswerRe: Clear session after redirect Pin
Brij3-Dec-10 6:39
mentorBrij3-Dec-10 6:39 
AnswerRe: Clear session after redirect Pin
fjdiewornncalwe3-Dec-10 6:44
professionalfjdiewornncalwe3-Dec-10 6:44 
QuestionInterview task - what can I expect? Pin
Danpeking3-Dec-10 0:48
Danpeking3-Dec-10 0:48 
AnswerRe: Interview task - what can I expect? Pin
Hiren solanki3-Dec-10 1:15
Hiren solanki3-Dec-10 1:15 
GeneralRe: Interview task - what can I expect? Pin
Danpeking3-Dec-10 1:50
Danpeking3-Dec-10 1:50 
GeneralRe: Interview task - what can I expect? Pin
Hiren solanki3-Dec-10 2:05
Hiren solanki3-Dec-10 2:05 
GeneralRe: Interview task - what can I expect? Pin
Danpeking3-Dec-10 2:18
Danpeking3-Dec-10 2:18 
GeneralRe: Interview task - what can I expect? Pin
_AK_3-Dec-10 8:21
_AK_3-Dec-10 8:21 
AnswerRe: Interview task - what can I expect? Pin
T M Gray3-Dec-10 10:51
T M Gray3-Dec-10 10:51 
QuestionVSS with .NET Pin
padmanabhan N2-Dec-10 22:28
padmanabhan N2-Dec-10 22:28 
AnswerRe: VSS with .NET Pin
fjdiewornncalwe3-Dec-10 1:19
professionalfjdiewornncalwe3-Dec-10 1:19 

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.