Click here to Skip to main content
15,890,557 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: adding 2 attributes to the same dropdownlist Pin
eyeseetee11-Mar-08 4:21
eyeseetee11-Mar-08 4:21 
GeneralRe: adding 2 attributes to the same dropdownlist Pin
samerh11-Mar-08 4:36
samerh11-Mar-08 4:36 
GeneralRe: adding 2 attributes to the same dropdownlist Pin
eyeseetee11-Mar-08 5:15
eyeseetee11-Mar-08 5:15 
GeneralRe: adding 2 attributes to the same dropdownlist Pin
Christian Graus11-Mar-08 8:55
protectorChristian Graus11-Mar-08 8:55 
GeneralRe: adding 2 attributes to the same dropdownlist Pin
eyeseetee11-Mar-08 22:41
eyeseetee11-Mar-08 22:41 
GeneralRe: adding 2 attributes to the same dropdownlist Pin
Christian Graus11-Mar-08 8:07
protectorChristian Graus11-Mar-08 8:07 
Question320 resx file in App_GlobalResources, will this work? Pin
FerencTheFifth11-Mar-08 3:12
FerencTheFifth11-Mar-08 3:12 
GeneralDataList ItemCommand Event Not wortking !! Please help Guys :(( Pin
Cape Town Developer11-Mar-08 2:55
Cape Town Developer11-Mar-08 2:55 
Hi im having an issue with the DataList control not firing the ItemCommand event.
here is my code :

Snippet 1 (attempt : 1 does not work Frown | :( )

<asp:Literal ID="litSortBy" runat="server" Text="<%$ Resources:language_resource, sort_by %>" />:
<asp:ListView ID="lvSort" runat="server" OnItemDataBound="lvSort_ItemDataBound" OnItemCommand="lvSort_ItemCommand" >

<LayoutTemplate>
<asp:PlaceHolder ID="itemPlaceHolder" runat="server" />
</LayoutTemplate>
<ItemTemplate>
<asp:LinkButton ID="lbtnSort" runat="server" />
<asp:Literal ID="litSpacer" runat="server" Text=" | " />
</ItemTemplate>
</asp:ListView>


Snippet 2 (attempt : 2 does not work Frown | :( )
// Manually registering the events in the codebehind still dont solve anything
DataList.ItemCommand +=new EventHandler<ListViewCommandEventArgs>(lvSort_ItemCommand);


// Here is the codebeind:

protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{

BindDataListNavigationProducts();
GetNavigationInfo();
BindSortingOptions();
}
}

protected void lvSort_ItemCommand(object sender, ListViewCommandEventArgs e)
{
// Never ever gets here, why what going on here ?????
}
Can someone please offer an alternavtive solution or a work around this ?
Thank you very much in advance.
Smile | :)

Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.

GeneralHTML VERTICAL BAR CHART_TO NEERAJ SALUJA Pin
pavanmadappa@gmail.com11-Mar-08 2:52
pavanmadappa@gmail.com11-Mar-08 2:52 
GeneralRe: HTML VERTICAL BAR CHART_TO NEERAJ SALUJA Pin
Christian Graus11-Mar-08 8:09
protectorChristian Graus11-Mar-08 8:09 
GeneralRe: HTML VERTICAL BAR CHART_TO NEERAJ SALUJA Pin
pavanmadappa@gmail.com14-Mar-08 1:57
pavanmadappa@gmail.com14-Mar-08 1:57 
GeneralHTML Vertical Bar Chart Pin
pavanmadappa@gmail.com11-Mar-08 2:50
pavanmadappa@gmail.com11-Mar-08 2:50 
GeneralRe: HTML Vertical Bar Chart Pin
Christian Graus11-Mar-08 8:10
protectorChristian Graus11-Mar-08 8:10 
QuestionHow to open and used dynamically created mdb file Pin
sjs4u11-Mar-08 2:17
sjs4u11-Mar-08 2:17 
AnswerRe: How to open and used dynamically created mdb file Pin
N a v a n e e t h11-Mar-08 2:23
N a v a n e e t h11-Mar-08 2:23 
GeneralRe: How to open and used dynamically created mdb file Pin
sjs4u11-Mar-08 3:07
sjs4u11-Mar-08 3:07 
GeneralRe: How to open and used dynamically created mdb file Pin
N a v a n e e t h11-Mar-08 3:21
N a v a n e e t h11-Mar-08 3:21 
Questionhow to open popup from a popup window? Pin
Amitava Dutta11-Mar-08 1:57
Amitava Dutta11-Mar-08 1:57 
AnswerRe: how to open popup from a popup window? Pin
eyeseetee11-Mar-08 2:04
eyeseetee11-Mar-08 2:04 
GeneralRe: how to open popup from a popup window? Pin
Amitava Dutta11-Mar-08 2:26
Amitava Dutta11-Mar-08 2:26 
GeneralRe: how to open popup from a popup window? Pin
Amitava Dutta11-Mar-08 2:41
Amitava Dutta11-Mar-08 2:41 
GeneralRe: how to open popup from a popup window? Pin
Guffa11-Mar-08 7:15
Guffa11-Mar-08 7:15 
GeneralUplaod manager in ASP.Net Pin
neoestel11-Mar-08 1:54
neoestel11-Mar-08 1:54 
GeneralRe: Uplaod manager in ASP.Net Pin
eyeseetee11-Mar-08 2:02
eyeseetee11-Mar-08 2:02 
GeneralRe: Uplaod manager in ASP.Net Pin
neoestel11-Mar-08 2:12
neoestel11-Mar-08 2:12 

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.