Click here to Skip to main content
16,005,339 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: DataGrid Control Pin
Not Active17-Nov-11 12:08
mentorNot Active17-Nov-11 12:08 
GeneralRe: DataGrid Control Pin
Lavitiz17-Nov-11 12:18
Lavitiz17-Nov-11 12:18 
Questionproblem update data in web control Pin
rachel_m17-Nov-11 4:41
rachel_m17-Nov-11 4:41 
QuestionNeed help...asp.net count sql.. Pin
mat daus16-Nov-11 21:26
mat daus16-Nov-11 21:26 
AnswerRe: Need help...asp.net count sql.. Pin
Pete O'Hanlon17-Nov-11 0:36
mvePete O'Hanlon17-Nov-11 0:36 
AnswerRe: Need help...asp.net count sql.. Pin
Dennis E White17-Nov-11 10:32
professionalDennis E White17-Nov-11 10:32 
Questionnavigation between secure pages Pin
MalarGayu16-Nov-11 15:09
MalarGayu16-Nov-11 15:09 
AnswerRe: navigation between secure pages Pin
Not Active16-Nov-11 15:20
mentorNot Active16-Nov-11 15:20 
GeneralRe: navigation between secure pages Pin
MalarGayu16-Nov-11 16:15
MalarGayu16-Nov-11 16:15 
GeneralRe: navigation between secure pages Pin
Not Active16-Nov-11 16:37
mentorNot Active16-Nov-11 16:37 
GeneralRe: navigation between secure pages Pin
MalarGayu16-Nov-11 16:45
MalarGayu16-Nov-11 16:45 
GeneralRe: navigation between secure pages Pin
Not Active16-Nov-11 16:49
mentorNot Active16-Nov-11 16:49 
GeneralRe: navigation between secure pages Pin
MalarGayu16-Nov-11 17:07
MalarGayu16-Nov-11 17:07 
GeneralRe: navigation between secure pages Pin
Not Active16-Nov-11 17:25
mentorNot Active16-Nov-11 17:25 
GeneralRe: navigation between secure pages Pin
MalarGayu16-Nov-11 17:45
MalarGayu16-Nov-11 17:45 
GeneralRe: navigation between secure pages Pin
s_magus16-Nov-11 19:23
s_magus16-Nov-11 19:23 
QuestionOptions for creating simple PDF in ASP.NET Pin
RvrBndBrewer16-Nov-11 5:01
RvrBndBrewer16-Nov-11 5:01 
SuggestionRe: Options for creating simple PDF in ASP.NET Pin
Rojan Gh.16-Nov-11 15:03
professionalRojan Gh.16-Nov-11 15:03 
AnswerRe: Options for creating simple PDF in ASP.NET Pin
Andy_L_J17-Nov-11 0:11
Andy_L_J17-Nov-11 0:11 
Questionasp.net MVC3 unobtrusive validation causes IE8 to crash Pin
Madhu Kampurath15-Nov-11 20:26
Madhu Kampurath15-Nov-11 20:26 
Question2010 asp.net options Pin
rachel_m15-Nov-11 9:54
rachel_m15-Nov-11 9:54 
AnswerRe: 2010 asp.net options Pin
Not Active15-Nov-11 14:24
mentorNot Active15-Nov-11 14:24 
GeneralRe: 2010 asp.net options Pin
rachel_m15-Nov-11 16:29
rachel_m15-Nov-11 16:29 
The following is in response to your questions and I few extra items to mention:

1. There are two webpages. The first webpage (that I did not mention in the first post), will load values into the main master table when the user clicks the next button to go to the second webpage (the page I have a question about). The first page will load data the user enters, set all the default values in appropriate columns.
The first page will also load various dates into the master table based upon the 'process date' the user enters on the first web page. The 'process date' is the key to a default schedule table due date schedules that are customers are suppose to follow. (The default tables may need to be changed in master table if the customer(s) submit work past the expected due date).

2. in response to your statement, "I'm not sure if I completely understand. You want a row of label controls that display some dates, each of which will have a dropdown. When the user selects Yes from the dropdown the label should be changed to a dropdown that contains a list of dates. Correct?" no.
For each of the 5 default dates that can be entered, there will be the following:
a. There will be a textbox field displaying what the value should be entered into the master table. There will be another column that will be a dropdown list asking if the applicable date is invalid. The assumption is no dates are invalid.
(In the database, there is a column for date1 and in the database there is also a yes-no column for date1. There is a column for date2 and there is a yes-no column for date2. This applies for the other 3 date fields and their corresponding yes-no columns.)
So if the user clicks the dropdownlist to say date1 is invalid, they want an extra textbox to show up where they can enter the correct date. The user does not want to be allowed to enter the 'corrected date' accidently. They want to be able to only enter the correct date when they click the dropdown control saying the date is invalid.

3. In response to your statement," This being the case I would not even consider using any ajax server controls that would require a postback to function. All of this can be handled on the client-side with some JavaScript. Handle the select event of the Yes/No dropdown and hide the label while showing a dropdown in its place. Handle the select event on this dropdown to do the reverse, hide the dropdown and show the label with the selected value. If the date dropdowns all contain the same values you don't even need multiple dropdowns. You can have one and clone it or position it as necessary."
a. I was thinking of using all server controls since these two webpages are used by only one or two users for 3 to 5 days monthly. The webpages are being setup since they are a requirement by our customers.
b. Since this is my first set of web pages that i am every writing can you tell me what kind of javascript commands you recommend that I use?

4. In response to your statement,"The question though is how are you planning to post the updated data, if any, to the server?". If the user says any of the dates are invalid from the dropdown list controls, I plan on updating the database. I am told that the answer saying the value is invalid should occur only between 5 to 20% of the time.

5. In repsonse to your statement," Explain this? The table element was created to display tabular data. If that is what you have then use it. If you are using it just for layout, then no, there are better methods.". I want to use a detailsview control.
I am required to have a way for the user to only be able to edit dates if they enter yes in the dropdown list control. They do not want to be able to edit dates if they do not select yes from the dropdown list. Thus I am trying to find an asp.net 2010 web control that will meet this requirement.
GeneralRe: 2010 asp.net options Pin
Not Active15-Nov-11 17:23
mentorNot Active15-Nov-11 17:23 
QuestionProblem Setting Width of asp:Panel in Windows 7 Pin
Member 840472315-Nov-11 8:45
Member 840472315-Nov-11 8:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.