Search Results

Showing results 1 to 40 of 107
Search took 0.01 seconds.
Search: Posts Made By: madmital
Forum: ASP.NET 15 Days Ago
Replies: 22
Views: 9,007
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Solved: Form looping
Views: 976
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Solved: Form looping
Views: 976
Posted By madmital
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
Posted By madmital
....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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
http://www.daniweb.com/techtalkforums/thread29525.html
Forum: ASP.NET Feb 10th, 2007
Replies: 22
Views: 9,007
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
moved the key, same result: runtime error.
Forum: ASP.NET Feb 9th, 2007
Replies: 22
Views: 9,007
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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
Posted By madmital
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...
Showing results 1 to 40 of 107

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC