Ok, too many beers tonight!
ASP.NET 2.0 / VB.NET
Have one ASPX woth TWO ASCXs (usercontrols of course) on the same page.
Usercontrol A sets a variable.
I then want Usercontrol B to read the value set by A.
Best method besides a session to do this? Expose a public variable???
Ta.
Hi, I'm trying to get all the HTML written inside a placeholder control in an .aspx then, then duplicate it x number of times. E.g., this is my example placeholder below, I want to grab everything inside this control, maybe monkey around with it, then duplicate it a few times. Possible...
Hi, I'm using forms authentication for a project and it works great with any .net pages, but I also have mixed media in the directories I need to protect, such as .htm, .asp, .gif, .swf etc, But forms autentication doesn't work on these files. Is it possible to make it work?
Guys, I got a bit of problem. I've done this before but for the life of me I can't find the code.
I have a usercontrol which populates a datalist of names. This is done once on pageload.
On the aspx/vb which includes this usercontrol (which has already rendered the datalist of names), I need...
Maybe I'm just a little tired and the last pint is kicking in, but I'm a little lost on a time issue.
I have three time ranges:
1: 07:00 to 12:00
2: 12:00 to 19:00
3: 19:00 to 07:00
Then I have time value, lets say its 10:00 (but it will be others too) and I want to find which of the above...
I got a weird effect firing off a JS event on a onClick event in vb.net.
I have this line in my html:
<div align="center" id="divPleaseWait" style="VISIBILITY:hidden">Please Wait</div>
Then this in .vb to make it active:
dlMeters.Attributes.Add("onClick", "JavaScript:doPleaseWait();")
The...
Guys, a problem has occured after installing sp1 on our 2003 server.
Right after installation, one of our developers tried accessing our live database via enterprise manager. To get to net he goes through:
PC -> Hub -> Win2k3srv (with remote routing and access enabled) -> Router -> Internet...
Guys, I got a bit of problem with data types.
I have an Access Database which contains various amounts of data stored on a daily basis. The format of this data in Access is in Real.
I have written a web front end to allow users to query this data in vb.net, however, the data is copied via a...
I have a usercontrol attached to an aspx page (vb.net). The user control has a Public function set up as so:
Public Sub pdqmAddItem(ByVal intProdID As Int32)
lblTotal.Text = "add item " & intProdID
End Sub
In the code behind on the page which has the User Control on it, I want...
I have a situation where I have multiple companines, all with the same table structure but with different data. My idea is to repeat the table structure for each new company but have a different prefix for each table name, for example, "tbl_comp1_data" and "tbl_comp2_data", and then I would use...
Just a quick question, dont have any reference books on me at the moment and google's driving me nust today, so though I'd get some clarity from you guys with a simple yes/no answer :)
We have a product which we are handing over to some designers, they get all the aspx pages, no .vb, and a list...
I have some code written to a litteral sometihng like this:
strHTML.Append("<a href=""JavaScript:catchClick(1);"">LINK</a>")
Is there a way I can programmatically catch that JavaScript call to a function in the .vb page and do some stuff with it?
Right, this one's got one confused as to the best way of find a solution.
I have a table I can query which has an unlimited number of categories for a shop, so cat 1, can have a sub cat 1,1 in turnthat can can have 1,1,1 and so on.
I am able quite easilly to recursively loop through this table...
Guys, I've got hopefully a quick question here. I'm a reasonable vb.net coder but recently I have had to convert to C# for a job. Although I understand OO princeables its been awhile since I've coded in any C like language and I'm getting myself tied in knots :)
In one of my VB.Net apps, I have...
I know this can be done but can't find the code wherre I did it or remember how...I am trying to list all the tables in an access db to a web page...anyone help me out here?
- Jay
code@jay-hayman.co.uk
Wotcha ppl,
ASP is raising an error 0 for some of our pages though we don't know why or what the error is. Our first thoughts is that it's not an error, possibly a warning or similar, or maybe even a dummy error.
Does anyone know what error 0 actually is? - Jay
code@jay-hayman.co.uk
I have a friend who has a small network with a gateway computer acting as ICS proxy machine. He has recently changed web hosting provider so the DNS for his site and mail have changed.
If a mail is sent to him externally or vise versa then he recevies the mail. If a mail is sent interenally it...
I'm uploading files to a web server no problem at all using pure asp via a form set to miltipart/form-data. A little slow but achives what is required. Now I have to validate new data before going live, however I know form experience in the past that you cannot use a Request command before or...
Previously I have worked in a pure M$ envrioment, using ASP and IIS/SMTP I've been able to send e-mails from my web pages.
In my current contract we have an IIS5.0 machine with SMTP installed and also Lotus. Becuase exchange is not in use there's no obvious way from my ASP code to send an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.