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 wOOdy-Soft 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 figler

  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

Part and Inventory Search

Back
Top