Forum: ASP.NET 15 Days Ago |
| Replies: 22 Views: 9,007 Hi, dbreise.
If u notice the post dates you'll find that this thread has been dead for more than 2 years now, and no longer has any relevance. But thank you, though ;-) |
Forum: ASP.NET Jun 30th, 2009 |
| Replies: 3 Views: 673 Hrmm...
It seems overriding the SaveViewState method and manually retrieving the HiddenField's value does the trick.
protected override object SaveViewState() {
this.hf.Value =... |
Forum: ASP.NET Jun 29th, 2009 |
| Replies: 3 Views: 673 Hi, and thanks for your reply.
And no...I didn't read through the articles you mention.
This is my first go at a server control, so I probably should have.
I'm gonna start with the sections on... |
Forum: ASP.NET Jun 29th, 2009 |
| Replies: 3 Views: 673 Hi.
I have a custom control that inherits from TextBox and implements ICallbackEventHandler.
The control is kind of an extended ajax autocomplete/suggestions one.
Aside from the Text property... |
Forum: C# Dec 9th, 2008 |
| Replies: 6 Views: 12,022 Yeah, thx.
I'm with you, kdelta.
It's remarkable how you can forget such a simple thing over and over again...*jeez* ;-) |
Forum: ASP Mar 29th, 2008 |
| Replies: 1 Views: 714 Forgive me not answering your question, but I'm curious as to why you would even consider hiding the source of a form from the user?
If you're writing "sensitive" data into the form, and that is... |
Forum: ASP Mar 29th, 2008 |
| Replies: 1 Views: 614 What about the IIS (Internet Information Services)? It runs asp.
IIS is not installed as standard but is included on the Windows XP installation CD.
Go to Control Panel -> Add or Remove... |
Forum: ASP Mar 21st, 2008 |
| Replies: 4 Views: 976 Like I wrote in the first code snippets it would be wise to name ALL field uniquely.
If you look closer at then snippet with the two for-loops
For i = 1 To intCount ' for the rows
For j = 1... |
Forum: ASP.NET Mar 20th, 2008 |
| Replies: 1 Views: 665 check that the internet user account on the server has permission to write to the directory in question.
On a Window Server the user account that need permissions set is called "IUSR_" follwed by... |
Forum: ASP Mar 20th, 2008 |
| Replies: 2 Views: 1,459 use javascript.
<a style="cursor:pointer;" onclick="document.forms['formname'].submit();">test</a>
And then you can always change the form action or store some data in hidden form field to send... |
Forum: ASP Mar 20th, 2008 |
| Replies: 2 Views: 707 running the aspnet_regiis should not be necessary if the .Net Framework was installed properly on the server.
A common error in these cases if an incorrect customErrors web.config section,... |
Forum: ASP Mar 20th, 2008 |
| Replies: 1 Views: 1,415 You can put an "onchange" javascript event on combobox 1 that submits the form.
Then serverside you can read the value of the chosen combobox 1 value, read out values from the database, and create... |
Forum: ASP Mar 20th, 2008 |
| Replies: 3 Views: 2,765 Upload files in classic asp requires some sort of upload component to be installed one the server.
Smth like http://www.aspupload.com/ will work
I've never been able to find a free component... |
Forum: ASP Mar 20th, 2008 |
| Replies: 4 Views: 976 This appears to be pretty simple to me, so maybe I'm not getting what you're trying to do.
But anyhew, I'd do smth like:
Dim intCount
intCount = Request("intCount") ' user entered how many... |
Forum: ASP.NET Mar 14th, 2008 |
| Replies: 2 Views: 488 ....but for starters you need the correct .NET Framework installed on the machine running the IIS.
Also you may need to setup an IIS application to run the web site in question.
As regards VWD:... |
Forum: ASP Feb 25th, 2007 |
| Replies: 5 Views: 10,357 This is an asp forum, ammarcool...not .NET.
<%
set fso = server.createobject("scripting.filesystemobject")
set file = fso.opentextfile(server.mappath(".") & "/data.txt", 1)
data =... |
Forum: ASP Feb 25th, 2007 |
| Replies: 1 Views: 4,383 You should never execute code without evaluating it first.
Since a checkbox has only two possible values a simple if...else eval will do just fine.
Smth like:
strSQL = "INSERT INTO tblHome... |
Forum: ASP.NET Feb 14th, 2007 |
| Replies: 1 Views: 1,292 The session variable can be set practically anywhere. I'd set it in the page.load section.
To update the variable when the selected dropdownlist value is changed you have to do a postback.
Just... |
Forum: ASP Feb 13th, 2007 |
| Replies: 10 Views: 2,761 Depending on the conn-driver somtimes you can get unwanted results by evaluating with "=" on string values.
I personally always use "LIKE" as in:
strsql = "Select ssn From cwct07 where ssn LIKE '"... |
Forum: ASP Feb 13th, 2007 |
| Replies: 3 Views: 1,343 http://www.daniweb.com/techtalkforums/thread29525.html |
Forum: ASP.NET Feb 10th, 2007 |
| Replies: 22 Views: 9,007 Hmmm....I found a way that works.
Initially I mapped the virtual directory and referenced it from the .NET class by physicalApplicationPath & "FCKeditor"....which didn't work. The .NET path output... |
Forum: ASP.NET Feb 10th, 2007 |
| Replies: 22 Views: 9,007 Yep, I can access the file by http - no problem.
In the class I'm referencing the file by
request.physicalapplicationpath & "virtualfolder" which also returns the correct physical path on the... |
Forum: ASP.NET Feb 10th, 2007 |
| Replies: 22 Views: 9,007 Don't worry about it :)
I actually tried inserting the missing space in <location> mysel 'cause I though it didn't look right, but I gues I missed the one in "<allow>"...
Anyway, something did... |
Forum: ASP.NET Feb 9th, 2007 |
| Replies: 22 Views: 9,007 moved the key, same result: runtime error. |
Forum: ASP.NET Feb 9th, 2007 |
| Replies: 22 Views: 9,007 You're right about the class and the text file but it still won't work.
Putting the <location>-lines in the web.config only returns the well-know Runtime Error instead of the previous error message:... |
Forum: ASP.NET Feb 8th, 2007 |
| Replies: 22 Views: 9,007 No login.aspx isn't configured as the login page. But that's not really mandatory, is it?
Also no, I don't have a location section....in fact I don't think I know what it is.
Can you enlighten me? |
Forum: ASP.NET Feb 8th, 2007 |
| Replies: 22 Views: 9,007 Can't migrate or make significant changes to the server setup.
I have approx. 150 web sites to support - it would be too costly.
There must be someone who has solved a similar problem... |
Forum: ASP.NET Feb 8th, 2007 |
| Replies: 22 Views: 9,007 When the above error occures the app. is about to load the login-page for a CMS I've been writing.
The text file contains a copyright notice and version info.
This is the first request to files in... |
Forum: ASP.NET Feb 8th, 2007 |
| Replies: 22 Views: 9,007 Naaa, that doesn't do it....unfortunately.
But I just (for once) read the stack trace which says:
[DirectoryNotFoundException: Could not find a part of the path... |
Forum: ASP.NET Feb 8th, 2007 |
| Replies: 22 Views: 9,007 Nope.
The folder in which I wanna apply the virtual folder is in level 2 from the web site root.
All folder names are keep "valid"; no spaces, no odd characters (ΓΈ etc). Same goes for the to-be... |
Forum: ASP.NET Feb 8th, 2007 |
| Replies: 22 Views: 9,007 I'm trying to create a virtual directory in an asp.net 2 application....and I'm about ready to explode.
My company is hosting several web sites, and I want all of the sites to be able to share a... |
Forum: JavaScript / DHTML / AJAX Oct 6th, 2006 |
| Replies: 4 Views: 4,858 So, statements of personal oppinion are unwelcome ?
Frames, AS I SEE 'EM, greatly dimish the flexibility and scalability of a site, can be the cause of navigation issues, and requires more work to... |
Forum: Graphics and Multimedia Oct 5th, 2006 |
| Replies: 3 Views: 1,393 Maybe it is not a filter at all.
Could be just a poorly scanned image from a news paper... |
Forum: JavaScript / DHTML / AJAX Oct 5th, 2006 |
| Replies: 4 Views: 4,858 Sounds odd....
Normally the size of the expanded select element will fit in the screen/window.
But you could add the "size" attribute to the "select" element. That'll make the "size" number of... |
Forum: ASP Oct 5th, 2006 |
| Replies: 4 Views: 2,931 If its' an Access DB, you can enter the default value "Now()" in the date stamp field.
Or, you can add a date stamp in your sql:
"DateValue(Now)" will return the date only (like: 10-10-2006)
"Now"... |
Forum: ASP Oct 4th, 2006 |
| Replies: 4 Views: 2,931 Since it's a text column in the DB, simply try enclosing the "FaxNumber" in single quotes:
<%
'strSQL = "INSERT INTO tblComments (FaxNumber) VALUES ('" & Request.Form("FaxNumber") & "')"... |
Forum: JavaScript / DHTML / AJAX Oct 3rd, 2006 |
| Replies: 3 Views: 2,864 CSS "filters" are IE-only.
Use the "visibility" att.
Something along the lines of this should work:
<style>
#dropdownmenu { position: absolute; top: 20px; left: 20px; visibility : hidden; }... |
Forum: ASP Oct 3rd, 2006 |
| Replies: 1 Views: 4,265 I'd make the user select which news snippet to view by a link including the news_id value in it.
After that you just pull all the comments related to the snippet like
"SELECT * FROM user_comments... |
Forum: ASP Oct 3rd, 2006 |
| Replies: 3 Views: 2,892 You don't learn anything by having someone serve you the answer.
You learn by doing. Find some examples for starters, and solve whatever problems you encounter as you move along.
If you truely... |
Forum: ASP Sep 29th, 2006 |
| Replies: 1 Views: 1,573 As far as I remember you need to set write permissions on the database directory specifically as well. Not just on the virtual dir but on the actual folder.
Depending on your server OS and user... |