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...
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"...
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.
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.
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"...
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...
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 "OK", 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...
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.
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="rblChoice1" onclick="showHideTable('Table1','Table2');"...
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...
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...
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="text/javascript">
function...
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.