Click to See Complete Forum and Search --> : visible
PeOfEo
02-10-2003, 09:05 PM
i know in vb I can set an object to visible=false and Im new to asp.net and was wondering if I can set an object to visible=false and visible=true in this since it is after all using vbscript. I have not seen it done yet though. Is it possible?
PeOfEo
02-11-2003, 11:24 AM
well im working on a message forum and I dont want the reply text boxes to open up in a new window so I was thinking I could make all of the labels visible=false and the text boxes visible=false, what would happen on netscape? I am too consernet if it displays normal it just wont look quite as nice. I might just break down and make it open in a new window but this stratagy lets people copy and paste a certain sectian while they are writing a reply so it is just more conveinaiant bus as it is now it does not look very good. Oh yea where is a good place where I can get a shareware version of acess or something similar because microsoft.com wont let me download it because of the recent slammer worm virus and the ibm web site has a scripting error and IE closes when I try to download the file.
PeOfEo
02-11-2003, 07:40 PM
what would that look like on a browser that is not able to handle that script? Whould it just show it visible like say... netscape below six like ns4 or something. I am a novice at asp and asp.nett still so this is just looking like the logical solution until I think of something better... little by little I progress...
PeOfEo
02-11-2003, 08:02 PM
What I was actually think of doing was setting my command buttons text boxes and labels to visible=false in the on page load private sub but then when the user clicks reply the feilds will appear because the command button wil set all of the objects to visible=true then after the user hits the ok button after he typed out his stuff it makes those feilds invisible again so they dont interfear with him navigating through the feilds though they are still there. You can view this primative forum here www12.brinkster.com/knightsempire/db/index.aspx
Its layout and colors are way off and its well... pretty horrible. Its and early lesson in the book im using. I might just want to scrap that code and see if I can find some more advance templates at some asp script site and modify them beyond recognition. I would actually learn a lot that way too. Just need a good example to rip off.. Um err... emulate:D
PeOfEo
02-11-2003, 08:18 PM
could you give me a link to your guest book. When I try and visit your site internet explorer encouters an error and I get an error report message that pops up and it closes all or my internet explorer windows... Something you might want to investigate on your site. Have other people try and view it. I use IE6
PeOfEo
02-11-2003, 09:09 PM
uhhhh yea.... Java script asp is confusing to look at when you have been seeing it in vb. I like basic script more. I know java script but I started using basic script for asp first. So when looking at asp forums on some sites it is a little confusing.
PeOfEo
02-11-2003, 09:15 PM
here is someting you would like http://www12.brinkster.com/knightsempire/db/db3/index.aspx ***
its similar to a guest book in make up and I am thinking I might tinker with it and see if I can modify it and add threads because I like the calander features on it. It is also so close in design to a forum. it falls inbetween a guest book and a forum. This was also In the book I bought. Sry I posted the wrong url before this one is correct
Ribeyed
02-12-2003, 05:34 AM
hi,
PeOfEo your are confused lad
:confused: :confused: :confused: :confused: :confused:
PeOfEo
02-12-2003, 04:34 PM
?
Ribeyed
02-12-2003, 07:00 PM
hi.
What like your superfluously post, telling me that Dave. Anyway here is your answer:
<asp:textbox ID="UserName" runat="server" TextMode="SingleLine" Visible="false" />
Ribeyed
02-13-2003, 06:06 AM
ouch, someone has a problem, you just stick to answering JavaScript and leave the rest of the questions to the air head
PeOfEo
02-13-2003, 11:31 AM
Dont get in an arguement over this I just didnt know why ribeye was saying I was confused, but yea it seems we were talking about different languages here. So if I make something visible on the page load or in the text box properties can I type in a command buttons sub that label1.visible="true"