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:877881
More Search Options
RSS Available
Matching Posts
Retain user control gridview values after postback
Hi. I have a page which dynamically loads a user control with a gridview inside. The gridview is filled with checkboxes, each with a getter/setter method. If opening the page without parameters (all checkboxes unchecked), I am able to load my user control, retrieve the checkbox values and save to my database. If I am loading the checkbox values from the database, I am able to load the user control and check the boxes that were previously saved, no problem. The problem is, if after loading I uncheck
Posted to
State Management
(Forum)
by
bagustri
on 11/16/2009
Re: Retain user control gridview values after postback
Yes I am. In my Page_Init I have an IsPostBack check. If it is not a postback, it will load my grid to a placeholder, load the values from the database, and save the placeholder to a session. If it is a postback, it will load the grid from the session into the placeholder. I believe this is the problem, as this grid contains the old values. Any advice?
Posted to
State Management
(Forum)
by
bagustri
on 11/16/2009
Re: Retain user control gridview values after postback
But that is the problem. I'm trying to save the new values to database, but since it is a user control, I will have to reload the grid first before the button event is fired. The user control is inside an update panel. Would it help/be easier if I removed the update panels?
Posted to
State Management
(Forum)
by
bagustri
on 11/16/2009
Re: Advice on deploying to a hosting provider
Hello. Appreciate the advice. A provider has quoted me for a Virtual Private Server, which allows root access to the server and also a Plesk interface to manage the server. ASP.NET 3.5 is available, but the SQL Server offered is 2005 Express, which I think is adequate for our development needs. Do you foresee any problems or 'gotchas' I may run in to while deploying to such a server? Thanks again.
Posted to
Configuration and Deployment
(Forum)
by
bagustri
on 10/22/2009
Advice on deploying to a hosting provider
Hi All. I have been tasked to look for a hosting provider for a web application (CMS) that my company has developed. First of all, I am not usually the one taking care of the server side of things so I am not too familiar with what requirements I am looking for in a hosting provider. That person no longer works here. Therefore, I am not looking for recommendations of hosting providers, but I am looking for advice on what to look for in a provider. Some info about the application itself: - Web Application
Posted to
Configuration and Deployment
(Forum)
by
bagustri
on 10/20/2009
Re: Combining a website with a web application
Hi again, I've managed to add my colleague's website into my web application and things are looking good. I added his website as an application under mine. Pages are all working correctly, however, the routing only seems to work for files under my application. I am testing the routes using Phil Haack's route testing utility, and anything that is under his application folder does not get handled by the URL routing module. You have any advice on how to make my routes encompass his application
Posted to
Configuration and Deployment
(Forum)
by
bagustri
on 9/14/2009
Re: Combining a website with a web application
Thanks for the response, Jeff. I will try this out later. Might I ask though, will using this method break my URL routing? Since my routes are defined in my project's global.asax, and I would very much like to keep the routing capabilities available.
Posted to
Configuration and Deployment
(Forum)
by
bagustri
on 9/12/2009
Combining a website with a web application
Hi All, Me and my colleague are working on related projects. I am developing mine as a web application as I require URL routing capabilities. My colleague on the other hand, has developed his as a website. Separately, our projects run just fine with everything working as it should. However, now the requirements have changed, and we are required to combine our two projects together under one site. Simply adding his website into my solution gave a lot of errors. I would prefer to keep the final outcome
Posted to
Configuration and Deployment
(Forum)
by
bagustri
on 9/11/2009
Re: MVC issue with IIS 7
Yay, got it working. Was missing a couple of lines in my web.config. Followed the notes found on http://chriscavanagh.wordpress.com/2008/03/11/aspnet-routing-goodbye-url-rewriting/ just in case anyone else is having problems. Thanks for the help, guys!
Posted to
ASP.NET MVC
(Forum)
by
bagustri
on 8/21/2009
MVC issue with IIS 7
Hi All, I have a web application which implements MVC. An example of a typical path would be http://localhost:xxx/admin/overview, which is the equivalent to http://localhost:xxx/admin/overview.aspx. Testing on localhost, everything works fine. Once I have published to my server, however, I can only access the pages using the .aspx extension. If I remove the extension, I get a Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive
Posted to
ASP.NET MVC
(Forum)
by
bagustri
on 8/20/2009
Page 1 of 2 (17 items) 1
2
Next >
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online