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

    How to raise a javascript function from another Form ?

    Hello, I use two forms, having each the same two frames. When I go from Form2 to Form1, I check a radio button in Form1 (page_load). This runs a javascript function that makes visible buttons on another frame (EnableBottom). Code behind is working fine, but I don't manage to raise the onclick...
  2. vilrbn

    HTML Radio button doesn't Postback anymore

    I used HTML because of the onclick and onserverchange events. If I do a view source on my page, controls are now defined as follows: <td><input value="G" name="Type" id="rdbGU" type="radio" size="20" onclick="EnableBottom()" />Global Update</td> <td><input value="Q" name="Type" id="rdbQ"...
  3. vilrbn

    HTML Radio button doesn't Postback anymore

    I have added the Javascript function and certainly other little things but I don't remember in detail. In this case, I chose HTML control as I'm using frames and need Javascript to communicate between them.
  4. vilrbn

    HTML Radio button doesn't Postback anymore

    Yes, I know. I will probably try to use ASP.NET controls to solve this problem. But I would like to understand why they were working and which update I did that interfers with the buttons behavior.
  5. vilrbn

    HTML Radio button doesn't Postback anymore

    Hello, I have two radio buttons defined as follows: <td><INPUT id="rdbGU" runat="server" type="radio" size="20" value="G" name="Type" onclick="EnableBottom()" onserverchange="rdbGU_ServerChange">Global Update</td> <td ><INPUT id="rdbQ" runat="server" type="radio" size="20" value="Q"...
  6. vilrbn

    How to overload Class_initialize() in VB

    Hi, I need to overload the function class_initialize() that means that I need to have a parameter DatabaseName in class_initialize(): class_initialize(DatabaseName as String) so be able to call the instanciation of my object as: set Object = New MyObject(DatabaseName) But I don't succeed to...
  7. vilrbn

    Excuting code-behind, Javascript and going back to code-behind

    Hello, I'm using code-behind (VB code) to search dupe records. In case there are some, I inform the user with a confirm box. If the user clicks on &quot;OK&quot;, I save the record using code-behind. I know how to send a confirm box, get back the confirm result on code-behind side and save...
  8. vilrbn

    How to size cells within an HTML table ?

    I finally set percentages on each fields without using an HTML table and it's solving my problem. Thanks for your help !
  9. vilrbn

    Not same events on HTML side and code-behind

    It's working fine !! Many thanks.
  10. vilrbn

    How to size cells within an HTML table ?

    How can we adapt our applications to the screen size ? If it doesn't fit the page but the table... In my example, my first field (width = 40%) is the smallest !! Other ones have a width=10% !!! I also tried to change the controls size, with same problem.
  11. vilrbn

    How to size cells within an HTML table ?

    Cells sum = 70% as I set the table width to 70%. Even if I change them from 70% to 100% there's no change.
  12. vilrbn

    Not same events on HTML side and code-behind

    Hello, I want to use an HTML radio button instead of an ASP one. This choice because there are an onclick() and onserverclick() events,I want to call a Javascript function and execute VB code. input id=&quot;rblChoice1&quot; onclick=&quot;showHideTable('Table1','Table2');&quot...
  13. vilrbn

    How to size cells within an HTML table ?

    Hello, I want my application to be resized depending on the screen resolution. I put all my controls in HTML tables with a percentage as width. I tried to put the percentage on the table + cells / fields / row and it never adapt the cells to the values I set. Here is my code: <table...
  14. vilrbn

    Show / Hide two HTML tables

    Yes, you're right. But I want them not to be visible at load. is it possible to use javascript on not visible controls ? After a click on the radio button, they are set to visible = true within the VB code-behind. I encountered another problem with the radio buttons. On HTML side, I have two...
  15. vilrbn

    Show / Hide two HTML tables

    Hello, I'm using a radio button. Depending on the value, I need to show Tables1 /hide Table2 or vice-versa. The problem is that I only see empty cells. Do I have to also show / hide each row of the tables ? Here is an extract of my code: <script type=&quot;text/javascript&quot;> function...
  16. vilrbn

    Superpose two fields in an HTML table

    Yep ! it's working fine !! Many thanks for the information.
  17. vilrbn

    Superpose two fields in an HTML table

    I want to superpose two fields in the same cell. One is a textbox, the other one a listbox. <td align=&quot;left&quot; valign=&quot;top&quot;> <asp:textbox id=&quot;txt&quot; runat=&quot;server&quot; Visible=&quot;False&quot;></asp:textbox> <asp:listbox id=&quot;lst&quot...
  18. vilrbn

    Unable to access a remote server

    Hello, I'm opening/saving a file on a remote server (output mode) and got an access denied error. Users have read/write access to this server and can map the drive this file is created. I was wondering if there was something special to set on IIS for this kind of action. Any idea ?
  19. vilrbn

    Passing % char in the URL

    Hello Gary, I followed your instructions and it worked perfectly !! Many thanks for your help !
  20. vilrbn

    Passing % char in the URL

    Hello, I send a DB2 query from a main Form to another one within the URL. In the second form the query is associated to a textbox. Here is an example of one part of the query: (Main form) MyString = &quot;WHERE (CDDSGETK NOT LIKE '%AF%' )&quot; Response.Redirect(&quot;Query.aspx?Q=&quot; &...

Part and Inventory Search

Back
Top