In ASP 1.1, I have a dropdownlist with, say, 30 list items defined.
When the dropdown is invoked, only the first 11 list items are displayed, the other 19 items you need to scroll down to select. Is there a way to configure the dropdown so that all 30 list items appear once you press the...
I'm developing a few reports with the Crystal Reports version shipped with Visual Studio 2003. For some reason, when I do a print preview on my report output, it continually shows Page 1 of 2, with Page 2 completely blank, indicating that Page 1 is extending down beyond the page limit. This is...
I'm new to sql server and I simply need to get data out of a sql server table into XML format using FOR XML AUTO, ELEMENTS.
When I use the query analyzer or enterprise manager, the XML appears as a stream, for example:
<Customers><CID>100</CID><CO>Name</CO></Customers><Customers><CID>...
Hi,
Does anyone know if there's a utility or something in VS that will take an existing html file without any CSS and class ID references at all, and generator all the CSS needed?
I have a page that's been in development and I've added style properties to each control individual to see how it...
I have an html button control that I want to hide based on a certain value.
When my page first loads, the display is set to none. Then I do:
if (str == "NO") {
document.getElementById('gob').style.display = "none"; }
else {
document.getElementById('gob').style.display = "block"; }
The...
I have a rangevalidator on a textbox control that is firing correctly for me. I get my error text to display.
What I'd like to do is click on a 'clear field' button that will clear out all textbox entries on the page, and also the error text from the rangevalidator.
How do I clear the...
I have a datagrid with a column that holds my button columns: update, edit and cancel. I'm able to get them to work, no problem.
My problem is, for some reason, when I click any of the 3 linkbuttons, the page momentarily shows a blank rectangle (only for a split second, seems to be a <div> or...
Is it possible to call a javascript function in an html control (thru onclick, for example) and passing as a parameter to the javascript a server control dropdownlist value?
My html control:
<INPUT id="btnDone" onclick="hidedivddl();" type="button" value="Done">
The value I want to pass is a...
Is it possible to call a javascript function in an html control (thru onclick, for example) and passing as a parameter to the javascript a server control dropdownlist value?
My html control:
<INPUT id="btnDone" onclick="hidedivddl();" type="button" value="Done">
The value I want to pass is a...
Yes, using asp.net. Figured it out. For some reason, my itemcommand event stopped firing and it was rendering with my selected item colors (which I never realized I had!). I never saw these colors when the itemcommand worked....
Thanks.
I have the following script that is called in a checkbox control in a datagrid (did a attributes.add in the onitemdatabound event to 'assign' it to the checkbox).
Here's the javascript:
function colorRow(e)
{
if (!e) e = window.event;
var srcEl = e.target || e.srcElement;
var curElement =...
I have a datagrid w/several controls, one of which is a dropdownlist. I can databind the list, select one and save, no problem.
My problem is: When the page loads for the first time, I'd like my dropdownlists to default to the value saved for that particular column for each record shown in...
I have a datagrid w/several controls, one of which is a dropdownlist. I can databind the list, select one and save, no problem.
My problem is: When the page loads for the first time, I'd like my dropdownlists to default to the value saved for that particular column for each record shown in...
What I'd like to do is essentially stack a pair of columns one on top of another in a datagrid row. For example, home phone and business phone appearing as:
(800) 123-4567 col2 col3 col4 col5
(800) 123-9123
Is it possible to have the itemtemplate column have 2 controls positioned like...
If a row of data in a dataset has a lot of columns the row displaying the
data in a datagrid will run way off the screen. What I'd like to do is
display a row of data over two datagrid rows so the user doesn't have to
scroll horizontally. Essentially, I want to wrap a datagrid row (not text in...
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.