Search

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

Matching Posts

  • Very strange behavior involving UpdatePanel, GridView, and List<T> of a business object.

    I have a class called Person. public class Person { private string name; private char gender; public string Name { get { return name; } set { name = value ; } } public char Gender { get { return gender; } set { gender = value ; } } public Person(){} public Person( string name) { this .name = name; } } I set the DataSource of a gridview with List<Person>. Notice that I am leaving the Gender property blank. List<Person> list = new List(); list.Add( new Person( "David" )); list
    Posted to ASP.NET AJAX UI (Forum) by profnachos on 5/20/2009
  • Re: XML schema not showing an array two levels deep?

    Doesn't help. I still get only < OrderItems xsi:nil= "true" />
    Posted to XML Web Services (Forum) by profnachos on 4/15/2009
  • Re: Repeater

    What are you trying to do? It is a pretty simple control to use. Could you be more specific about what you are trying to do?
    Posted to ASP.NET MVC (Forum) by profnachos on 4/14/2009
  • Re: Unexpected Behaviour of user control in web page

    What is the point of using LoadControl? You might want to repost your code with proper indentations. It is impossible to follow it.
    Posted to Web Forms (Forum) by profnachos on 4/14/2009
  • XML schema not showing an array two levels deep?

    Here is the schema of the response from my webservice (My objects have been modified to the Order -> OrderItem hierarchy to demonstrate the problem.) 1 <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> 2 < soap:Body > 3 < SubmitRequestForOrdersResponse xmlns= "http://tempuri.org/" > 4 < SubmitRequestForOrdersResult
    Posted to XML Web Services (Forum) by profnachos on 4/14/2009
  • Re: A very rudimentary question about Reflection

    [quote user="joteke"]If you'd want properties you'd use Type.GetProperties[/quote] Thank you. It works. What Amish says is correct. Why should the private fields be accesable outside the class with or without Reflection?
    Posted to C# (Forum) by profnachos on 3/30/2009
  • A very rudimentary question about Reflection

    This is what my class looks like: public class Customer { private int _customerID; private string _lastName; private string _firstName; private string _privateProp; public int CustomerID { get { return _customerID; } set { _customerID = value ; } } public string LastName { get { return _lastName; } set { _lastName = value ; } } public string FirstName { get { return _firstName; } set { _firstName = value ; } } public Customer( int custID) { //retrieve from DB using customerID this ._customerID =
    Posted to C# (Forum) by profnachos on 3/30/2009
  • user control compilation issues

    Ever since I moved all user controls into sub-directories for better organization, I am having weird compilation issues. The two most common errors are - type <user control class name> is found in two places .... - CS0012: The type <user control class name>' is defined in an assembly that is not referenced When I had all user controls in the root directory, I NEVER had issues like these. It can't be a bad thing to organize files into folders instead of having them all in the root
    Posted to Web Forms (Forum) by profnachos on 3/23/2009
  • Dillema: Editable GridView rows

    These are the options I have explored A) CRUD gridview: It is too cumbersome to click edit, fill out the controls, and then click the update button for each row, not to mention having to wait for a postback for each button click. B) Placing server controls such as textbox, checkbox in ItemTemplate bloats the ViewState exponentially which is also unacceptable. C) This thread here discusses incoporating AJAX PopupControl in Gridview. This sounds like a great idea, but the code to make it work is for
    Posted to Data Presentation Controls (Forum) by profnachos on 3/19/2009
  • Weird issues with SQL performance

    In short, when I run the exact same scenario on both the production and test machines, the production machine is much slower by a factor of 20! - I copied the live database to the test machine. - In the middle of the night, I ran the exact same job on both machines. No users at night. A job took 45 seconds on the test machine. The exact same job took 15 minutes on the "live" machine. Well, the live machine is a much faster machine with more memory, etc. My system admin can probably tell
Page 1 of 11 (109 items) 1 2 3 4 5 Next > ... Last »