Search

You searched for the word(s): userid:721527

Matching Posts

  • Re: inherit .ascx file

    I used a "web site" solution for my project. There is a difference between "web site" solution and a "web application" solution. Are you using a "web site" solution?
    Posted to Web Forms (Forum) by z0333 on 10/19/2009
  • Re: inherit .ascx file

    Talk about a blast from the past… The father control dose displays its controls. The problem with inheriting user controls, is that the class that they are declared in is not accessible (well – at least I didn't find any way to access it - apart placing the control .ascx file in the APP_CODE. I *REALY* don't know if it's a good practice…). As I see it, if you need to inherit the control GUI that you declared in an .ascx file – you'll have to place it in the APP_CODE. It is possible
    Posted to Web Forms (Forum) by z0333 on 10/16/2009
  • Re: Zipped attachment

    Anyone?
    Posted to Web Forms (Forum) by z0333 on 8/9/2009
  • Re: Zipped attachment

    Only when the GZipStream object close the underlying FileStream I get a perfectly good Zip file. I'd like to understand why.
    Posted to Web Forms (Forum) by z0333 on 8/6/2009
  • Zipped attachment

    Hi, I'm trying to create a zip file in memory (without writing it on the disk) and send it as an email attachment. I use the following code: Dim b As Byte() = Encoding.ASCII.GetBytes("test test") Dim zipStraem As GZipStream Dim ms As New System.IO.MemoryStream Dim instance As New SmtpClient Dim MailMsg As MailMessage zipStraem = New GZipStream(ms, CompressionMode.Compress) zipStraem.Write(b, 0, b.Length) ms.Seek(0, IO.SeekOrigin.Begin) With instance .Host = "*****" .Credentials
    Posted to Web Forms (Forum) by z0333 on 8/5/2009
  • Re: Panel(Containing TextBox) Appearance and dissapearance

    <asp:LinkButton ID="LinkButton1" runat="server" CommandName="AskQuestions">Reply</asp:LinkButton> <asp:Panel ID="ReplyPanel" runat="server" Visible="false"> <table> <tr> <td> <asp:TextBox ID="txtReply" runat="server" TextMode="MultiLine" Rows="4" ></asp:TextBox><br /> <asp:Button ID="btnReply" runat="server" Text="Post"
    Posted to Web Forms (Forum) by z0333 on 7/26/2009
  • Re: Tracking changes in a formview when updating

    You can add the logic directly to your SQL: update table set cl=@c1, c2=@c2, ... cN=@cN where id=@original_id and (not c1=@c1 or not c2=@c2 or ... or not cN=@cN) by default e.ReturnValue will contain the number of rows effected (in the datasource_Updated event), so you can tell if an update occurred.
    Posted to Data Presentation Controls (Forum) by z0333 on 7/14/2009
  • Re: data not showing

    If the child control DataBind event is fired before the father control assigned value to the property of the child control – the child control will be empty. You can add a call for me. DataBind on the end of the “Set“ part of the property (right after ltlEmail.Visible = false;) or set the value of the property in an earlier stage of the page life-cycle (Page Init instead of Page Load).
    Posted to Web Forms (Forum) by z0333 on 7/13/2009
  • Re: Eliminate Empty Space when table.visible=false

    <asp:Table runat="server" Width="500px" HorizontalAlign="Center" CssClass="Table" Visible="false" style="margin-bottom:10px;" >
    Posted to Web Forms (Forum) by z0333 on 7/13/2009
  • Re: data not showing

    It might be the other way around… Maybe the father control is setting the property of the child control before it’s databind event. Did you try to set a breakpoint on the beginning of the "Set" part of the property?
    Posted to Web Forms (Forum) by z0333 on 7/13/2009
Page 1 of 9 (83 items) 1 2 3 4 5 Next > ... Last »