473,378 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Controlling Page Load

44
Hi

My issue is If I click the link button in my page, then Table1 should get visible & by default the Table1 should not be visible. For that, I have set the visible property of the Table1 as False by default & under link button click event I have set it as True. But the problem is the page is loading every time. Can anybody reply me how to control the page load.
May 20 '08 #1
2 780
jeffstl
432 Expert 256MB
Hi

My issue is If I click the link button in my page, then Table1 should get visible & by default the Table1 should not be visible. For that, I have set the visible property of the Table1 as False by default & under link button click event I have set it as True. But the problem is the page is loading every time. Can anybody reply me how to control the page load.

When the link is clicked is this a button command ? Where the page is doing a post back? Or are you actually linking to the page itself with this link?

You probably want to a do a button comand so you can control the page load by doing just a post back instead of a total re-load of the page.
May 20 '08 #2
kunal pawar
297 100+
I guess using javascript, this will may it more easy

document.getElementById("Control Id").style.display="none"; // for hideing


document.getElementById("Control Id").style.display="" ; // for viewing
May 21 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Zaidan | last post by:
I am running Excel2000 under WIN98 2nd edition, and I am writing a VBA code (I will consider using javascript if I have to) that does the following, at the user command: 1- Start MS Explorer and...
1
by: clemenr | last post by:
Hi. I would like to know if the following is feasible in JavaScript. I would create a frameset where the top frame includes JavaScript. The bottom frame would be directed to the login page of an...
13
by: Arne | last post by:
Hope this is a proper group for this post :) I came across this page about META tags that control browsers. http://www.bauser.com/websnob/meta/browsers.html Some I know, some I wonder about...
0
by: Giulio Santorini | last post by:
Hi, I've got two drop down list controls. When I select a value from the first one I fill the second one. And when I select a value from the second one I would like to fill another control. But...
8
by: GaryDean | last post by:
We have been noticing that questions on vs.2005/2.0 don't appear to get much in answers so I'm reposting some questions posted by some of the programmers here in our organization that never got...
7
by: unacoder | last post by:
Is it possible to request the user's permission to be able to control IE or FireFox windows that are pointed to domains other than the base domain the script is running from? For example, if my...
3
by: Jason | last post by:
Matt suggests: <BODY onload="window.scrollTo(x,y)"> However I am linking to Google Images so I can't modify their page code. Is there a way to link from frame a to frame b so that the...
1
by: sweatha | last post by:
I have designed the login form with 3 panels. In the first panel I have the login verification such as login id, password, login button and forgot password link button. In the second panel I have...
0
by: thersitz | last post by:
Hi, Using aspnet3.5,VStudio 2008, VB 1.) I have a set of pages, with a search text box button within a userControl that searches across our websites and is registered in a masterpage. 2)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.