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:660453
More Search Options
RSS Available
Matching Posts
Re: ListBox and ViewState
Check here for a detailed example: http://msdn2.microsoft.com/en-us/library/aa479403.aspx
Posted to
Web Forms
(Forum)
by
sebastian.piu
on 11/7/2007
Re: ListBox and ViewState
You cannot get rid of the viewstate and keep the state of the listboxes. Viewstate is the responsible of keeping that data. What you can do is persist the viewstate in someplace else, like Session. This way the viewstate won't use space in your pages making them load faster. Specially with slow connections
Posted to
Web Forms
(Forum)
by
sebastian.piu
on 11/7/2007
Re: dynamic UserControl from ParentPage
Best solution would be to do a public property on your user control that modifies the text property of the label. //Load the user control dynamically MyCustomUserControl myCustomUserControl= (MyCustomUserControl) LoadControl( "MyCustomUserControl.ascx" ); //set the text property myCustomUserControl.MyLabelText = "Hello" ; Where on MyCustomUserControl.cs you would have something like public string MyLabelText { get { return label1.Text; } set { label1.Text = value ;} } hope this
Posted to
Web Forms
(Forum)
by
sebastian.piu
on 11/7/2007
Re: ListBox and ViewState
I´ve had similar problems with huge viewstates due to controls binded with lots of data. The solution I've implemented moves the viewstate to session. Check here for more info: http://msdn2.microsoft.com/en-us/library/system.web.ui.sessionpagestatepersister.aspx Hope this helps!
Posted to
Web Forms
(Forum)
by
sebastian.piu
on 11/7/2007
Re: ListBox and ViewState
Sorry clicked two times, see post below :)
Posted to
Web Forms
(Forum)
by
sebastian.piu
on 11/7/2007
Re: UI for Database design
Hi I believe that what you saw is the "Server Explorer" view in visual studio. You can see this panel selecting "Server Explorer" under the View menu in visual Studio 2005. then all you need to do is add the database to the data connections node.
Posted to
Getting Started
(Forum)
by
sebastian.piu
on 11/7/2007
Re: CurrentUICulture get's reseted
if you want to force it to culture sv-SE, you should edit your web.config and set it there, otherways, culture must be set on every page request. Pages has an eventhandler called InitializeCulture .. there is where you should change it. ( be carefull as this is very early on the page cycle, you dont have session at that stage yet) Hope it helps
Posted to
Localization
(Forum)
by
sebastian.piu
on 7/28/2006
Re: How to do a language switch in a master page.
Check this basepage i've made, hope it helps .. ctl00$ddlLanguage is a dropdown that the user uses to switch cultures (this can be tweaked a bit). It should work with pages that use or don't a master page. If a culture change is detected OnCultureChange event is raised using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls;
Posted to
FAQ - Frequently Asked Questions
(Forum)
by
sebastian.piu
on 5/30/2006
Page 1 of 1 (8 items)
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:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online