Click here to Skip to main content
15,893,814 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionneed to display data on email Pin
CyberHeart 230-Jul-11 6:20
CyberHeart 230-Jul-11 6:20 
AnswerRe: need to display data on email Pin
Not Active30-Jul-11 13:01
mentorNot Active30-Jul-11 13:01 
QuestionRender ASP.Net code at run time Pin
Dilan200630-Jul-11 3:06
Dilan200630-Jul-11 3:06 
AnswerRe: Render ASP.Net code at run time Pin
Ali Al Omairi(Abu AlHassan)30-Jul-11 7:05
professionalAli Al Omairi(Abu AlHassan)30-Jul-11 7:05 
AnswerRe: Render ASP.Net code at run time Pin
Dilan200630-Jul-11 15:54
Dilan200630-Jul-11 15:54 
GeneralRe: Render ASP.Net code at run time Pin
Dilan200631-Jul-11 5:13
Dilan200631-Jul-11 5:13 
GeneralRe: Render ASP.Net code at run time Pin
Ali Al Omairi(Abu AlHassan)4-Aug-11 6:27
professionalAli Al Omairi(Abu AlHassan)4-Aug-11 6:27 
QuestionUnexpected function of validation controls and tab panel [modified] Pin
Dominick Marciano29-Jul-11 9:05
professionalDominick Marciano29-Jul-11 9:05 
I have a page that has a tab control and currently contains two tabs. The first tab contains information about students (name, address, phone #, etc.) and most of the text boxes have either a regex, required field (or both) validators with a validation group name of StudentInfoVG. There is also a button used to update the student information with a validation group name of StudentInfoVG.

The second tab, which has information about the students grade and performace, has an editable grid view bound to a SQL data source and some of text boxes in the edit item template have only a required field validator. These have a validation group name of GradeVG. The grid view also has a command field to enable the editing of a row also with a validation group name of GradeVG:

<asp:CommandField ButtonType="Button" ShowEditButton="True"  ValidationGroup="GradeVG">
      <ControlStyle Font-Size="11px"  />
      <ItemStyle Font-Size="11px" />
</asp:CommandField>


I can update the student information and grade information fine, but if I do the following steps in order:

1. Start on the first tab (student info.)
2. Go to the second tab (grade info.) and click the edit button to enable editing of a specific row
3. Click the now visible cancel button to cancel the editing
4. Go back to the first tab (student info.)
5. Change a field (for example the student's city)
6. Click the update button to update the student information

The student's information does not update. I even set a break point on the method that handles the update buttons click event and it does not fire. However, if I do all the steps but instead of changing a field I leave a required field blank I get a message in the validation summary. So in the previous example, if I left the student's city blank the validation summary would say "Student's city required." This indicates to me that validation is being performed, and in the above example the validation passes since I get no error message, but the click event is not "fully" firing.

Any suggestions on why everything works fine except when I go to edit a row on the second tab panel and cancel it. It seems that the update button on the first tab is doing validation on the items in the second tab even though they are in different validation groups. Am I missing something here or is this just some weird quirk of tab containers and validation? I've been trying to tweak this for several hours with no luck so any help or suggestions would be greatly appreciated. Thanks in advance for any help you can provide.

**UPDATE**
I have been trying to narrow down exactly when the button loses it's ability to update the student info and it has nothing to do with the grid view on the second tab panel; it has to do with the tab panel itself. If I do the following steps in order the same results occur (where the update button's method will not fire):

1. Start on the first tab (student info.)
2. Go to the second tab (grade info.) and do not do anything
3. Go back to the first tab (student info.)
4. Change a field (for example the student's city)
5. Click the update button to update the student information

modified on Friday, July 29, 2011 3:47 PM

Questiongoogle maps api Pin
loveleen9028-Jul-11 20:11
loveleen9028-Jul-11 20:11 
AnswerRe: google maps api Pin
Blue_Boy28-Jul-11 20:57
Blue_Boy28-Jul-11 20:57 
Questionexcel workbook problem Pin
Sneha Bisht28-Jul-11 19:14
Sneha Bisht28-Jul-11 19:14 
QuestionWeb application and web site to co-exist Pin
vanikanc28-Jul-11 4:14
vanikanc28-Jul-11 4:14 
AnswerRe: Web application and web site to co-exist Pin
Shameel28-Jul-11 4:23
professionalShameel28-Jul-11 4:23 
Questiontooltip Pin
apadana_198928-Jul-11 3:48
apadana_198928-Jul-11 3:48 
AnswerRe: tooltip Pin
Blue_Boy28-Jul-11 4:41
Blue_Boy28-Jul-11 4:41 
AnswerRe: tooltip Pin
Ali Al Omairi(Abu AlHassan)4-Aug-11 12:41
professionalAli Al Omairi(Abu AlHassan)4-Aug-11 12:41 
QuestionXSLT - for-each-group Pin
rajesh198828-Jul-11 0:25
rajesh198828-Jul-11 0:25 
AnswerRe: XSLT - for-each-group Pin
Not Active28-Jul-11 1:06
mentorNot Active28-Jul-11 1:06 
Questionexport multiple crystal reports to a single destination PDF Pin
vvibha27-Jul-11 20:19
vvibha27-Jul-11 20:19 
AnswerRe: export multiple crystal reports to a single destination PDF Pin
Orcun Iyigun27-Jul-11 21:12
Orcun Iyigun27-Jul-11 21:12 
GeneralRe: export multiple crystal reports to a single destination PDF Pin
vvibha27-Jul-11 23:55
vvibha27-Jul-11 23:55 
QuestionTextbox value dissappear when using FilteredTextboxExtender Pin
Orcun Iyigun27-Jul-11 12:45
Orcun Iyigun27-Jul-11 12:45 
AnswerRe: Textbox value dissappear when using FilteredTextboxExtender Pin
Shahriar Iqbal Chowdhury/Galib27-Jul-11 22:35
professionalShahriar Iqbal Chowdhury/Galib27-Jul-11 22:35 
GeneralRe: Textbox value dissappear when using FilteredTextboxExtender Pin
Orcun Iyigun28-Jul-11 10:25
Orcun Iyigun28-Jul-11 10:25 
QuestionFile Uploader No Longer Working Pin
Dominick Marciano27-Jul-11 7:53
professionalDominick Marciano27-Jul-11 7:53 

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.