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 wOOdy-Soft 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 Metka

  1. Metka

    set value of design-time textbox from client

    Hi, just put document.thisForm.MyTextBox.value="blob"; in your script.
  2. Metka

    Web forms controls don't display

    Thanks a lot. It works now. "Defeat is not the worst of failures. Not to have tried is the true failure." -George E. Woodberry
  3. Metka

    Web forms controls don't display

    Hi everyone, last week I installed Visual studio.net on WinXPPro with IIS 5.1. Everything in Visual studio works fine. When I try to browse (IE 6.0) aspx pages with Web forms controls, they just don't display. HTML controls display fine. Please help, I'm going mad out here. "Defeat is not...
  4. Metka

    Initializing new record for recordset

    Hi, as I see it you can do 2 things. 1. Add server side code between <head> tags before all your scripts: <head> <meta .... other stuff here> <%if Request.QueryString(&quot;rec&quot;)=&quot;new&quot; then btnNewEntry_onclick() end if%> <script ...> Sub thisPage_onenter() if...
  5. Metka

    Initializing new record for recordset

    Hi, you can do it without PageObject(I never seem to get it to work properly :-( ). Just send a parameter in your link: Mypage.asp?rec=new - put whatever makes sense to you and then check the value on server side Sub thisPage_onenter() if...
  6. Metka

    DTC textbox field validation?

    You can do client side or server side validation. I prefer client side, becuse there's no server trip. A simple example (you have one DTC textbox and one DTC button for saving): <script language=JavaScript> function thisPage_onbeforeserverevent(obj,evnt) { if (obj==&quot;btnSave&quot;){...
  7. Metka

    Weight loss for the Grid DTC

    Hi, I'm sorry. I was in a hurry. Because your recordset is server side you have to refrence it in table like this: <td><%=rsMydata(&quot;field9&quot;)%></td> You won't need DTC's this way. &quot;Defeat is not the worst of failures. Not to have tried is the true failure.&quot; -George E...
  8. Metka

    Weight loss for the Grid DTC

    You could make a simple loop between body tags in the place, where you want your table to be: <body> ... <% rsMydata.movefirst Do While NOT rsMydata.EOF %> <table> <tr> <td>header1/header9</td> <td>header2/header10</td> <td>header3/header11</td> //and so on </tr> <tr>...
  9. Metka

    How to get textbox input

    Hi, I made an asp page with one recordset DTC, 2 Textbox DTC's (one is bound to the recordset) and the above code. When the page is loaded it displays the recorset value. When I correct the value and leave the textbox, the corrected value is displayed in Textbox2, so the code works. The problem...
  10. Metka

    Connecting to a database (SQL Server 7.0)

    Hi, have you tried Microsoft's http://support.microsoft.com/default.aspx?scid=kb;en-usQ306345 The ;en-usQ306345 is also part of the link, so just copy the whole thing. &quot;Defeat is not the worst of failures. Not to have tried is the true failure.&quot; -George E. Woodberry
  11. Metka

    How to get textbox input

    Hi, have you tried using Session in Sub UpdateRec(), <SCRIPT ID=serverEventHandlersVBS LANGUAGE=vbscript RUNAT=Server> Sub thisPage_onenter() DataTxtBox1.advise &quot;onblur&quot;, &quot;UpdateRec()&quot; End Sub </SCRIPT> <SCRIPT LANGUAGE=vbscript RUNAT=server> Sub UpdateRec()...
  12. Metka

    Making a button visible after recordset onchange

    Hi, for making DTC's visible you have to use button1.show() to hide them use button1.hide(). isVisible() method tells you if an object is visible or hidden. &quot;Defeat is not the worst of failures. Not to have tried is the true failure.&quot; -George E. Woodberry
  13. Metka

    Making a button visible after recordset onchange

    Hi, if I understand correctly you want to hide your button just between server round trip. I don't think this is possible in server side code, did you try hiding or disabling it in client side code in onbeforeserver event. Or why don't you make a disabled/hidden button and enable/show it in...
  14. Metka

    IE 6.0 vs IE 5.0 , Netscape and javascript/vbscript

    Hi Raver1, you can correct me any time you like :) I didn't know about the Jscript/JavaScript engine, I only know about the diffrences I have to make in code and I'm happy as long as it works on both browsers. Metka &quot;Defeat is not the worst of failures. Not to have tried is the true...
  15. Metka

    Textbox DTC and OnBlur

    Hi, as far as I know storing the value of the textbox in a session variable or updating a recordset allways requires a server round trip, so your page will allways reload. Why would you want to do this in the onblur event? &quot;Defeat is not the worst of failures. Not to have tried is the...

Part and Inventory Search

Back
Top