S
Steve
Hi-
I had this nice little wizard application running. It was comprised of
several Panel controls initially set w/ their visibility off except for the
first one, then as you progress through the page, a code-behind method would
manage the correct panel's visibility, giving the illusion of separate
steps. Fine, great.
All the panels has server button controls for "Next" and "Previous"
The last panel has a button control (server of course) that would call a
different Click event than the other buttons in the previous panels.
I did something, I don't know what but when I click the button "Finish"....
the event never fires, digging deeper I realized that Page_Load() isn't even
firing. So... what it does is make the window flash, then it all goes
white. The page never posts.
Here is the rendered HTML for the button:
<input type="submit" name="Button_Finish" value="FINISH" onclick="if
(typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); "
language="javascript" id="Button_Finish" />
I think it has something to do with the button being inside a panel.
Actually, I just found out why it's not working.... there is no
Page_ClientValidate() function in the rendered HTML. I guess it creates it
in the first panel that holds a button that Causes Validation, then later
when I hide that panel, there is no script rendered. This is speculation of
course, but if this is the case.... I would think that this would be a bug,
wouldn't you.
Thoughts? Suggestions??
Anything would be cool,
Thanks,
Steve
I had this nice little wizard application running. It was comprised of
several Panel controls initially set w/ their visibility off except for the
first one, then as you progress through the page, a code-behind method would
manage the correct panel's visibility, giving the illusion of separate
steps. Fine, great.
All the panels has server button controls for "Next" and "Previous"
The last panel has a button control (server of course) that would call a
different Click event than the other buttons in the previous panels.
I did something, I don't know what but when I click the button "Finish"....
the event never fires, digging deeper I realized that Page_Load() isn't even
firing. So... what it does is make the window flash, then it all goes
white. The page never posts.
Here is the rendered HTML for the button:
<input type="submit" name="Button_Finish" value="FINISH" onclick="if
(typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); "
language="javascript" id="Button_Finish" />
I think it has something to do with the button being inside a panel.
Actually, I just found out why it's not working.... there is no
Page_ClientValidate() function in the rendered HTML. I guess it creates it
in the first panel that holds a button that Causes Validation, then later
when I hide that panel, there is no script rendered. This is speculation of
course, but if this is the case.... I would think that this would be a bug,
wouldn't you.
Thoughts? Suggestions??
Anything would be cool,
Thanks,
Steve