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!

Search results for query: *

  1. JuanitaC

    Event Handling

    Found an answer, thanks to everyone here! If anyone else is looking for this, you can find the answer here: thread855-554297, thanks to cbokowski!
  2. JuanitaC

    Event Handling

    I am experiencing the same problem (not being able to see events from the UserControl on the web form), but unfortunately, the link provided here gives me only a server error. Anyone figure this out? Thanks, Stacey
  3. JuanitaC

    Multiple Rows in each "row" of datagrid

    I am trying to layout my datagrid so that the details of the record span 4 columns of the rest of the data. So I want to have: column | column | column | column span column details written out across here column | column | column | column span column details written out...
  4. JuanitaC

    Page Inheritance

    Thanks for all of the suggestions. Link9, I had to laugh at the include file suggestion, as that is how we manage this now in Classic ASP. :-) And it is getting to be quite a headache!
  5. JuanitaC

    Page Inheritance

    Our problem with the user control idea is that some customizations will require changes to the page - html, layout, add fields, remove fields, etc. We were hoping that this could be accomplished through inheritance, with overriding methods, etc. I guess we will just continue to think about how...
  6. JuanitaC

    Page Inheritance

    We are beginning a project to recode our application in ASP.NET, and are just trying to sort out our architecture. We have a PageTemplate class that has our interface elements, and that is inherited by our base product. This all works great, having the PageTemplate use the Control collection...
  7. JuanitaC

    Start/Stop timer

    Hello. I have a timer script that pops up a confirm box after a while to inform the user that there has not been any activity (mousemove or keypress) in quite a while and would they like to remain, or log out. That part works great. The tricky part is that some of my pages launch pop-up...
  8. JuanitaC

    ADODB.Recordset error 800a0bb9

    Are you sure the SQL statement in this section is right? If Session("blnValidUser") = True and Session("Admin_ID") = "" Then Dim rsPersonIDCheck Set rsPersonIDCheck = Server.CreateObject("ADODB.Recordset") Dim strSQL...
  9. JuanitaC

    Pass a variable into a javascript function

    You can write an ASP variable into a javascript function: var test = &quot;<%=aspVariable%>&quot;
  10. JuanitaC

    Alternate row color from DB query

    Sorry, I forgot to increment the x! <% dim x, fieldStyle %> <P> <TABLE BORDER=1> <TR> <% For i = 0 to RS.Fields.Count - 1 %> <TD><B><%= RS(i).Name %></B></TD> <% Next %> </TR> <% x = 1 DO While Not RS.EOF %> <TR> <% if x MOD 2 = 0 then fieldStyle =...
  11. JuanitaC

    Alternate row color from DB query

    You can also use the MOD function for something like this: <% dim x, fieldStyle %> <P> <TABLE BORDER=1> <TR> <% For i = 0 to RS.Fields.Count - 1 %> <TD><B><%= RS(i).Name %></B></TD> <% Next %> </TR> <% x = 1 DO While Not RS.EOF %> <TR> <% if x MOD 2 = 0 then...
  12. JuanitaC

    launch script code when OnClick

    You have to submit the page back to the server in order to call a server-side ASP function or sub. So, for instance, you could do something like this: <% dim strAction strAction = Request.form(&quot;hdnAction&quot;) if UCase(strAction)=&quot;ADD&quot; then call AddNew() end if sub...
  13. JuanitaC

    different form actions

    strElement = Request.form(&quot;element_name&quot;) should give you the values from the form because the form is actually submitting to the next page.
  14. JuanitaC

    different form actions

    You can use Javascript also. On the click event of the button that you want to submit to a different page, call a function like this: function btnChangeLoc_onClick(){ document.theForm.action = &quot;newUrlHere&quot;; document.theForm.submit(); }
  15. JuanitaC

    How to make the number have only one decimal place

    But qrt25 = FormatPercent(qrt25,1) will return one decimal
  16. JuanitaC

    a different type of SQL variable question

    Because you are inserting a SQL construct instead of a value, you don't need to use single quotes: &quot;SELECT &quot; & u & &quot; CIDresponse FROM t_CircuitID&quot; Also, make sure that your spacing is right. After building your string, write it to the screen... if it looks right, copy it...
  17. JuanitaC

    asp syntax error - URGENT, Please

    Well, you have several select statements in this page. First thing to do would be to figure out where you are losing the newly inserted records. Check your data to ensure that it matches... For instance, in this select rsttrv.Open &quot;SELECT * FROM board WHERE ThreadP=0 ORDER BY msgID...
  18. JuanitaC

    asp syntax error - URGENT, Please

    Could you be more clear as to what your problem is, I am not sure what you want me to look for.
  19. JuanitaC

    asp syntax error - URGENT, Please

    Did you say that the record is being inserted in to the database? If so, this is not where your problem is. Is there an error generated? If so, what is it? Are you not getting back the results you expect? If so, are the results you expect in your database? If the records are there, post...
  20. JuanitaC

    Another problem with quotes

    Try this: Response.write &quot;<td><FONT SIZE=2><A HREF=&quot;&quot;EditTask.asp?NAME=&quot; & sUserName & &quot;&quot;&quot;>&quot; & left(objRS(&quot;TASKS_DESC&quot;),45) & &quot;</A>&quot;

Part and Inventory Search

Back
Top