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:644369
More Search Options
RSS Available
Matching Posts
Re: Caml Query with Lookup field
Thanks for this! It saved my day. MSDN does not list the LookupId attribute of FieldRef !
Posted to
Windows SharePoint Services Hosting
(Forum)
by
pshisbey
on 4/2/2008
Re: FAQ: Why do dynamic controls disappear on postback and not raise events?
If you need to access viewstate you can initalize/create dynamic controls in LoadViewState which occurs between Page_Init and Page_Load. In LoadViewstate, access viewstate properties and create the controls , after the base.LoadViewstate call.
Posted to
FAQ - Frequently Asked Questions
(Forum)
by
pshisbey
on 1/9/2008
Re: Dynamic load control & viewstate problem
I just faced a situation where my dynamic controls wouldn't load posted values from viewstate on the first postback (all subsequent postbacks worked fine). I solved this by making sure the dynamic controls had their IDs set. But this still leaves me unsettled. If they handled viewstate perfectly on the 2nd, 3rd, etc... postback without their IDs being set (by me), why not on the first?
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
pshisbey
on 1/8/2008
Filed under: ViewState, asp.net, Dynamic Controls
Re: Edit Gridview After Filter applied (using an SQLDataSource)
Thanks Ogonovsky. I was having this exact issue. I did what you suggested and it works. You da man!
Posted to
Data Presentation Controls
(Forum)
by
pshisbey
on 12/17/2007
Re: UserProfileManager problem
Yes. If I remember correctly the problem was with the foreach call. If I used a simple for loop then it worked fine. Something like this (all wrapped in a SPSecurity.RunWithElevatedPrivileges call): numWebUsers = SPContext.Current.Web.AllUsers.Count; _numUserProfiles = 0; if (numWebUsers > 0) { ServerContext serverContext = ServerContext.GetContext(SPContext.Current.Site); UserProfileManager userProfileManager = new UserProfileManager(serverContext); profileAccountsList = new List< string >
Posted to
Windows SharePoint Services Hosting
(Forum)
by
pshisbey
on 9/7/2007
The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found.
I had this error in web part with GridView bound to an ObjectDataSource: The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found. My code looked like this: 1 protected override void OnInit(EventArgs e) 2 { 3 ObjectDataSource objDS = new ObjectDataSource(); 4 5 _objDS.ID = "myODS" ; 6 7 _objDS.TypeName = "myDataSetProxyClass" ; 8 9 _objDS.SelectMethod = "mySelectMethod" ; 10 11 this .Controls.Add(_objDS); 12 13 .
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
pshisbey
on 7/20/2007
Filed under: objectdatasource custom+paging, ObjectDataSource DataSet reuse, objectdatasource gridview datatable, web part ASP .NET 2
Re: Error: Too many characters in character literal
It's fixed. Don't know what was wrong but when I recopied and pasted both files it worked. Thanks for the help.
Posted to
Getting Started
(Forum)
by
pshisbey
on 2/15/2006
Re: Error: Too many characters in character literal
You're saying that I make major modifications to the sample file? I don't know. This code is taken from here : http://www.asp.net/QuickStart/util/srcview.aspx?path=~/aspnet/samples/tipstricks/CallBackEventHandler.src&file=CallBackEventHandler_cs.aspx.cs&lang=C%23+Source and it works for them.
Posted to
Getting Started
(Forum)
by
pshisbey
on 2/15/2006
Re: Error: Too many characters in character literal
budugu wrote: You are missing " ; " in OnSelectedIndexChanged.. Try this. < asp : DropDownList ID ="ParentDropDown" OnSelectedIndexChanged ="GetChildren(this.options[this.selectedIndex].value, 'ddl');" Runat ="server"> Thanks! You're right. However: < asp : DropDownList ID ="ParentDropDown" OnSelectedIndexChanged ='GetChildren(this.options[this.selectedIndex].value, "ddl");' Runat ="server"> Errors out with : ')' expected and invalid expression in term ')' < asp : DropDownList ID
Posted to
Getting Started
(Forum)
by
pshisbey
on 2/15/2006
Re: Error: Too many characters in character literal
Thanks. That did get rid of the "Too many literals" error but now it complains that there is no definition for "GetChildren", "options", and "selectedIndex". I'm using the code straight from ASP.Net. Why doesn't it work?
Posted to
Getting Started
(Forum)
by
pshisbey
on 2/15/2006
Page 1 of 2 (11 items) 1
2
Next >
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online