Click here to Skip to main content
15,925,723 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: difference between asp file upload and html file upload Pin
Aslesh1-Dec-08 13:45
Aslesh1-Dec-08 13:45 
QuestionExtending javascript types generated by ASP.NET Pin
bnieland1-Dec-08 11:26
bnieland1-Dec-08 11:26 
Questionusing a dropdownlist, textbox, and a button to search sql 05 database Pin
brownk12971-Dec-08 9:22
brownk12971-Dec-08 9:22 
AnswerRe: using a dropdownlist, textbox, and a button to search sql 05 database Pin
Christian Graus1-Dec-08 9:43
protectorChristian Graus1-Dec-08 9:43 
GeneralRe: using a dropdownlist, textbox, and a button to search sql 05 database Pin
brownk12971-Dec-08 9:51
brownk12971-Dec-08 9:51 
GeneralRe: using a dropdownlist, textbox, and a button to search sql 05 database Pin
Christian Graus1-Dec-08 10:18
protectorChristian Graus1-Dec-08 10:18 
GeneralRe: using a dropdownlist, textbox, and a button to search sql 05 database Pin
Paul Conrad1-Dec-08 11:25
professionalPaul Conrad1-Dec-08 11:25 
QuestionHow to make DataGrid TemplateColumn ItemTemplate and EditItemTemplate the same without duplicating code? Pin
Cyrilix1-Dec-08 8:39
Cyrilix1-Dec-08 8:39 
Currently, I have something like this:

<asp:DataGrid>
  <asp:TemplateColumn>
    <ItemTemplate>
      //some markup that tells us what controls to draw for ItemTemplate
    </ItemTemplate>
    <EditItemTemplate>
      //same markup as in ItemTemplate which should not be duplicated
    </EditItemTemplate>
  </asp:TemplateColumn>
</asp:DataGrid>


I was wondering if there was a way (either behind the scenes in C#) or in the markup itself, to make it so that we don't have to duplicate the markup. There was a thread I found for the FormView control, where we could set FormView.EditItemTemplate = FormView.ItemTemplate, but unfortunately, this is not available for the DataGrid TemplateColumn type.
AnswerRe: How to make DataGrid TemplateColumn ItemTemplate and EditItemTemplate the same without duplicating code? Pin
Samer Aburabie1-Dec-08 10:39
Samer Aburabie1-Dec-08 10:39 
GeneralRe: How to make DataGrid TemplateColumn ItemTemplate and EditItemTemplate the same without duplicating code? Pin
Cyrilix1-Dec-08 11:59
Cyrilix1-Dec-08 11:59 
Questionfile upload to FTP ? Pin
Aslesh1-Dec-08 7:37
Aslesh1-Dec-08 7:37 
AnswerRe: file upload to FTP ? Pin
Muhammad Gouda1-Dec-08 8:04
Muhammad Gouda1-Dec-08 8:04 
GeneralRe: file upload to FTP ? Pin
Aslesh1-Dec-08 8:14
Aslesh1-Dec-08 8:14 
GeneralRe: file upload to FTP ? Pin
Muhammad Gouda1-Dec-08 8:29
Muhammad Gouda1-Dec-08 8:29 
QuestionCustom Control property problem Pin
Dirso1-Dec-08 6:48
Dirso1-Dec-08 6:48 
AnswerRe: Custom Control property problem Pin
Dirso1-Dec-08 9:21
Dirso1-Dec-08 9:21 
AnswerRe: Custom Control property problem Pin
Christian Graus1-Dec-08 9:45
protectorChristian Graus1-Dec-08 9:45 
GeneralRe: Custom Control property problem Pin
Dirso1-Dec-08 12:53
Dirso1-Dec-08 12:53 
GeneralRe: Custom Control property problem Pin
Christian Graus1-Dec-08 14:18
protectorChristian Graus1-Dec-08 14:18 
AnswerWindows Workflow Foundation Pin
scottichrosaviakosmos1-Dec-08 6:36
scottichrosaviakosmos1-Dec-08 6:36 
GeneralRe: Windows Workflow Foundation Pin
Paul Conrad1-Dec-08 6:47
professionalPaul Conrad1-Dec-08 6:47 
QuestionRender Page to Word [modified] Pin
kenexcelon1-Dec-08 5:42
kenexcelon1-Dec-08 5:42 
QuestionCan't Delete Cookie being accessed from subdomains Pin
Mateobus1-Dec-08 5:26
Mateobus1-Dec-08 5:26 
QuestionGridview binding issue Pin
mpavas1-Dec-08 3:14
mpavas1-Dec-08 3:14 
AnswerRe: Gridview binding issue Pin
Muhammad Gouda1-Dec-08 3:41
Muhammad Gouda1-Dec-08 3:41 

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.