Search

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

Matching Posts

  • PostBack and AsyncPostback Triggers for Dynamically Created Controls

    My project requires adding everything dynamically, to include AJAX elements (even the script manager). Everything works great, except I need to force one item in an update panel to NOT do an AJAX postback, but a full postback instead. In static ASPX page, I would do this by adding a triggers collection and specifying a standard postback for that control. Trying to do the same thing with the dynamic control, but it doesn't seem to cooperate. The dynamic controls are always doing AJAX postbacks
    Posted to Getting Started (Forum) by ataxia1 on 10/1/2009
  • Re: Problem loading site in IE8

    I believe the Marquee command you are using is breaking the page. Try disabling that and see if it runs in IE8.
    Posted to Web Forms (Forum) by ataxia1 on 9/24/2009
  • Get AJAX postback calling event or control

    I've added a javaScript handler that gets called at the end of any async postback. Is there a way to get either the control (or preferably, the event) that caused the postback? The following is the javaScript I'm using to add the post-postback event. It works fine. I just need a way to get the event name. Sys.Application.add_init(appl_init); function appl_init() { var pgRegMgr = Sys.WebForms.PageRequestManager.getInstance(); pgRegMgr.add_endRequest(EndHandler); } function EndHandler() { if
    Posted to Getting Started (Forum) by ataxia1 on 9/24/2009
  • Re: Get AJAX postback calling event or control

    Perfect! Can't thank you enough. Do you happen to know where I can find a reference for all the available methods available on sender and args in the beginRequest and endRequest events? Seems like that could be really useful. PS - Might want to change it to pgRegMgr.add_beginRequest(BeginHandler); for future readers of this post.
    Posted to Getting Started (Forum) by ataxia1 on 9/24/2009
  • Re: Dynamics AX Query Problem

    Learned that firstOnly hints to Dynamics to provide the first(x) records, but doesn't guarantee it. Still looking for a good way to limit the number of records returned.
    Posted to Other Databases (Forum) by ataxia1 on 9/23/2009
  • Re: .ToString, System.Convert.ToString(), CStr(), CType("", String)

    Based on the previous responses, this is what I'm taking away: There isn't a single method that can be used at all times. - If receiving null is not a possibility, use .ToString() - For anything that could return null, such as user, session, or database input, use .ToString() + some sort of null check. - System.Convert is brute force... ok, is that bad? Is .ToString() + null check better? Is there anything wrong with writing a function (as suggested in the last post) that checks for null
    Posted to Getting Started (Forum) by ataxia1 on 9/23/2009
  • .ToString, System.Convert.ToString(), CStr(), CType("", String)

    This is a follow-on question to a previous thread (linked below) but is really an entirely new question. With Option Strict on, everything must explicitly be converted to the correct type. Not a big deal. I started my project by adding .ToString to everything as needed and was in good shape until trying to read a session variable. Discovered that .ToString crashes on a null value. Converted every .ToString in my project to System.Convert.ToString(obj) and all was right with the world... ...until
    Posted to Getting Started (Forum) by ataxia1 on 9/21/2009
  • Dynamics AX Query Problem

    Trying to do a very simply query against a Dynamics database via the Business Connector. SELECT firstOnly * FROM %1 ORDER BY TRANSDATETIME DESC This returns one record, as it should. SELECT firstOnly10 * FROM %1 ORDER BY TRANSDATETIME DESC This does not work and returns every record in the table; it should return only 10 Does Dynamics have an equivalent to SQL's TOP function where you can specify how many records you want back instead of just 1, 10, 100, 1000? Here's the query reference:
    Posted to Other Databases (Forum) by ataxia1 on 9/14/2009
  • Null value toString = Object Reference error

    In researching, I've found several posts that discuss similar issues and pose a few suggestions (some of which are ridiculously complex), but it would be nice to have a simple, definitive answer. SCENARIO: Session("Defined") = "Happy .net" Response.Write Session("Defined").ToString Results in: "Happy .net" Response.Write Session("Not_Yet_Defined").ToString Results in: "Object reference not set..." What is the best way to trap and prevent
    Posted to Getting Started (Forum) by ataxia1 on 9/11/2009
  • Re: Error Deploying Custom WebPart

    Was able to solve this problem by doing a fresh install of SharePoint and the Sharepoint extensions for Visual Studio 2008. Then, used Build > Deploy in Visual Studio instead of trying to compile and deploy manually.
    Posted to Web Parts and Personalization (Forum) by ataxia1 on 8/27/2009
Page 1 of 16 (159 items) 1 2 3 4 5 Next > ... Last »