Click here to Skip to main content
15,910,981 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Textbox commands Pin
ADY00718-Apr-07 8:51
ADY00718-Apr-07 8:51 
AnswerRe: Textbox commands Pin
Sandeep Kumar17-Apr-07 23:29
Sandeep Kumar17-Apr-07 23:29 
Questionselected index changed in listbox control Pin
shabonaa17-Apr-07 9:29
shabonaa17-Apr-07 9:29 
AnswerRe: selected index changed in listbox control Pin
kubben17-Apr-07 14:07
kubben17-Apr-07 14:07 
GeneralRe: selected index changed in listbox control Pin
shabonaa18-Apr-07 6:49
shabonaa18-Apr-07 6:49 
GeneralRe: selected index changed in listbox control Pin
kubben18-Apr-07 7:23
kubben18-Apr-07 7:23 
GeneralRe: selected index changed in listbox control Pin
shabonaa18-Apr-07 8:44
shabonaa18-Apr-07 8:44 
QuestionWizard Control Question Pin
Brent Lamborn17-Apr-07 9:16
Brent Lamborn17-Apr-07 9:16 
I've got a Wizard control on my page with 21 WizardSteps. Some of the steps contain ValidationGroups. Each step that needs validation has it's own ValidationGroup defined. Now what I need to do is dynamically set the ValidationGroup property for the Next and Previous buttons in my Wizard's StepNavigationTemplate. For some reason, my C# code behind does not "see" the buttons in my StepNavigationTemplate. For example, I want to code it this way:

btnNext.ValidationGroup = "contactinfo";

The above does not work - a build time error occurs. I have also tried:

Button btn = new Button();<br />
            btn = (Button)this.FindControl("ctl00_ContentPlaceHolder1_Wizard_StepNavigationTemplateContainerID_btnNext");<br />
            btnNext.ValidationGroup = "proofcontact";


as well as:

Button btn = new Button();<br />
btn = (Button)this.FindControl("btnNext");<br />
btnNext.ValidationGroup = "proofcontact";


in each of the previous two above sets of code the familiar exception "Object not set to an instance..." occurs at runtime.

Does anyone have a solution for this?


"Half this game is ninety percent mental." - Yogi Berra

If you can read thank a teacher, if you can read in English, thank a Marine.

AnswerRe: Wizard Control Question Pin
Brent Lamborn17-Apr-07 9:48
Brent Lamborn17-Apr-07 9:48 
QuestionConnectionString Pin
musigati17-Apr-07 9:03
musigati17-Apr-07 9:03 
AnswerRe: ConnectionString Pin
Sandeep Akhare19-Apr-07 1:56
Sandeep Akhare19-Apr-07 1:56 
GeneralRe: ConnectionString Pin
musigati19-Apr-07 3:01
musigati19-Apr-07 3:01 
QuestionNumber of lines in a label control Pin
happyheartcs17-Apr-07 8:47
happyheartcs17-Apr-07 8:47 
AnswerRe: Number of lines in a label control Pin
kubben17-Apr-07 14:09
kubben17-Apr-07 14:09 
QuestionIIS6 App Mapping problem with .* file extension Pin
TOMCAT8117-Apr-07 6:24
TOMCAT8117-Apr-07 6:24 
AnswerRe: IIS6 App Mapping problem with .* file extension Pin
N a v a n e e t h17-Apr-07 18:26
N a v a n e e t h17-Apr-07 18:26 
GeneralRe: IIS6 App Mapping problem with .* file extension Pin
TOMCAT8117-Apr-07 19:18
TOMCAT8117-Apr-07 19:18 
QuestionAdvice needed... Pin
Software_Specialist17-Apr-07 5:41
Software_Specialist17-Apr-07 5:41 
AnswerRe: Advice needed... Pin
Tarakeshwar Reddy17-Apr-07 5:52
professionalTarakeshwar Reddy17-Apr-07 5:52 
AnswerRe: Advice needed... Pin
kinsella_john17-Apr-07 17:22
kinsella_john17-Apr-07 17:22 
AnswerRe: Advice needed... Pin
Russell Jones17-Apr-07 23:33
Russell Jones17-Apr-07 23:33 
QuestionHow to get toolbar button's coordinates Pin
aamn117-Apr-07 5:35
aamn117-Apr-07 5:35 
AnswerRe: How to get toolbar button's coordinates Pin
Sandeep Akhare19-Apr-07 2:01
Sandeep Akhare19-Apr-07 2:01 
Questiondynamic styles Pin
kkadir17-Apr-07 5:33
kkadir17-Apr-07 5:33 
AnswerRe: dynamic styles Pin
mghiassi17-Apr-07 7:28
mghiassi17-Apr-07 7:28 

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.