Hiding Controls In Asp
I want to hide the form control on clicking the submit button on the same form.Tell me the solution.And also facing the problem while using the date time pickers in frontpage.
Actually by using asp value of date selected is being fethched in variable but on clicking the submit button again the datepicker shows the date before selecting the date.
View Replies
ADVERTISEMENT
I'm searching of a way to send an email, and i don't want the user to know
where he send the email.
Let say i want to send a message to Bob001.
I will type Bob001 in the SendTo field.
When i type the Send Email button, i would like the web page to do this:
Get the username, Bob001.
Find his email in my database
Get the message in Message.
Create the email.
Send the email.
I don't want the user to be able to read the user email.
Every example show something like a "<a href" method. Which is not what i
need.
Is there a way to do so?
1- I don't own the web server
2- Windows 2000
3- Asp install (Asp.net too)
4- Php is not available (so no mail object)
View Replies
View Related
I would like to know if this is possible. I'm using ASP with JSCRIPT.
I have a dropdown box that when the use selects a particular value, I would
like the textbox to become visible.
also if they dont choose it, I would like the textbox to be hidden.
I have this web input form with many other fields. This dropdown box is in
the middle of these fields.I dont see any property to set. I see the disable property but I want it
hidden.
View Replies
View Related
I have a page and dependant on what is passed via the url ie page.asp?area=xyz
If the QueryString("area")=xzy then part of the page is hidden. How would I go about this?
View Replies
View Related
We have a customer that wants us to put our ASP application on their server, so they can have direct access to the database. However, we don't want to leave our code wide open for them to copy and/or modify.
I have heard that there are ways to protect our ASP code, but I don't know what they are.
Could someone please list several options for me, and preferably places where I can do a little more research?
View Replies
View Related
I have http://localhost/myweb/login.asp and i clicked some link in this page navigates to http://localhost/myweb/welcome.asp?userid=2 but in the browser address bar, I wanted to display only http://localhost/myweb/ and I wanted to hide the asp page names & query strings in the address bar.
View Replies
View Related
I have a table which displays data and now I would like to add some of that data together and just display it when the user clicks a button. I was just wondering if there is a way to do this on the same page such as hiding it without having to create another asp page? I was also wondering for output which is it best to use?
<%= output %>
or
<% response.write(output)%>
View Replies
View Related
I want to hide all my querystrings variables and filename when they executed how can i do this.
View Replies
View Related
I want to hide all my querystrings variables and filename when they executed how can i do this?
View Replies
View Related
can u use the If Not IsNull statement to do this? and if so how please? I have various text boxes, caught in a repeat statement, when the other feilds run out of info i dont want the text box to be displayed. can anyone see what i mean? Basically when the fields before the text box run out i want the text box not to display.
View Replies
View Related
i have a problem with one of the ASP pages in the website i am doing. I can see the code literally on the page itself on IE browser( highlighted below in red). this happens when i highlighted the page I and can see the code (SQL statement appears).
As this is a potential problem, I want to hide it so that it wont be hacked by irresponsible hackers who may change it. Code:
View Replies
View Related
Anyone know a useful way of hiding image paths so images on my site cant be directly linked to?
I've seen sites that use <img src="image.asp?/moo/fred/image01.jpg"> (where the path starts from www.domain.com/secretfolder/moo/fred/image01.jpg) but dont know how to set this up.
BTW am on a shared host so dont have the use of base level administration if it makes any difference?
View Replies
View Related
if i want to pass parameters between pages... e.g. a href="page2.asp?name=Brian"...
is there a way of hiding this so that the name=Brian part does not appear in the address bar... I would prefer not to have to use forms and buttons to do this...
View Replies
View Related
I have a form that submits to as asp processing page and that processing page inserts the info into a database and sends me an email. <form action="process.asp" method="post">there are a few pranksters out there that like to open the process.asp page directly and send blank info to my database and email. Is there a way to have this page only work when the form submits to it but not work if you just go directly to the page. I tried changing the permission to write only, but then you are asked for a password.
View Replies
View Related
Is there anyway to hide specific words in my page??? for example when say "visit" in my page the asp code to prevent it from showing it in my page...any example code would much apprecited due to my limited experience to ASP
View Replies
View Related
I want to display the contents of a field with a label if there is data in that field. If there isn't then I don't want the label to appear.
I tried this:
<%If Venueinfo("email") = "" Then
Else%>Email: <a href="mailto:<%=Venueinfo("email")%>">Click to
email</a><br><%End If%>
But it doesn't seem to work. It seems to always display the label and link even though there is no data in that field.
View Replies
View Related
How we can hide values of variables in our querystring those are readable in the address bar? is there any way we can encrypt the url and when it is required we can de-crypt it also like yahoo do?
(http://www.yahoo.com/_ylh=x3oDMTB1M2EzYWFoBF9TAzI3MTYxNDkEdGVzdAMwBHRtcGwDaWUtYmV0YQ--/r/m1)
It does not change the domain name but change the folder name and query string's values.
and url encryption should be automatic.
View Replies
View Related
I have a website in ASP. Is it possible to somehow hide the .asp extenstion, so that other don't know what backend language is being used?
View Replies
View Related
Is it possible to hide the address bar after logging in to the site? I have my site in which after the user has successfully logged in, i want to hide the address bar further i.e i dont want the user to see the path of asp pages.
View Replies
View Related
I have a customer with an extensive intranet which contains a lot of
sensitive company data. The client is concerned that any employee
could download source code back to removable storage and thereby steal
the data.
Printing is considered publicly risky and other capture methods of
visble screens would be too clumsy and outside the capability of most.
So we have been asked to make the source "invisible" or at least
extremely difficult to reveal.
View Replies
View Related
Does someone have a reasonable method for concealing the paths to data when using ASP to MS Access?
I maintain a website where some data is intended to be released according to date:time. Some visitors like to "jump the release date" and just copy-n-paste the visible short cuts so they can get an early view of the material stored in a MS Access database.
Because I do want to continue using a straightforward naming convention for the various files, I was hoping someone might have information on how they had kept from pre-releasing information in this situation.
View Replies
View Related
I want to display the contents of a field with a label if there is data in that field. If there isn't then I don't want the label to appear. I tried this:
<%If Venueinfo("email") = "" Then
Else%>Email: <a href="mailto:<%=Venueinfo("email")%>">Click to
email</a><br><%End If%>
But it doesn't seem to work. It seems to always display the label and link even though there is no data in that field.
View Replies
View Related
Is there anyway of making the hidden fields not show in the editor?
I use alot of hidden fields and it confuses the design if there are lots shown on the page. I have written validation for this site and need to hide the hidden fields i have created. I have searched google and there is some information on this, but it is very confusing.
View Replies
View Related
How will create no.of check boxes as per user requirement in ASP. How will we keep the names to the check boxes.
<% for i=1 to n %>
<input type="checkbox" name=? >
<%next%>
How we use the naming convention in the place of? How can we check the condition by using above naming convention
if( checkbox.checked =true) then
<< body of the condition>>
end if
View Replies
View Related
I have a Base class that is inherited by Form.aspx them Form.aspx loads 2 controls Menu.ascx that never changes and a body control that is selected dynamically at runtime. On each of the body controls I have a Function for validating the page Val() .
What I need to do is when an image button is clicked on the Menu.ascx I need to Fire off Val() in the Body control. Is this possible? I have tried setting a session var. but I have to load menu.ascx after the body control for the page or the body control does not function properly?
View Replies
View Related
I'm looking for a solution for the following problem:
I created ASP code to convert an URL such as:
http://localhost/mypage/category_20/article_15/
into the following URL:
http://localhost/index.asp?page=myp...20&articleid=15
Now, the first URL is submitted by the user. The second one is the real URL,
but not visible for the user. This one should be handled by the web server
internally.
I thought I could accomplish this task with server.execute or
server.transfer, but none of them can handle querystrings. Is there another
way to do this?
Are there perhaps any COM objects? (This will be my last choice, because the
whole system should go running on an iASP (instant ASP) server too if
possible)
View Replies
View Related
i want a tutorial for hiding/unhiding textbox with dynamic values when checkbox is clicked and vice-versa.
View Replies
View Related
FormView & DetailsView are great controls in the new version of ASP.Net, but
I am finding it tricky to display more than the record that either control is
bound to at the time. For these controls to be useful in any mode other than
read-only, we need the ability to populate controls like drop downs that hold
associated data, which in the DB represents foreign key related data. In
order to do this, do I create a template field that has a seperate control
that binds to a different data source pulling back the "lookup" data?
View Replies
View Related
I have a list of radio buttons that is populated from the database.
The value of this radio button from the DB is SalesRanking
If one selects the radio button (Sales Ranking) then I want to display 2 select boxes.
Is this possible?
View Replies
View Related
I have the following problem: I have an asp-page which contains a loginview
with two templates (loggedin- and anonymoustemplate). How can I access a
textbox inside the the loggedintemplate from the code behind c# module?
I tried: (TextBox)Page.FindControl("TextBox1") but that will result in a
null pointer.
I also tried:
(TextBox)Page.FindControl("ContentPlaceHolder1.LoginView1.TextBox1") with the
same result.
View Replies
View Related
I am using the object command in asp page to download and register my controls on the client machine. But when a upload the file and run the page on client machine its shows means the permission to download the controls but it didn't download it on client machine as a result i am not able to use any of the control function from page. what to do.
I am using this object tag to download
<OBJECT
ID="voxPlayer"
CLASSID="CLSID:45C0D292-1955-4ABF-8FFE-BEDC323ADBD9"
CODEBASE="http://<ServerName>/<myControl>.cab"
height = "10"
width = "20"
border = 2>
</OBJECT>
Am i missing anything
View Replies
View Related
How do I add controls in an asp page at runtime ? Does anyone have a sample piece of code? or sample? or link?
View Replies
View Related
Code:
<input type="txtLast" name="txtLast" size="20" style="background:#000000; color:#FFFFFF">
I want to change this color when someone selects this control. I know in visual basic the set.focus function works. how do I apply this to this control.
View Replies
View Related