Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:820813
More Search Options
RSS Available
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 >
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online