Search

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

Matching Posts

  • Before going to AOP - Getting property name

    Hi! I have two instances of class A, I need to set the ID from the first A to the id of the second A, but I don't know the property name, in this case ID, I have the return variable of the first ID, the second and first object. How can I set second.ID = first.ID without knowing that the property name is ID? Is there anyway to do that without the property name? If not, I have few options, first is set the name of the property on the get method of each property that I have to do that(and they are
    Posted to Getting Started (Forum) by tijoen on 6/24/2009
    Filed under: property, as.net, AOP, propertyinfo, aspect
  • Re: Before going to AOP - Getting property name

    anyone with experience/understanding of AOP?
    Posted to Getting Started (Forum) by tijoen on 6/24/2009
  • Re: Paging recordsets from various databases

    Thanks, it helped me too.
    Posted to Tips & Tricks (Forum) by tijoen on 6/23/2009
  • Re: GridView, generics and Paging.

    Hey, I found a solution I thought we could only use static stuff from objectdatasource, but it is not true you can comehow tell it to use a already instance of a list here: http://forums.asp.net/t/1069129.aspx basically you have to use the ObjectCreating event of ODS
    Posted to Data Presentation Controls (Forum) by tijoen on 6/23/2009
  • GridView, generics and Paging.

    Hi, I am building a custom gridview that automatically do some stuff. I am trying to page the rows of gridview; AllowPaging works nice with normal sql adapters and such, but I got a problem with my generics. My List instance already gets the right quantity of rows from the database, so I set the gridview's datasource to this list and it binds nicely, but the pages don't appear... because the .Count of the list is exatcly what fits the PageSize of gridview pagesettings. Is there a way to change
    Posted to Data Presentation Controls (Forum) by tijoen on 6/20/2009
    Filed under: gridview generics paging
  • Re: GridView, generics and Paging.

    Thanks a lot for your quick response. I gotta go now but as soon as I get back I will read the link you wrote and I will reply here and mark as answer if it help me with my problem. Again, thanks a lot! Jonathan
    Posted to Data Presentation Controls (Forum) by tijoen on 6/20/2009
  • Re: GridView, generics and Paging.

    me again, I read the codes on the link you put and it I guess it doesn't work the way I need... but it can be my bad english :( problem example: List<string> tlist = new List<string>(); obj1 = new Customer(); obj2 = new Customer(); tlist.add(obj1); tlist.add(obj2); lets say the gridview has a pagesize = 2 if we bind tlist on a gridview, it will show 2 rows because of the 2 items added, how can I tell the gridview that the real size of the tlist is 3 so it can create the pagination
    Posted to Data Presentation Controls (Forum) by tijoen on 6/20/2009
  • Re: ViewState within or not within UpdatePanel

    just solved the problem, the version of the registeredhiddenfield of the Page class is deprecated. I changed it to RegisterHiddenField from the ScriptManager class(you have to add reference to System.Web.Extensions) and then all worked just fine. Thanks for the effort of helping me, I appreciate a lot. Jonathan
    Posted to ASP.NET AJAX UI (Forum) by tijoen on 5/29/2009
  • Re: ViewState within or not within UpdatePanel

    Found it, I changed the way that viewstate is loaded and saved within the class, so it wouldn't be sent to the client here: 1 protected override object LoadPageStateFromPersistenceMedium() { 2 string t = CBancoDeDados.StorageType == null ? string .Empty : CBancoDeDados.StorageType; 3 4 switch (t.ToLower()) { 5 case "session" : 6 string key = Request.Form[ " MYKEY " ]; 7 return Session[key]; 8 default : 9 case "page" : 10 return base .LoadPageStateFromPersistenceMedium
    Posted to ASP.NET AJAX UI (Forum) by tijoen on 5/29/2009
  • Re: ViewState within or not within UpdatePanel

    F******* all my pages derive from a class, then I jsut made this page with updatepanel problem to derive from the system.web.ui.page and then it worked within the updatepanel when I found out why, I write it here thanks for te effort on helping, Jonathan
    Posted to ASP.NET AJAX UI (Forum) by tijoen on 5/29/2009
Page 1 of 3 (27 items) 1 2 3 Next >