Ezboxx Ltd.
Home
logon
register
 

Random quote: Accept that some days you're the pigeon and some days you're the statue.
- (Added by: Wanderlust)


Having problem with formview
Moderators:

Jump to page : 1
Now viewing page 1 [25 messages per page]
   .Net Portal Development-> Ezboxx.Anthem Project
    
 
JefferyS
Profile
Contact
Albums
 
Message Options
Regular

Posts: 51
2525
Posted 2010-02-20 8:13 PM
Subject: Having problem with formview


Can't seam to get the formview to run the Callback-OnEnd or OnRender to work.


Code snippet:
<ezAnthem:FormView ID="FormView1" runat="server" Callback-UpdateAfterCallback="true" Callback-AddCallBacks="True" Callback-OnRender="function(){alert('Hello');}" onitemcommand="FormView1_ItemCommand" onitemupdated="FormView1_ItemUpdated" onitemupdating="FormView1_ItemUpdating" onmodechanged="FormView1_ModeChanged" onmodechanging="FormView1_ModeChanging">
            <HeaderTemplate><hr /></HeaderTemplate>
            <ItemTemplate>
                Name: <asp:Label ID="lblName" runat="server" Text='<%# Eval("Name") %>'></asp:Label><br />
                Alias: <asp:Label ID="lblAlias" runat="server" Text='<%# Eval("Alias") %>'></asp:Label><br />
                <ezAnthem:Button ID="btnEdit" runat="server" Callback-AddCallBacks="true" Text="Edit" CommandName="Edit" CommandArgument="" /><br />
            </ItemTemplate>
            <EditItemTemplate>
                Name: <asp:TextBox ID="tbName" runat="server" Text='<%# Bind("Name") %>'></asp:TextBox><br />
                Alias: <asp:TextBox ID="tbAlias" runat="server" Text='<%# Bind("Alias") %>'></asp:TextBox><br />
                <ezAnthem:Button ID="btnUpdate" runat="server" Callback-AddCallBacks="true" Text="Update" CommandName="Update" /> <ezAnthem:Button ID="btnCancel" runat="server" Callback-AddCallBacks="true" Text="Cancel" CommandName="Cancel" /><br />
            </EditItemTemplate>
            <FooterTemplate><hr /></FooterTemplate>
        </ezAnthem:FormView>
        <div><ezAnthem:Label ID="lblMessage" runat="server" Callback-UpdateAfterCallback="true" AllowLimitedHtml="False" EnableViewState="False"></ezAnthem:Label></div>
 

Using latest svn code.

Thanks,

JefferyS

 


 
Zan
Profile
Contact
Albums
 
Message Options



Ezboxx Founder

Posts: 2707
2000500100100
Posted 2010-02-21 10:05 PM
Subject: RE: Having problem with formview


 

kk i'll investigate mate

 
Zan
Profile
Contact
Albums
 
Message Options



Ezboxx Founder

Posts: 2707
2000500100100
Posted 2010-02-23 3:01 PM
Subject: RE: Having problem with formview


 

I havent forgotten Jeffries, hang in their mate

 
Jump to page : 1
Now viewing page 1 [25 messages per page]
Printer friendly version
E-mail a link to this thread
Jump to forum :


Debug mode : Seconds to generate: [0.121] - Executed queries : [28]
Running MegaBBS ASP Forum Software v2.0
© 2003 PD9 Software
And Ezboxx Portal System Beta v 0.7.6
Delete all cookies set by this site