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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Caradog

  1. Caradog

    Daft question - mind gone blank!

    Just in case anyone else is following/searchig this post. In order to share a varaibled between two usercontrols on the same page, I used the following format: 1. Create a base class called "pageProperties" which is inherited by all my usercontrols: Public Class pageProperties Inherits...
  2. Caradog

    Daft question - mind gone blank!

    nevermind sorted! Thanks vbkris!
  3. Caradog

    Daft question - mind gone blank!

    Hi vbkris, got any examples of this method or pointers? I had a look at this ealier today but skipped over it...
  4. Caradog

    Daft question - mind gone blank!

    This is bad, I know it :) Following on form my post yesterday: I have created a base class which is inherited by all my usercontrols. The base class has the following above all the code blocks: Public Shared intPageID as int32 This variable is then set in control A and read back and...
  5. 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.
  6. 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...
  7. Caradog

    Forms Autentication & .htm extentions.

    Ah..I've just answered it myself... 1. Open the IIS Control Panel (inetmgr from command prompt) 2. Expand the appropriate nodes and select the Virtual Directory of the application which needs authentication. 3. Right click on the Virtual Directory and select Properties. 4. Click the...
  8. 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?
  9. Caradog

    VB.NET Getting and Setting a datalist in UserControl

    Sure so long as I can pass a var to it. WHat I have tried is creating a public sub in hte usercontrol to just display some text as a test. Then on the calling page referenced the control like so: Private WithEvents ucMyControl as MyControl Then I have tried to initate the function in the...
  10. 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...
  11. 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...
  12. Caradog

    Javascript DIV and visibility style

    RIght, that makes sense, so do I need to retgister the script someway before the page loads?
  13. 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...
  14. Caradog

    SP1 & Ent Manager Connections

    Ok, fixed the problem with Ent Manager. And seems I cannot use RRAS and Firewall at the same time. Not a problem.
  15. 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...

Part and Inventory Search

Back
Top