Search

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

Matching Posts

  • Re: Dropdown selection based on other dropdown list for State, city, Zipcode.

    looks like a cut/paste issue. Your clearing out the states in Loadcitys and Loadstates: radddlstate.Items.Clear();
    Posted to Web Forms (Forum) by Rick Matthys on 12/3/2009
  • ajax timer resets Postback - sometimes....

    This is a squirelly one... It only happens every so often, which makes it much harder to debug. I have a page with a timer that kicks over every couple of seconds when a search is started. In the codebehind I do some special processing if IsPostback is false. What I'm seeing is that every day or two when the timer kicks off, IsPostBack == false, which really jacks it up as it's doing a ton of processing every couple of seconds instead of when the page loads for the 1st time. Has anyone seen
    Posted to Web Forms (Forum) by Rick Matthys on 8/11/2009
  • Re: Response.Redirect after file download

    Hello kriz, Response.End() throws a ThreadAbortException, so it never gets to the Response.Redirect line. Likewise, Response.Redirect("xxxxxx") calls Response.End(), so you won't execute any lines below Response.Redirect ~Rick
    Posted to Web Forms (Forum) by Rick Matthys on 7/27/2009
  • Re: Nested dynamic table within a dynamic table

    In addition to not adding cell2 to row2 as mentioned above, you may also want to consider the ordering in which your are adding controls and setting properties. Recall that viewstate tracking is kicked in after controls are added to the control tree. If you plan on rebuilding these tables on postback, and using the viewstate to restore all the properties, then you should: 1) Create the table, row, cell, and hyperlink and add them to the controls (so they're part of the control tree) 2) Once you
    Posted to Web Forms (Forum) by Rick Matthys on 7/27/2009
  • Re: Displaying HTML form in a web page

    Yes, you can use an IFrame as others have suggested. Here's a page with links to examples and resources if you decide to go this route: http://codebetter.com/blogs/darrell.norton/archive/2004/12/07/35424.aspx But before you do, ask your self if this is really that best path to take. Is the existing page where the html currently resides going to remain intact forever? Was the existing page designed with a little foresight so the business logic is separated from the GUI? If not, is it so complex
    Posted to Web Forms (Forum) by Rick Matthys on 7/27/2009
  • Re: Change CSSclass on a label in codebehind

    Hello Kris, Your code should be fine the 1st pass. I.E. you click a button, call the event handler, and you add the error message as shown above. BUT, if you click another button, or cause another postback, your settings will be lost. On subsequent postbacks you have to recreate the label in the proper order. But even if you do so, you will find that the viewstate (i.e. cssclass and error message) will be lost since you set those values before adding it to the control tree. If you want the viewstate
    Posted to Web Forms (Forum) by Rick Matthys on 7/24/2009
  • Re: Removing selection on Focus

    Give this a kick: textBox.GotFocus += delegate { textBox.Select(0, 0); }; ~Rick
    Posted to Web Forms (Forum) by Rick Matthys on 7/24/2009
  • Re: How to close child and redirect to another form with a value

    Hello demon, Set a breakpoint the line after the Response.Redirect. I think you'll be surprised when you find that it never gets there. Response.Redirect calls Resonse.End, which in turn throws a ThreadAbortException. If your goal is to have the redirect in the parent page, this link might help... http://stackoverflow.com/questions/925357/response-redirect-on-popup-to-go-to-main-page ~Rick
  • Re: crawling through a forms protected site

    Hello ppham, As far as google is concerned, www.abc.com/id=123 is a completely different page than www.abc.com/id=456 . As long as these urls exists somewhere, google will eventually get to it. To make it easier for google, you can make a sitemap.xml file containing the links for the hard to find urls. Just google for "google webmaster tools" and it will be clear on how to create it and upload it to google. ~Rick
    Posted to Security (Forum) by Rick Matthys on 7/24/2009
  • Re: XmlHttpRequest occasionally slow

    One way to verify is to bring up the task manager, select view->select columns->PID. If it happens a few times in a few minutes, it'll be pretty easy to see if the process id changes for the worker process.
Page 1 of 34 (336 items) 1 2 3 4 5 Next > ... Last ยป