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!

Search results for query: *

  • Users: figler
  • Order by date
  1. figler

    Authentication By Form?

    Is it possible to force windows authentication on one aspx but not another in the same application? So... Can I place <authentication> tags in the aspx itself and how do I configure IIS if I don't want to force authentication for every page in the application? Thanks. -Brad
  2. figler

    Programmatically Declare User Control

    I've stripped down the code until I get this problem fixed, but here's what I have been using for addminiagenda.ascx: <%@ Control Language=&quot;VB&quot; %> <%@ import Namespace=&quot;system.data&quot; %> <%@ import Namespace=&quot;system.data.oledb&quot; %> <script runat=&quot;server&quot;>...
  3. figler

    SelectedIndex in a DropDownList from a value

    i've stripped down the code until i get this problem worked out. here's what i've been using for addminiagenda.ascx: <%@ Control Language=&quot;VB&quot; %> <%@ import Namespace=&quot;system.data&quot; %> <%@ import Namespace=&quot;system.data.oledb&quot; %> <script runat=&quot;server&quot;> dim...
  4. figler

    Programmatically Declare User Control

    I'm using &quot;Web Matrix&quot; from www.asp.net -- no intellisense. Not sure i understand your point about the namespace... addminiagenda.ascx is a file in the same directory as the page that this code is running in. I don't know how namespaces apply to user controls... Tried your...
  5. figler

    Programmatically Declare User Control

    I'm struggling, trying to declare a user control in code. ASP.NET seems to accept the declaration, but won't let me access any methods or properties of the object. For example, <%@ Register TagPrefix=&quot;uc0&quot; TagName=&quot;addminiagenda&quot; Src=&quot;addminiagenda.ascx&quot; %>...
  6. figler

    SelectedIndex in a DropDownList from a value

    One option is to iterate through listitems, like: dim alistitem as listitem for each alistitem in mydropdownlist.listitems if alistitem.value = myvaluevariable then mydropdownlist.selecteditem = alistitem end if next let me know if that is not what you wanted. -b
  7. figler

    Programmatically Assign Events to Control

    Problem solved. MANY thanks, mark. I don't understand why AddHandler doesn't work like other procedures in vb.net (didn't i learn that parantheses are *required* for arguments in vb.net?), but here it: AddHandler alb.command, AddressOf btncreateclick alb is the name of the linkbutton...
  8. figler

    Programmatically Assign Events to Control

    thanks. i jumped the gun and replied to my post before i read yours... addhandler method looks good, but i am having trouble using it. here's what i have - can you tell me what's wrong?: addhandler(alb.Click,Addressof(&quot;btncreateclick&quot;)) ---- alb is the linkbutton btncreateclick is...
  9. figler

    Programmatically Assign Events to Control

    let me clarify: i am programmatically creating several linkbuttons on the page. if i use: sub buttonclick(...) handles mybutton.click end sub then the event is only triggered for the last linkbutton that i added (for which the variable 'mybutton' is still handling the linkbutton). how do i...
  10. figler

    Programmatically Assign Events to Control

    I am programmatically creating linkbutton controls, but I don't know how to handle events for these controls. I am using VB.NET... any suggestions? -brad
  11. figler

    Embedded DataRepeaters

    This is trickier than I thought, since you can't use code render blocks within server tags (I think!). here's an example of what i want to do: <asp:repeater id=&quot;arepeater&quot; runat=&quot;server&quot;> <itemtemplate> <asp:repeater id=&quot;anotherrepeater&quot...
  12. figler

    Windows Authentication

    Never even thought to look in page object... THANKS!!!!!!!!!!!!! -b
  13. figler

    Windows Authentication

    This should be simple, but (as usual) I am having trouble: I am successfuly using windows authentication. BUT... I want in my aspx to grab the user name of the authenticated user. I am using system.security.principal.windowsprincipal, but it is giving me the name of the user that the code is...
  14. figler

    Excel --&gt; Dataset

    Does anyone have suggestions on the best method for pushing Excel data to an ADO.NET Dataset? I am trying to avoid Excel automation... maybe there's something in System.XML that I could use? I'm interested in your suggestions. Thanks. -Brad
  15. figler

    Powerpoint Automation

    Anyone have a good reference for the Powerpoint object model? I am using msppt.olb but can't figure out how to even open a file... and I'm just trying to do a SaveAs. Thanks in advance. -b
  16. figler

    Importing COM Objects

    Can I import COM objects in ASP.NET/VB.NET the same way I import COM+ objects?, e.g., import namespace=&quot;msppt.olb&quot; Do I have to drop this object in /bin? Do I have to wrap it in some way so that it is recognized by .NET? And what is the difference between a .olb and a .dll? Are there...
  17. figler

    HTML Disappearing (Web Matrix)

    I am using ASP.NET Web Matrix (from www.asp.net) for one application (although I also have VS.NET installed on my development machine). The weirdest things is happening: Occasionally (but far too often -- sometimes twice in the same day), the HTML for a web form disappears! The code is still...
  18. figler

    HtmlInputFile

    I'm stumped... login.aspx authenticates user and sets a the &quot;admin&quot; cookie to &quot;true&quot; before redirecting (response.redirect) to main.aspx. the problem: i load controls on main.aspx slightly differently depending on the value of the &quot;admin&quot; cookie. if a user enters...
  19. figler

    Static Version of Dynamic Site

    Anyone know of software that can generate all the HTML pages from a web site that would be generated if you were to go through and click all the links? I know there is stuff like this out there, I just don't know where to start. And I wouldn't even know where to start if I wanted to do this on...

Part and Inventory Search

Back
Top