Get Date and format to 1st Day of month
Tue, 7 Oct 2008 14:48:20 -0500
I need to fill a textbox with a date that, based on the current day, is 2
months back - PLUS I need it to reflect the first day of the month
so - I've got :
Dim dNow As DateTime = DateTime.Now.ToShortDateString
Dim NewDate As DateTime
NewDate = dNow.AddMonths(-2)
How do I make it so that the day portion ...
|
The page cannot be refreshed without resending the information....
Tue, 7 Oct 2008 14:35:57 -0500
Hi ASP.NET gurus,
I am a newbie, so please help me.
I have a Grid with paging on it. If I go to some other page and when I press
refresh icon on the IE I get this message.
The page cannot be refreshed without sending the information.
Click Retry to send the information again,
or click Cancel to return to ...
|
dataridviewcomboboxcolumn / combobox hiding items
Tue, 7 Oct 2008 11:45:04 -0700 (PDT)
I have a datagridviewcomboboxcolumn bound to a Funding source table in
database. With time these funding sources may be inactiveted (inactive
flag is set in the table). So when you open up a new form, or an old
form, the original selection should apper, but the user should be
selecting only the active items from ...
|
combobox / datagridcomboboxcolumn disable or hide items
Tue, 7 Oct 2008 11:35:29 -0700 (PDT)
I have a winform with some comboboxes and datagrids with
datagridcomboboxcolums. I am binding these comboboxes with data from
the database table. Over time some of the items can be inactivated
from the list. The problem is that forms that items that are
inactivated already selected when they were active.
How ca ...
|
UpdatePanel control loses ViewState data if Visible property set
Options
Tue, 7 Oct 2008 11:24:55 -0700 (PDT)
I am just starting to use AJAX, and I've run into a problem that I
cannot resolve. I have a text box, the third of three controls in an
UpdatePanel. Here's the scenario:
1. I create all the controls within the Init process.
2. Within the Load process I do FindControls on all the controls in
the page.
3. If n ...
|
Asp.Net AJAX dynamically added Tab Control not displaying
Tue, 7 Oct 2008 17:01:41 +0100
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am
trying to add a tabbed control to the page.
I have no problems within the aspx file, and can dynamically manipulate a
tabcontainer which has 1 panel already, however I want to try create the
TabPanels dynamically. I followed the advice ...
|
how to add "Web App Lib Proj"
Tue, 7 Oct 2008 08:51:21 -0700 (PDT)
I'm doing a project from a QUE book by Gunderloy (70-305 MS test) for
what it's worth it's on pp. 531.... There are directions to "Right-
click the solution in Solution Explorer. Select Add, Add New Project.
Add a new Visual Basic ASP.NET Web Application Library Project named
RandomTimerTest" ... the problem is ...
|
|
|
Problem with ResetPassword - NullReferenceException
Tue, 7 Oct 2008 11:46:18 -0400
I am writing code to reset a password, even if the current password is not
known. (This is for a site admin.) When I get to my ResetPassword line I
keep getting...
System.NullReferenceException: Object reference not set to an instance of an
object. at CoreLab.Common.Web.Providers.DbMembershipProvider.a(St ...
|
Convert "App_Code" to DLL ?
Tue, 7 Oct 2008 08:38:02 -0700 (PDT)
Hi guys,
I have inherited a .NET 2.0 web project. It consists of a root site,
and 3 sub directories.
Ideally these are seperate projects/websites. The root is a customer-
facing one, and the other 3 are for admin, and supervisor use.
I want to break the existing project (all websites treated as one)
into ...
|
Question: Display FAQ Categories/Q&A from DB
Tue, 7 Oct 2008 10:24:53 -0400
The FAQs on my site are going to be dynamically generated from 2 data
tables...
"one table": FaqCategories: FaqCategoryId, FaqCategory
"many table": Faqs: FaqId, FaqCategoryId, Question, Answer
On my actual FAQ page, how do you suggest I lay this out?
I would prefer to have the Categories with the qu ...
|