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...
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...
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...
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...
I want to superpose two fields in the same cell.
One is a textbox, the other one a listbox.
<td align="left" valign="top">
<asp:textbox id="txt" runat="server" Visible="False"></asp:textbox>
<asp:listbox id="lst"...
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 ?
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 = "WHERE (CDDSGETK NOT LIKE '%AF%' )"
Response.Redirect("Query.aspx?Q=" &...
Hello,
I dynamically build a DB2 query. I want to stop the request to the Database if it takes more than 5 minutes to get back a result.
I tried to add a Timeout on the connection and on the command, with no success. It's never poping up an error and I don't know how to do this.
Here is my...
Hello,
I have a lot of textboxes on a Form and want to create a ControlCollection.
Here is my code:
Protected WithEvents textBox1 As System.Web.UI.WebControls.TextBox
Protected WithEvents textBox2 As System.Web.UI.WebControls.TextBox
Protected WithEvents txtCol As System.Web.UI.Control...
Hello,
I'm using ASP.NET with VB.
I'm filling a datagrid with image files. In case one file is already located on the server, I want to send a confirm message. This message warns the user that the file will be replaced if OK is selected. Otherwise I'm doing nothing.
I have an hidden text...
Hello,
I just want to change the Exclamation graphic by an Information or Question one (like in msgboxes). Is it possible ?
After each update, I send an alert, this Exclamation graphic is received by my users like an error message.
I don't want to use a confirm as the msg I send is like...
Hello,
I'm encrypting passwords using the FormsAuthentication Class:
Encrypt = FormsAuthentication.HashPasswordForStoringInConfigFile(Password, "SHA1")
I didn't find how to decrypt this password. The Decrypt method seems to be available only if there is a cookie but my users don't...
Hello,
I'm using this code to copy binary files to my IIS Server:
Dim imgStream As Stream = ImageFile.PostedFile.InputStream
Dim imgData(ImageFile.PostedFile.ContentLength) As Byte
Dim intFileNameLength As Integer
Dim strFileName As String
Dim Filename As File...
Hello,
I'm using this code to pop up a confirm msg:
lblMsg.Text = "<SCRIPT language = 'javascript'>doSubmit = confirm('Warning: This file already exists !');</script>"
I want to get back the result (ok or cancel) on code-behind side. I tried to replace doSubmit with...
Hello,
I got this unusual message on each remote workstation after a FileCopy:
Could not find file "D:\Test.txt"
System.IO.FileNotFoundException: Could not find file "D:\Test.txt"
The problem is occuring on the source file (and not the destination !)... I'm getting it...
Hello,
To deploy my site, I first have copied all off the files from my localhost to the Production server.
Now, I only want to copy the ones I have updated (*.aspx, *.vb, web.config).
If I do so, my site is not working properly. I tried to copy the Dlls located under my localhost\bin...
Hello,
I tried to pop up a message box using a ValidationSummary field but didn't manage to.
Microsoft doc:
-------------
This property can be used in addition to the ShowSummary property to control where the validation summary is displayed. If this property and EnableClientScript are both...
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.