Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Caradog
  • Content: Threads
  • Order by date
  1. Caradog

    Daft question - mind gone blank!

    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.
  2. Caradog

    Placeholders: getting inner HTML.

    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...
  3. Caradog

    Forms Autentication & .htm extentions.

    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?
  4. Caradog

    VB.NET Getting and Setting a datalist in UserControl

    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...
  5. Caradog

    Find time in a given range...

    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...
  6. Caradog

    Javascript DIV and visibility style

    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...
  7. Caradog

    SP1 & Ent Manager Connections

    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...
  8. Caradog

    Double Precision (Real, Double, Access & MS SQL)

    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...
  9. Caradog

    Sharing a procedure from a UserControl

    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...
  10. Caradog

    A better way to do this sproc...

    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...
  11. Caradog

    Pass variable to a control via HTML / aspx page

    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...
  12. Caradog

    Capature JavaScript function Call

    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?
  13. Caradog

    Recursive Datalist (categories display).

    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...
  14. Caradog

    VB.NET coder -&gt; C# coder (procedures)

    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...
  15. Caradog

    Datagrid pusgbutton event

    Guys, I got a datagrid... DataGrid1.BorderWidth = Unit.Pixel(2) DataGrid1.CellPadding = 6 DataGrid1.GridLines = GridLines.Both DataGrid1.BorderColor = Color.Black DataGrid1.ShowHeader = True DataGrid1.AutoGenerateColumns = False...
  16. Caradog

    Show tables in an access db

    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
  17. Caradog

    ASP Error 0

    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
  18. Caradog

    Flush ICS DNS Cache

    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...
  19. Caradog

    Request.Form &amp; BinaryData (form upload)

    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...
  20. Caradog

    CDONTS/SMTP via Lotus Notes

    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...

Part and Inventory Search

Back
Top