Search

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

Matching Posts

  • Multiline textbox

    Would anyone know if there is a way to create a multiline textbox for data entry? Mine doesn't seem to work -- the text does not wrap around but is all on one line. <asp:TextBox ID="tbMessageText" runat="server" Height="100px" Width="400px" Wrap="true" Columns="45" Rows="5"></asp:TextBox> tbMessageText.Text = "The message text goes here but doesn't wrap for some reason."; Is there another control I
    Posted to Getting Started (Forum) by crickets on 9/17/2009
  • Re: How can I create a timer on my web page?

    Thanks for asking. This is for a page that allows students to answer test questions. They have about 40 minutes to answer a series of questions, so the timer would show on the page and count down. Hope this helps.
    Posted to Data Presentation Controls (Forum) by crickets on 8/13/2009
  • How can I create a timer on my web page?

    I have a web page that needs to display a timer that counts down. Would anyone know of a way to do this? Thanks
    Posted to Data Presentation Controls (Forum) by crickets on 8/12/2009
  • How do you pass a variable by reference in C#

    How would you pass a variable by reference in C#? I have a procedure that get a string from a database, and I would like to pass the value retrieved back to the calling area. Specifically, I would like to get the value from sTestimonialText sent back. The code looks something like this: private static bool GetTestimonial(System.Web.UI.Page Page, string sTestimonialText) { bool bReturn = false; // Prepare procedure SqlConnection sqlConn = new SqlConnection((string)Page.Session["g_Database_Connection_Text"
    Posted to Getting Started (Forum) by crickets on 3/4/2009
  • GetTypeHashCode() compile error after conversion

    Would anyone know what might be causing the following compile errors? I just converted a project form VS 2003 to VS 2005. Error 1 'ASP.parent_newsletters_aspx.GetTypeHashCode()': no suitable method found to override c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\admox30\28b4c3da\1ad82054\App_Web_tfsdbvxg.4.cs 3219 Error 2 'ASP.parent_newsletters_aspx.ProcessRequest(System.Web.HttpContext)': no suitable method found to override c:\WINNT\Microsoft.NET\Framework
  • Re: Multiple choice answers carrying forward to next page requests

    We added code to disable the Next button click on the client side. This seems to be working. Thanks for the suggestion though! private void Page_Load(object sender, System.EventArgs e) { if (!Page.IsPostBack) { // Prevent multiple button clicks System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append("if (typeof(Page_ClientValidate) == 'function') { "); sb.Append("if (Page_ClientValidate() == false) { return false; }} "); sb.Append("this.src='../buttons/arrow_off.gif';"); sb.Append
    Posted to Web Forms (Forum) by crickets on 4/30/2007
  • Re: Ie timing-out after 30 minutes for 1 user

    This was a good suggestion. I did check a couple of database tables, where we log activity. I found some longer and some shorter sessions for this user. Although, after some of the shorter sessions (125270, 125282, 125349, 125351) it looks like the user was bumped out, because the login page is loaded at the end of the session, which is what I would expect if somehow the session expired. Any ideas why this might happen? session_id session_start_date session_minutes ----------- ------------------
    Posted to Security (Forum) by crickets on 4/30/2007
  • Ie timing-out after 30 minutes for 1 user

    We have an Internet Explorer (Ver 6.0.2800) user that claims she cannot stay logged in to our website (.Net 1.1) longer than 30 minutes. She apparently has had this problem for some time now. I don’t experience the problem myself, nor am I aware of others reporting the issue. Our SessionState is set to 35 minutes and our Forms timeout is set to 30 minutes. Would anyone know what the problem might be? IE settings perhaps? Thanks!
    Posted to Security (Forum) by crickets on 4/26/2007
  • Timeout problem

    I have problem with stored procedures timing out. The procedures, when run through Query Analyzer, run for a few minutes and complete successfully. However, while shorter running procedures work fine, longer ones receive an Error Message Page with a Stack Trace message of: [HttpException (0x80004005): Request timed out.] The exception thrown says: Thread was being aborted. A code sample is below. Would anyone know why this is happening? Thanks! // Prepare procedure SqlConnection sqlConn = new SqlConnection
  • Multiple choice answers carrying forward to next page requests

    I have problem with a website that collects user responses to multiple choice questions. The users choose a value from a Radio Button, and then click on a Next button to go to the next page. The problem occurs when users click on the Next button too quickly. For example, when you click a few times, in rapid succession, even thought the pages are not displayed between the first and the page you arrive at, the same multiple choice response is recorded from the first page. Would anyone be able to tell
    Posted to Web Forms (Forum) by crickets on 3/17/2007
Page 1 of 1 (10 items)