Click here to Skip to main content
15,906,816 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Textbox validation using javascript..., Pin
Talal Sultan17-Aug-07 3:00
Talal Sultan17-Aug-07 3:00 
Questionopen rediffmailpro directly thr my site Pin
deepaksringr17-Aug-07 2:48
deepaksringr17-Aug-07 2:48 
AnswerRe: open rediffmailpro directly thr my site Pin
N a r e s h P a t e l17-Aug-07 3:49
N a r e s h P a t e l17-Aug-07 3:49 
QuestionBrowser compatibility Error ( Mr.Michael) Pin
nandhububbly17-Aug-07 2:47
nandhububbly17-Aug-07 2:47 
AnswerRe: Browser compatibility Error ( Mr.Michael) Pin
nandhububbly17-Aug-07 2:47
nandhububbly17-Aug-07 2:47 
QuestionSystem.IO.MemoryStream Issue , Help needed urgently Pin
percyvimal17-Aug-07 1:56
percyvimal17-Aug-07 1:56 
QuestionHow to use Edit and update in DataList??? Pin
bijeshputhalath17-Aug-07 1:49
bijeshputhalath17-Aug-07 1:49 
AnswerRe: How to use Edit and update in DataList??? Pin
Michael Sync17-Aug-07 2:38
Michael Sync17-Aug-07 2:38 
Sample
------

<asp:DataList ID="dlGallery" OnEditCommand="dl_GalleryEdit" OnCancelCommand="dl_GalleryCancel" OnUpdateCommand="dl_GalleryUpdate" DataKeyField="ID" runat="server">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "username") %> - <%# DataBinder.Eval(Container.DataItem, "category") %>
<asp:LinkButton ID="lbGalleryEdit" Text="Edit" CssClass="changeLinks" CommandName="Edit" runat="server" /> |
</ItemTemplate>
<EditItemTemplate>
<asp:Label ID="lblGalleryChgUser" Text="Username: " runat="Server" /><br />
<asp:TextBox ID="txtGalleryChgUser" Text='<%# DataBinder.Eval(Container.DataItem, "username") %>' CssClass="txtBoxHalf" runat="server" /><br />

<asp:LinkButton ID="lbGalleryUpdate" Text="Update" CommandName="Update" CssClass="changeLinks" runat="server" /> |
<asp:LinkButton ID="lbGalleryCancel" Text="Cancel" CommandName="Cancel" CssClass="changeLinksLast" runat="server" />
</EditItemTemplate>
</asp:DataList>

protected void dl_GalleryEdit(Object s, DataListCommandEventArgs e) {

dlGallery.EditItemIndex = e.Item.ItemIndex;
//Update Code
bindData();
}


Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. Smile | :)
GeneralRe: How to use Edit and update in DataList??? Pin
bijeshputhalath17-Aug-07 5:50
bijeshputhalath17-Aug-07 5:50 
GeneralRe: How to use Edit and update in DataList??? Pin
Michael Sync17-Aug-07 16:37
Michael Sync17-Aug-07 16:37 
GeneralRe: How to use Edit and update in DataList??? Pin
bijeshputhalath17-Aug-07 20:36
bijeshputhalath17-Aug-07 20:36 
GeneralRe: How to use Edit and update in DataList??? Pin
Michael Sync17-Aug-07 22:14
Michael Sync17-Aug-07 22:14 
GeneralRe: How to use Edit and update in DataList??? Pin
bijeshputhalath17-Aug-07 22:41
bijeshputhalath17-Aug-07 22:41 
GeneralRe: How to use Edit and update in DataList??? Pin
Michael Sync18-Aug-07 8:05
Michael Sync18-Aug-07 8:05 
GeneralRe: How to use Edit and update in DataList??? Pin
bijeshputhalath19-Aug-07 1:25
bijeshputhalath19-Aug-07 1:25 
GeneralRe: How to use Edit and update in DataList??? Pin
Michael Sync19-Aug-07 4:52
Michael Sync19-Aug-07 4:52 
Questionrecommendation engine Pin
anu8117-Aug-07 1:42
anu8117-Aug-07 1:42 
AnswerRe: recommendation engine Pin
N a v a n e e t h17-Aug-07 2:32
N a v a n e e t h17-Aug-07 2:32 
GeneralRe: recommendation engine Pin
anu8117-Aug-07 2:47
anu8117-Aug-07 2:47 
GeneralRe: recommendation engine Pin
sathish s17-Aug-07 3:13
sathish s17-Aug-07 3:13 
GeneralRe: recommendation engine Pin
anu8117-Aug-07 3:17
anu8117-Aug-07 3:17 
GeneralRe: recommendation engine Pin
sathish s17-Aug-07 3:37
sathish s17-Aug-07 3:37 
GeneralRe: recommendation engine Pin
anu8117-Aug-07 4:10
anu8117-Aug-07 4:10 
QuestionUrgent WebService Pin
jayarajmrj17-Aug-07 1:24
jayarajmrj17-Aug-07 1:24 
AnswerRe: Urgent WebService Pin
kubben17-Aug-07 1:56
kubben17-Aug-07 1:56 

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.