Depends on how you are displaying the data. If it is in a collection, you can remove that item from the collection. If you are generating a table, you can set the table's visible property to false. Please elaborate on your scenario.
Set up the window.open javascript code in a function. Then, call that function with the onclick or URL property of the hyperlink control.
function LinkWindow() {
"window.open('pageyouwanttoopen.aspx', 'nameofwindow', 'toolbar=no,location=no,directories=no,menubar=no,resizable=yes...
No offense taken. The solution I offered was in fact not the best one for applications using slow Internet connections, I agree. But on an Intranet, or fast Internet connection, it provides for much more functionality than the Validator control does. Since the initial question did not specify...
If you are building your controls in the code behind, you can assign the id to each control programatically. I would assume you are running some sort of loop to create the controls so just name the controls something like:
listcontrol.id = "lst" & loopCounter
also, set the...
try this
in your text boxes:
onkeyPress="javascript:PushIt(event);return true;"
in the .aspx file:
function PushIt(e){
if (e.keyCode == 13) {
document.formName.btnName.focus();
}
}
Open the Enterprise Manager for SQL2000. Choose your SQL Server. Under the Security folder select Logins. Right-Click, New Login. Click the browse button next to where you are supposed to type the user name. Click Search on the window that pops up. Search for ASPNET. Once it finds it, select it...
Check out Microsoft Knowledge Base article Q89219 for further assistance. Go to microsoft.com -> select support menu from the upper left portion of the screen -> select knowledge base -> type in the number Q89219.
I have had this same problem in the past and here is what I did to rectify the situation. Try setting the combo box style property to "2 - Dropdown List" instead of "0-Drop Down Combo". This should left justify the text for a selected item in a combo box. You can also...
Hello,
I am in need of a batch file that will execute after a setup program that I created using FoxPro. The setup program works fine and installs the program into the appropriate directory. FoxPros's setup program gives you the option to run a batch file upon completion. I would like to copy a...
I am using a class that uses a UDT that contains fixed length strings. When the class is initialized, the strings are assigned characters that look like little bars. If I assign a string to the properties everything works fine. My problem is that if I do not assign anything to the property, when...
I have used window.open() to open a new window and I would like that window to stay on top until the user clicks an ok button. Before the user can click the ok button, I need to gather some information via a text box on the page. I have read numerous posts that say to put onblur=window.focus()...
This window.focus() works fine as long as there are no form fields on the page that you need to enter data into. Using window.focus() prohibits the user from typing into a textbox on the page. Any suggestions for this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.