User Profile
Collapse
-
Oh, and i can provide the entire class if need be - I am just in a hurry right now else I would have posted it already :) -
Pagination User Control + Class problems (C#)
Hello,
For starters:
Yes, I am new to asp.net, however I hold a good 9-10 years of experience working with classic asp and am only just now upgrading my skills. I'm picking asp.net up pretty quickly but I'm running into a stumbling block that I just can't seem to get around. I think I know what the problem is, and I'm pretty confident in a work around, but it's not quite what I had hoped for so I thought I'd pick some... -
It sounds like you would better off doing this with javascript. You can find a character or phrase in another string in ASP but you cannot generate any sort of alert message, only a textual error spat out on the page.
[code=asp]
sVariable = "Some string with a comma,"
If InStr(sVariable ,",") > 0 Then
Response.Write "You are not allowed any commas!"
End If
...Leave a comment:
-
Worker Process bombing
Hey guys,
I'm in need of some serious assistance here.
The worker process on a web site I am developing is bombing constantly (something like 10 times within 1 hour last night) I noticed this over the weekend when I was trying to develop something that uses sessions and the session information kept disappearing.. then our ADO constants started screwing up. I looked at the event viewer and there are the following messages... -
[font=Arial]As I understand it, CodePage only accepts numerical integers for its values. So try the following directive at the top of your page. 65001 refers to UTF-8. You can also try using the LCID which will change character encoding, financial signs, etc etc. Do some google searches for LCID and CodePage values to see if you can find the integer values that refer to the country you want to set this for. It's also important to note that Response.CodePa ge...Leave a comment:
-
This can happen if there's a problem with the AJAX response, like a 404 or an error within the ASP script you're trying to call.
In the below code
[code=javascript]
function stateChanged() {
if (xmlHttp.readyS tate==4) {
document.getEle mentById("div_i d").innerHTML=x mlHttp.response Text;
}
}
[/code]
You should put in some error handling..
[code=javascript]...Leave a comment:
-
Try rs.Open strSQL, oconn, 3, 3
btw, the second error is probably appearing because your ADO constants aren't properly declared anywhere.
Sincerely,
Mark...Leave a comment:
-
Just some general input:
I have a function I use for this.
[code=asp]
Function Quote( sTemp )
Quote = Chr( 34 ) & sTemp & Chr( 34 )
End Function
'And called like so...
sSomeString = "<input type=" & Quote( "text" ) & ">"
[/code]
Makes it nice and simple :)...Leave a comment:
-
markrawlingson replied to Does re-sizing an image to a small size dynamically, reduce download time?in ASP ClassicImage size in bytes is directly dependent upon the amount of pixels within the image. So indrectly, yes it does. It reduces download time by the user since smaller image dimensions have less pixels. The same is true if you were to keep the current dimensions but reduce the image's quality.
Sincerely,
MarkLeave a comment:
-
Hi ASPNewb. Please post your question in the correct forum - ASP is not ASP.Net. Also, please use code tags around your code.
I'll move this thread to the .net forum.
Sincerely,
MarkLeave a comment:
-
That is weird. Have you tried running a query directly in the database and see what you get back?
By the way, you can also use the LCase() and UCase() functions to change the case. So if you want everything in lower case, you could use the LCase function to get there.Leave a comment:
-
No problem. In the future please don't double post questions though.
I'll move this thread.
Sincerely,
Mark...Leave a comment:
-
I personally have 0 experience working with oracle. Here's a couple resources for you though.
http://ora-12154.ora-code.com/
http://download-uk.oracle.com/docs/c...g.htm#BABBBGGG
http://download-uk.oracle.com/docs/c....htm#ORA-12154
http://download-uk.oracle.com/docs/c....htm#sthref484
I also have...Leave a comment:
-
I'll first re-iterate what CroCrew has already said: This is the ASP Forum, not the flash forum. Please be mindful of where you post your questions.
In response to your question though, and again - this being the asp forum - i'm no expert in flash, probably couldn't even draw a stick man, but could you not implement some sort of an ascii character picker that the user could click on, select the character, and it would throw it into the...Leave a comment:
-
Ugh, tell me about it. I just had to make a bunch of our pages printer friendly. No easy task. Ended up creating a duplicate of the page, reformatting the entire page to fit on a 8 1/2 x 11, opening it in its own window, sending it a print command onload and then closing the window immediately after sending the print command.
As far as word is concerned I would agree with CroCrew that if the only thing you're changing is ms word - that's...Leave a comment:
-
Moving thread to .net forum where you'll get more help.
Sincerely,
MarkLeave a comment:
-
Jared is correct in the above statement except for a single word.. "are". In reality, the ASP engine SHOULD clean up the objects after the page is finished executing - however it doesn't always. The standard garbage collection is incomplete and unreliable. If you don't explicity clean up your objects you are effectively placing all of your faith in the ASP engine to do the dirty work for you. But what happens when the ASP garbage collection...Leave a comment:
-
Thankfully I only got my mod status a few days ago, so I can tell you there is no delete option, you can only delete the content from your post so that your post shows up empty - not very good. Though If I post something and then figure out the answer I usually edit my post with "nevermind this thread, figured it out"
:)
Sincerely,
Mark...Leave a comment:
-
Well now that's neat.. I didn't even know you could do that without a third party component. I'll have to play around with this one :)
thanks Jared.
Sincerely,
Mark...Leave a comment:
-
No need to apologize :) Just want to get the post to the right area.
Sincerely,
Mark...Leave a comment:
No activity results to display
Show More
Leave a comment: