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 gkittelson 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: newbieAl
  • Order by date
  1. newbieAl

    windowsauthentication asp .net 2.0

    thanks, Phil, that's good info. However, what is the difference between using server.transfer and response.redirect? Is one better than the other?
  2. newbieAl

    windowsauthentication asp .net 2.0

    what I am asking is, if I need more than one location do I do this like shown above?
  3. newbieAl

    windowsauthentication asp .net 2.0

    so just add as follows? <location path="~\default.aspx> <location path="~\APage.aspx>
  4. newbieAl

    windowsauthentication asp .net 2.0

    I have the following in place. Is this sufficient code for windows authentication and AD roles? Is the code in the right event (page_load) or should it be somewhere else? Right now I get the statement on the top of the screen, you do not have access, and the default page loads. I'm not in the...
  5. newbieAl

    update not working on gridview

    I've resolved the issue. I've removed the page_load, dropdownlist logic and added a selectcommand under the sqldatasource, to do the filtering there. It works now.
  6. newbieAl

    update not working on gridview

    Within the SQLDATASOURCE (updatecommand) of the aspx page
  7. newbieAl

    update not working on gridview

    Here is my Gridview code. In addition to gridview I have 2 dropdownlists and the filtering logic is on the page_load event one the code behind (VB). <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" BackColor="White"...
  8. newbieAl

    update not working on gridview

    When I hard code the values into the updatecommand then the gridview gets updated, but if I just have the parameters the gridview does not get updated. What could the issue be? This updates the grid: UpdateCommand="Update atable set [afield]='test', [bfield]='test' where [id]=@id" This...
  9. newbieAl

    filtering gridview not working

    Here is my sqldatasource info (I noticed it didn't post properly the first time): SelectCommand="SELECT * FROM [datatable] WHERE ([afield] = @afield) OR ([bfield] = @bfield) "> SelectParameters ControlParameter ControlID="DropDownList1" Name="afield" PropertyName="SelectedValue"...
  10. newbieAl

    filtering gridview not working

    Thank you, you are correct and that is my plan to move to sp's however what I am encountering is a filtering issue and would need assistance with that.
  11. newbieAl

    filtering gridview not working

    Dropdown lists: <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" > <asp:ListItem>Select an item</asp:ListItem> <asp:ListItem>A</asp:ListItem> <asp:ListItem>B</asp:ListItem> </asp:DropDownList><br /><br />...
  12. newbieAl

    filtering gridview not working

    I have two drop down lists to use as a filter for a gridview. This is what the select command in the gridview's datasource looks like: SelectCommand="SELECT * FROM [datatable] WHERE ([afield] = @afield) OR ([bfield] = @bfield) "> <selectparameters> Type="String" /> Type="String" />...
  13. newbieAl

    dropdown list issue

    It worked once I put the code under page load.
  14. newbieAl

    dropdown list issue

    I've added that but it didn't make a difference. This is what I had: Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged If DropDownList1.SelectedIndex.Equals(0) Then tabledata.SelectCommand = ("SELECT...
  15. newbieAl

    dropdown list issue

    I have a drop down list with gridview. When the page loads the option in the drop down is 'select an item'. However the gridview does not load all records when the page is first loaded and the user has not made a selection yet in the drop down. Here is my code: <asp:dropdownlist...
  16. newbieAl

    Override ChangePassword? ASP .NET 2.0

    Thanks for your help. This is also a good solution to my problem: http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.changepassword.changingpassword(VS.80).aspx
  17. newbieAl

    Override ChangePassword? ASP .NET 2.0

    I want to change functionality. How do I hook into the ValidatingPassword event? (I'm using C#) Thanks.
  18. newbieAl

    Override ChangePassword? ASP .NET 2.0

    I am using the ChangePassword Control and would like to know if I can override the ChangePassword class/method. I have my own logic in C# that I would like to use when the user clicks the Change Password button of this control .
  19. newbieAl

    not-null-field issue

    how do I print out the query?
  20. newbieAl

    not-null-field issue

    I did check it and in my code the variable is defined as string and I am passing a string value.

Part and Inventory Search

Back
Top