Click here to Skip to main content

ASP.NET

   

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
GeneralRe: Close the Popup After Update PinmemberVuyiswa Maseko19:53 22 Feb '12  
QuestionError in deploying Asp.net web application with crystal report version 13 Pinmemberakosidandan4:14 22 Feb '12  
AnswerRe: Error in deploying Asp.net web application with crystal report version 13 Pinmemberamargujrathi200618:26 23 Feb '12  
QuestionASP.Net timeout Pinmemberberba1:39 22 Feb '12  
AnswerRe: ASP.Net timeout Pinmembermark merrens12:07 22 Feb '12  
AnswerRe: ASP.Net timeout Pinmvpthatraja19:54 22 Feb '12  
QuestionUpdatePanel inside TemplateField PinmemberHanzaplast1:22 22 Feb '12  
hi
 
can i update/insert record directly from markup if i use UpdatePanel inside asp.net GridControls (GridView, DetailsView, FormView...) using SqlDataSource
 
this is what i am trying to do
 
<asp:GridView runat="server" ID="gv" 
    DataSourceID="mySqlDataSource"
    DataKeyNames="id"
    AutoGenerateEditButton="true"
    AutoGenerateColumns="false">
    <Columns>
        <asp:BoundField DataField="Naziv" />
        <asp:BoundField DataField="Opis" />
        <asp:TemplateField>
            <ItemTemplate>
                <%#Eval("html") %>
            </ItemTemplate>
            <EditItemTemplate>
                <asp:UpdatePanel runat="server" ID="up">
                    <ContentTemplate>
                        <asp:TextBox Text='<%#Bind("html") %>' runat="server" ID="tb" />
                    </ContentTemplate>
                </asp:UpdatePanel>
            </EditItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
 
i can bind "html" field to "tb" TextBox, but executing update or insert command of "gv" i cant update/insert "html" field as long as it is inside UpdatePanel.
 
i can dynamicly find control ("tb" TextBox) using RowUpdating event and set value that way, but i am just wondering if this can be done with no extra code?
QuestionDatagrid - how to display an Image PinmemberBazzer7470:34 22 Feb '12  
Questioncreate subdomain in the asp.net Pinmemberapadana_198923:07 21 Feb '12  
AnswerRe: create subdomain in the asp.net Pinmembermark merrens12:08 22 Feb '12  
QuestionAutomatically Printing Crystal Reports in ASP.NET Pinmembersaidfathi21:22 21 Feb '12  
QuestionHow to remove CC and To in Outlook using Outlook Add in Template in .net Pinmemberpalanirajan20:50 21 Feb '12  
Questionsmtp: help how make emails deliver to inbox not junk box Pinmemberawedaonline0:43 21 Feb '12  
AnswerRe: smtp: help how make emails deliver to inbox not junk box PinmvpRichard MacCutchan1:32 21 Feb '12  
Questionhelp how make emails deliver to inbox not junk box Pinmemberawedaonline0:42 21 Feb '12  
AnswerRe: help how make emails deliver to inbox not junk box PinmvpRichard MacCutchan1:31 21 Feb '12  
QuestionIIS URL Pinmemberzead21:46 20 Feb '12  
AnswerRe: IIS URL PinprotectorPete O'Hanlon23:04 20 Feb '12  
QuestionAccessing usercontrols inside placeholder control using jQuery Pinmembermeeram39520:26 20 Feb '12  
AnswerRe: Accessing usercontrols inside placeholder control using jQuery Pinmemberjkirkerx15:43 21 Feb '12  
AnswerRe: Accessing usercontrols inside placeholder control using jQuery PinmemberShameel23:31 21 Feb '12  
QuestionHow to generate a barcode generator in ASP.NET Pinmemberblueskysinger16:28 20 Feb '12  
QuestionAsp.net4.0: Ajax Control ToolKit Pinmemberranu.khandelwal@gmail.com2:06 20 Feb '12  
AnswerRe: Asp.net4.0: Ajax Control ToolKit Pinmemberantish15:42 20 Feb '12  
QuestionDelete all existing files prior to publish + Recover deleted files PinmemberNTheOne1:04 20 Feb '12  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Beta | 2.5.120517.1 | Last Updated 22 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid