Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Justin115

    TemplateColumns disappearing from GridView

    Someone on the ASP.Net forums helpfully gave me the solution. My code needs to go not in Page.Init, but in myGridView.Init. That makes all the difference in the world. Thanks for the help, everyone.
  2. Justin115

    TemplateColumns disappearing from GridView

    Is there something specific in those two articles you thought I should look at? They both seem to be about creating templates programatically, which isn't what I'm trying to do. I guess I could try dynamically generating all of my fields, including the two template fields--that may have been...
  3. Justin115

    TemplateColumns disappearing from GridView

    I thought it had a good chance, but it didn't work. I tried all of the events in the page lifecycle, and aside from PreInit throwing an error, the rest acted the same as PageLoad.
  4. Justin115

    TemplateColumns disappearing from GridView

    I'm dynamically adding columns to a GridView which contains two declaratively-defined TemplateFields which each contain a LinkButton. When I add the new columns after the TemplateColumns, everything works fine. But when I insert the columns into the beginning of the GridView's columns...
  5. Justin115

    Best practice for letting VB know that your method throws an exception

    I won't be returning anything in the event of the exception--I'll be throwing another exception--so should I really be pretending that I might return that uninitialized value? Setting the return values to null (duh!) is definitely better than anything I'd thought of, but it still isn't...
  6. Justin115

    Best practice for letting VB know that your method throws an exception

    In my SQL data access layer in a VB 2005 class library, I have a few blocks which fit the following pattern: try execute SQL command catch DataException process exception (log it, etc.) generate and throw new DataException (with the original exception as an inner exception)...
  7. Justin115

    Can't debug unit tests of an ASP.NET project in VS 2005

    The one that comes with the team system thingie. I meant to mention that; sorry.
  8. Justin115

    Can't debug unit tests of an ASP.NET project in VS 2005

    I'm trying to use the debugger to step through some unit tests I wrote for an ASP.NET 2.0 web service. Unfortunately, I can't get the debugger to hit any of my breakpoints. It flys right by breakpoints in both the unit test code and the code in the web service project. If it matters, I'm not...

Part and Inventory Search

Back
Top