Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with TabContainer and Validators

Status
Not open for further replies.

VisualGuy

Programmer
May 27, 2003
162
US
Within a Tabpanel, I have validators that will populate a ValidatorSummary at the top of a panel. On a button, I have an OnClientClick that goes to a function that will put move the panel to the top of the page.

However, when this happens, some of the look of the panel get's effected. For instance, there is a part of the page that when a user clicks on a checkbox, a group of smaller textboxes appear.

When this javascript is launched to go to the top:

function MoveTo() {
TabContainer1.Tabs.scrollTo(0, 0)
}

the boxes to disappear again. The validation summary works fine, the scroll to top works fine, but my page shouldn't be changed by this.

<asp:Button style="visibility:visible" ValidationGroup="One" ID="Button1" runat="server" Text="Submit" OnClientClick ="MoveTo()" />

I've tried lot's of ideas, but nothing works. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top