Click here to Skip to main content
15,887,746 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: RDLC Report wizard error Pin
JacquesDP24-Oct-11 23:22
JacquesDP24-Oct-11 23:22 
Questionwrite the code forget password Pin
ankush teotia24-Oct-11 16:59
ankush teotia24-Oct-11 16:59 
AnswerRe: write the code forget password Pin
JacquesDP25-Oct-11 10:57
JacquesDP25-Oct-11 10:57 
QuestionMVC vs Grails Pin
mehrdadc4823-Oct-11 20:33
mehrdadc4823-Oct-11 20:33 
QuestionProblem to submit an ASP.NET form by the ENTER KEY Pin
TRAORE cheickna23-Oct-11 13:12
TRAORE cheickna23-Oct-11 13:12 
AnswerRe: Problem to submit an ASP.NET form by the ENTER KEY Pin
JacquesDP23-Oct-11 21:26
JacquesDP23-Oct-11 21:26 
GeneralRe: Problem to submit an ASP.NET form by the ENTER KEY Pin
TRAORE cheickna24-Oct-11 13:16
TRAORE cheickna24-Oct-11 13:16 
GeneralRe: Problem to submit an ASP.NET form by the ENTER KEY Pin
JacquesDP24-Oct-11 23:06
JacquesDP24-Oct-11 23:06 
I assume that you set the button visibility from the code behind on some sort of condition, so when you set the visibility for the button, change the default button for the panel as well.

C#
if(someCondition)
{
   mainButton.Visible = false;
   pnlDetails.DefaultButton = "secondButton";
   ...
   ...
}
else
{
   mainButton.Visible = true;
   pnlDetails.DefaultButton = "mainButton";
   ...
   ...
}


Hope this helps
No matter how long he who laughs last laughs, he who laughs first has a head start!

GeneralRe: Problem to submit an ASP.NET form by the ENTER KEY Pin
TRAORE cheickna25-Oct-11 10:03
TRAORE cheickna25-Oct-11 10:03 
GeneralRe: Problem to submit an ASP.NET form by the ENTER KEY Pin
JacquesDP25-Oct-11 10:43
JacquesDP25-Oct-11 10:43 
GeneralRe: Problem to submit an ASP.NET form by the ENTER KEY Pin
parthibandharma21-Mar-13 20:25
professionalparthibandharma21-Mar-13 20:25 
GeneralRe: Problem to submit an ASP.NET form by the ENTER KEY Pin
parthibandharma24-Oct-11 21:19
professionalparthibandharma24-Oct-11 21:19 
GeneralRe: Problem to submit an ASP.NET form by the ENTER KEY Pin
JacquesDP24-Oct-11 23:17
JacquesDP24-Oct-11 23:17 
AnswerRe: Problem to submit an ASP.NET form by the ENTER KEY Pin
jkirkerx28-Oct-11 20:08
professionaljkirkerx28-Oct-11 20:08 
Questionheader on server control Pin
Member 821751723-Oct-11 8:42
Member 821751723-Oct-11 8:42 
AnswerRe: header on server control Pin
jkirkerx28-Oct-11 20:10
professionaljkirkerx28-Oct-11 20:10 
QuestionError mapping table per subclass in Fluent NHibernate Pin
AumSingh22-Oct-11 3:09
professionalAumSingh22-Oct-11 3:09 
AnswerRe: Error mapping table per subclass in Fluent NHibernate Pin
AumSingh22-Oct-11 8:45
professionalAumSingh22-Oct-11 8:45 
QuestionProblem With Master Pages Pin
AmbiguousName21-Oct-11 7:13
AmbiguousName21-Oct-11 7:13 
AnswerRe: Problem With Master Pages Pin
Dennis E White21-Oct-11 10:25
professionalDennis E White21-Oct-11 10:25 
AnswerRe: Problem With Master Pages Pin
AmbiguousName21-Oct-11 18:54
AmbiguousName21-Oct-11 18:54 
Questionlist control with scroll bar Pin
sc steinhayse21-Oct-11 4:08
sc steinhayse21-Oct-11 4:08 
AnswerRe: list control with scroll bar Pin
Not Active21-Oct-11 4:25
mentorNot Active21-Oct-11 4:25 
Questionstep by step how to upload sql server database on webserver Pin
sheemap21-Oct-11 1:58
sheemap21-Oct-11 1:58 
AnswerRe: step by step how to upload sql server database on webserver Pin
Not Active21-Oct-11 2:11
mentorNot Active21-Oct-11 2:11 

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.