Search

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

Matching Posts

  • Re: Error only occurs if I have a step thru a method

    The error is actually occuring in a custom class that is running a concurrency check. Basically, the following is inserting a new record in a table. The value transid is used by the class to check that the record has not been inserted before possible by someone refreshing a page to cause another insert. We use this class in many places on our websites without issues. Using sqlOp As New CustomClass("MyTable"), _ conn As New System.Data.SqlClient.SqlConnection(m_ConnectionString) conn.Open
    Posted to Getting Started (Forum) by dsa1971 on 11/17/2009
  • Re: Error only occurs if I have a step thru a method

    The error actually occurs on the call to the Execute method. It actually thinks the value TransID is not set even though it definitely has a value. I have to step through the Execute method of my class to see what's happening. It's weird that it works fine if I do not step through. UPDATE: Thanks for all the replies offering assistance. I have now come to find out that this is a known issue with one of our custom classes developed by another programmer. Something to be dealt with later I
    Posted to Getting Started (Forum) by dsa1971 on 11/17/2009
  • Error only occurs if I have a step thru a method

    I have a method that errors only when I step thru it. When I run the program without stepping thru it I have no issues. Any ideas?
    Posted to Getting Started (Forum) by dsa1971 on 11/16/2009
  • single template server control

    Is it possible to have a custom server control with a single template (meaning the user can put any text they want) without having to require the an "ItemTemplate" like in a FormView control? I would want the control in Source View to look like this <foo:mycontrol runat="server" id="controlid"> User puts whatever html content they want here </foo:mycontrol> INSTEAD OF THIS <foo:mycontrol runat="server" id="controlid"> <ItemTemplate>
    Posted to Custom Server Controls (Forum) by dsa1971 on 10/2/2009
    Filed under: custom server control, itemplate
  • Re: Dynamically add textbox to formview

    Thanks. I did know that I had forgotton that fact and also was fooled because my page is using an updatepanel so visually I was not thinking it was a postback.
    Posted to Data Presentation Controls (Forum) by dsa1971 on 7/2/2009
  • Dynamically add textbox to formview

    I think I am missing something obvious. I'm trying to add 1 or textbox dynamically in a formview inserttemplate in the button the user clicks. Clicking the button once adds a textbox but any clicks after that do not add buttons. In the formview I have a placeholder control and am using controls.add to add the textboxes. Am I missing something obvious?
    Posted to Data Presentation Controls (Forum) by dsa1971 on 7/1/2009
  • Best Practice for handling this screnario in ASP.NET MVC

    I have seen a few examples of handling cascading dropdowns in ASP.NET MVC using jQuery and Ajax. Of course, this requires javascript to be enabled. Assuming javascript is disabled what would be a best practice for handling cascading dropdowns in ASP.NET MVC Here is a real-world scenario of a asp.net web form I develop for a inventory app for th company I work. On the web page I have cascading dropdowns. For this example, say a dropdown of Car Makes and a Car Model which depends on the selected Car
    Posted to ASP.NET MVC (Forum) by dsa1971 on 5/19/2009
    Filed under: MVC
  • load user control dynamically and subscribe to event

    I have a page where I want to load user controls dynamically and subscribe to an event raised by the user control. The user controls will define a standardly named public event and will raise this event. I want the page that dynamically loaded the user control to be able to subscribe to this event. I know how to do this when I drop a user control on a page but how do I subscribe to a dynamically loaded user control's event?
    Posted to Web Forms (Forum) by dsa1971 on 4/9/2009
  • Re: What should I use for the model?

    Are you looking for something free? I don't think nHibernate is still in beta. I think nHibernate has a steeper learning curve than other ORMs though and it may be more than you need. I've heard good things about LLBLGen and I've toyed around with Lightspeed. You can certainly can write your own entity classes but that is a lot of work.
    Posted to ASP.NET MVC (Forum) by dsa1971 on 3/19/2009
  • Re: GridView Questions

    If you're frowning on inline if/thens in your View then I think MVC may not be for you. That's how you handle things in your View. You can create an html helper but that's just abstracting away the inline manipulation. You can also use javascript, jQuery is shipped with MVC, to manipulate your View. jQuery is pretty powerful and you can tweak styles and html pretty easily with it.
    Posted to ASP.NET MVC (Forum) by dsa1971 on 3/19/2009
Page 1 of 12 (111 items) 1 2 3 4 5 Next > ... Last ยป