Thanks for the response. I actually figured it out with VBScript. I do an onclick event in the radio box:
onclick="do_statchange(<%=TheTeamID%>)
In the VBScript subroutine, I do this:
sub do_statchange(TheTeamID)
for i = 0 to AssignTeams.TeamID.Length -1
if...
I have a situation where I want to get a team ID that has been modified. The user is provided with a list of teams and then a radio group showing assigned/unassigned, and then a submit value. Internally I have a hidden checkbox for each team holding the groupname "TeamID" and the...
This is how we approach the problem:
Dim conn as SQLConnection
Dim SQL as SQLCommand
Dim selectCMD2 as SQLDataReader
Dim SQLserver AS String = "server='MyServer'; user id='MyID'; password='MyPassword'; Database='MyDatabase'"
Dim ds AS New DataSet
conn = new SQLConnection(SQLServer)...
Thanks to Link9, this thread gave me the idea to fix the above problem using SQL. I just made a field in the dataset called "TheHyperlink", and built it up in the query:
select book_id, book_title, author_address, book_price, 'edit_entry.aspx?Id=' convert(varchar(6), book_id) +...
Sorry, my bust. I am using MyString = MyString & MyListItem.Value. Thanks for the input though.
"They never said it was going to be easy...."
Thanks for the response! I'm taking a similar approach to this... I think what is happening has to do with the postback (e.g. my script that handles when the user hits "Submit" is occurring after(?) some sort of postback event). Again, I made sure that the listbox, it's routines, the...
I have a listbox set up for multiple selection, and for some reason, I can't retrieve updated information on it. It is set up for multiple selection, and the check against it is triggered by a submit button. Everything is set as runat="Server" - so I'm not sure what I'm doing wrong...
I was able to do it with your template idea, along with doing a datgrid.columns.item(#).Visible command on the edit, cancel and update routines. Thanks for the help!
R/
Nuke
Thanks! I think you got me on the right track. I tried to post it as helpful but their website returned an error with a session variable LOL - looks like they need to ask someone in tek-tips about that!
R/
Nuke
I'm trying to populate a dropdownlist for a user to select from when in EDIT mode, but I would rather not have it visible during standard browse mode. Is there an easy way to do this?
Example: I have a table that will show the employee and the team they belong too (both as text) in a...
When an ID is assigned to a TR or a TD, does anyone know how to retrieve and USE the ID on an event? I can't figure out how to pass this value in a manner that it is an object and not a string - so I can use it along with the properties (e.g. IDNAME.Style.Color = "Black").
Example...
You may be having a similar problem that we had in our devleopment. The error we have when attempting to assign text fields to variables is that fields remaining PAST the text field cannot be assigned.
For example:
Set MyArray = MyDatabase.Execute("select integer, Memo, integer2...
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.