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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by olypost

  1. olypost

    Dropdownlist - Number of rows displayed

    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...
  2. olypost

    Page spills over to next page

    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...
  3. olypost

    XML Output

    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>...
  4. olypost

    CSS Generator?

    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...
  5. olypost

    Display set to None doesn't fully work

    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...
  6. olypost

    Rangevalidator - Clearing error text

    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...
  7. olypost

    Datagrid: slow postback

    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...
  8. olypost

    Server value in an html control

    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...
  9. olypost

    Server value in an html control

    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...
  10. olypost

    Wrong background color

    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.
  11. olypost

    Wrong background color

    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 =...
  12. olypost

    Datagrid: Can't get onprerender to work

    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...
  13. olypost

    Datagrid: Can't get onprerender to work

    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...
  14. olypost

    Datagrid: Multiple Rows Per Dataset Row

    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...
  15. olypost

    Datagrid: Multiple Rows Per Dataset Row

    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...

Part and Inventory Search

Back
Top