It's a bit complicated this one... Lets say I have a listing of PDF files displayed in the user's browser. Each filename is a link pointing not to the file, but to an ASP page, say
<--a href="viewfile.asp?file=somefile.pdf">somefile.pdf</a>
I want viewfile.asp to fetch the file (I've done that bit OK) but I then want the file to ...
asp page code:
<asp:ObjectDataSource runat="server" ID="odsResults" OnSelecting="odsResults_Selecting" />
<tr><td>
<wssawc:SPGridViewPager ID="sgvpPagerTop" runat="server" GridViewId="sgvConversionResults" />
</td></tr>
<tr>
<td colspan="2" class="ms-vb">
<wssawc:SPGridView
runat="s...
Hi folks,
How can i look every user session variable on IIS Application Server.
This issue is to find a biggest session variable on my application to find a leak because my session timeout requirement is too high.
...
I can already see that I'm not going to enjoy the experience, but I have to do some sql cleanup on this 1000 file asp classic web-app without any prior knowledge of asp, and before I get to hacking away at it I'd like to be aware of any major gotchas to watch out for while coding in asp classic/sql parameter preparing/making asp whitespa...
I have an html input that i use to upload files. Now on my page when I try to authenticate a user first, and hide the div that the controls are in for my file uploads, the collection is empty. When I dont use runat = "server", it works as expected. Not sure how to get around this.
Code: Here is what works...but without hiding... not wha...
Hello,
I want to port an existing, legacy, ecommerce website from ASP to ASP.NET.
What approaches do I have ?
is there a way to run an ASP file with an ASP.NET engine ?
are there tools to automatically convert ASP to ASP.NET and do they work on complex websites ?
other approaches ?
Thanks for your help
Jerome Wagner
...
I have Fileupload control in asp.net page if i upload my resume(.doc extension)
then it should be stored in SQL database how?
...
Im using the following code:
public string RenderPartialToString(ControllerContext context, string partialViewName, ViewDataDictionary viewData, TempDataDictionary tempData)
{
ViewEngineResult result = ViewEngines.Engines.FindPartialView(context, partialViewName);
if (result.View != null)
{
Strin...
I need to hide columns in GridView then access the values of these columns in GridViewSelectedIndex using vb.net When I set visible=false for Bound colums i cannot access the values
...
I have an ASP routine that gets a binary file's contents and writes it to a stream. The intention is to read it from the stream and process it st the server.
So I have:
ResponseBody = SomeRequest (SomeURL) ;
var BinaryInputStream = Server.CreateObject ("ADODB.Stream") ;
BinaryInputStream.Type = 1 ; // binary
BinaryInputStream.Open ;
...
This is the situation:
I've a PhP login page that check is an external ASP page has generated something (nickname).
For example:
i'm logged? So opening directly the asp page will display "nickname:thecrius" and nothing more.
I'm not logged? So opening the ASP page will display nothing.
Now i've to catch the "thecrius" string with a Ph...
I am pretty new to this stuff but I am running into a concept-wall and I keep going back and forth with the best way to handle the problem.
I have a multi-view process to filling out a "New User Form". Each view has a small part of the entire form. In each view I have a model and the model has properties set to an instance of a LINQ to...
I have 2 asp:ListView controls, one embedded in the other (OuterListView and InnerListView respectively). I am trying to add an asp:linkbutton in the InnerListView layout that will allow the user to add an item to the InnerListView. Unfortunately, when I handle the OnClick event in the linkbutton control, I can't figure out how to get ...
I got a class like this which gets returned from an ASP webservice:
class Data {
public int A {
get; set;
}
public int B {
get; set;
}
public int Sum {
get {
return A + B;
}
}
}
When I try to consume the webservice on the client side using Silverlight I only get the properties A and B but I also ne...
I have a back-end MS Access 2002-2003 database which stores blog entries. I created a separate front-end database with the forms for entering blog posts into the backend database. Finally, I have a website utilizing ASP to display the blog entries.
The website connects directly to the backend database using an OLEDB connection object. W...
I have some code that looks like this:
Set xmlHttp = Server.CreateObject("MSXML2.ServerXMLHTTP")
xmlHttp.Open "Get", myRSSfile, false
xmlHttp.Send()
myXML = xmlHttp.ResponseText
Set xmlResponse = Server.CreateObject("MSXML2.DomDocument")
xmlResponse.async = false
xmlResponse.LoadXml(myXML)
Set xmlHttp = Nothing
Set objLst = xmlRespons...
Currently I have a site that is using Google Checkout's mini cart system and I like it a lot, however, I'm wondering if there is a more professional way of doing it, while still keeping it simple.
I've looked into an authorize.net account, but I need to find a way to handle the mini shopping cart before heading off to process the order....
Hi everyone,
I havent done any classic ASP for a couple of years and now trying to get back into it from c# is prooving impossible! I've got a recursive function which very simply is supposed to query a database based on a value passed to the function and once the function has stopped calling itself it returns the recordset....however i...
Hi all!
have problems with mouseover in Mozilla and Chrome after making it work in IE, for sure I can tell you that my code woked perfectly in Chrome at least, cause thats my default browser and I used it for debuging when creating the javascipt and it worked nicely... until I tried to make it work in IE too.
Here I post the full code o...
I have a form built in asp that send the data to a third party app and sql, when the page is minimized and maximized the data i enter in the form initially is lost.
can someone explain the probable reason of why this could happen.?
...