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: bubberz
  • Content: Threads
  • Order by date
  1. bubberz

    Navigate URL for ASP:Hyperlink to pass two strings

    I have the hyperlink below that I can't get the syntax correct (I'm trying to pass the Primary key field, UniqueIdentifier, for the datagrid item, along with a label value, lblSAID): <asp:HyperLink id="HyperLink1" runat="server" Text="Locate" NavigateUrl='<%# "RL.aspx?id=" &...
  2. bubberz

    Need to Cancel out of a page

    If a user is, for example, adding a new Employee to the pubs database, and wants to "cancel out" of the addition of this new employee, what do I need in the cancel button's event handler?
  3. bubberz

    How to call/run an .exe file

    How would I call an .exe file through an aspx page? let's just say the .exe file is called help.exe Thanks!
  4. bubberz

    Message Box in ASP.NET 1.1

    Can you do Message Boxes like a windows app for ASP.NET 1.1? From what I remember, you couldn't in ASP 3.0. I thought I read something that ASP.NET 2.0 will have this functionality. Thanks!
  5. bubberz

    Label Text value to Dropdownlist selected value

    I have a dropdownlist in a datagrid that get's shown to the user once the "Edit" button from the Datagrid is clicked. I have the dropdown set @ PostBack=True How do I set a label on the page to equal the dropdownlist's selected value on postback. Is it in the HTML text attribute of the label...
  6. bubberz

    DataGrid Dropdownlist SelectedValue in EditItemTemplate

    <asp:TemplateColumn HeaderText="PCode"> <ItemTemplate> <asp:Label id=Label7 runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.P3ResourceCode") %>'> </asp:Label> </ItemTemplate> <EditItemTemplate> <asp:DropDownList id=ddlP3 runat="server" Font-Size="7pt" Width="232px"...
  7. bubberz

    How / can I pass multiple values back to another page

    Let's say I have four textbox values I want to pass back to another page. In the Response.Redirect string I have something now like Response.Redirect("Page2.aspx?ID=" & txtbox.Text.ToString() & txtGroup.Text.ToString() & ddl1.SelectedValue.ToString() & " " & Mid(ddl2.SelectedItem.ToString) How...
  8. bubberz

    Can I pass listbox value w/o PostBack to another page?

    I have three dropdownlists. The first two are on AutoPostBack=True, and I populate two textboxes with the values of each of these dropdownlists. I am having problems with the third since on PostBack, it was populating a text box with the first value everytime, and not the selected item. Can...
  9. bubberz

    Listbox populates textbox with only first record / not selected item

    I have a listbox that's populated in the Page_PreRender handler: Dim strResSQL As String ...code to build strResSQL Dim cmdRes As New OleDbCommand(strResSQL, Con1) Con1.Open() Dim myResRDR As OleDbDataReader = cmdRes.ExecuteReader() If myResRDR.HasRows = True Then listResource.DataSource =...
  10. bubberz

    Third DDL only populates Textbox with Index of 1

    I have three dropdownlists, and the third is dependant on the selections of the first two ddls. If I try to assign a Textbox's value to this third ddl, Private Sub ddlResource_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlResource.SelectedIndexChanged...
  11. bubberz

    Populate Text Box After PostBack

    I have a text box, txtGroup, that I'm trying to insert with a ddl value. When the page loads, I have a label, lblLoad, that will populate with the correct ddl value. When there is a PostBack, there's another label, lblPostBack, that populates with the PostBack value from the ddl. What I can't...
  12. bubberz

    Insert &quot;Select From Dropdownlist&quot; at top of dropdownlist

    If I have a dropdownlist, and I want to have the first item that shows which says "Select from this list", how do I do that. So, if I only have one DB row returned, the ddl will have two records: 1. "Select from this list" 2. The DB record I've done it before, but can't remember. Thanks!
  13. bubberz

    Dropdownlist goes to first record on PostBack

    I have two dropdownlists. The second is populated from the first ddl selection, hence the record selection is filtered via the first ddl to the second ddl. I need to have Postback on the second to populate a third ddl. If I select the third item in the second ddl, the postback happens and...
  14. bubberz

    Access Application on Mac machine

    Is there anything I have to do or be aware of to get an Access application to run on a Mac? I've never had to do this, and there have been questions if the app will run on these Apple machines. Thanks!
  15. bubberz

    Dropdownlist omits first record

    I have three records that should be coming back and do come back when I do a SQL string in the Query Analyzer, but the dropdownlist only shows two and ommits the first record. Below is the code: Dim sqlGrp As String sqlGrp = "SELECT GC+' - '+GD as Expr2, GC, GD, DC FROM [ResL-Div] WHERE...
  16. bubberz

    Dropdownlist populates w/ System.Data.Common.DbDataRecord

    I've got a dropdownlist populated via the following: Con1.Open() Dim sqlGrp As String sqlGrp = "SELECT GC+' - '+GD as Expr2, GC, GD, DivC FROM [RLDivG] WHERE DivC= " & "'" & ddlDivision.SelectedValue.ToString() & "'" Dim myRDR As OleDbDataReader Dim cmdGrp As New OleDbCommand(sqlGrp...
  17. bubberz

    Link to download .pdf file

    I know this is probably very basic, but if I want to place a link on my page to download a .pdf file, how would I do that? Anyone have any articles/links where to find out info on how to do this? Thanks!
  18. bubberz

    Population of Three Dependant Dropdownlists

    I have three dropdownlists. After I pick from the first list, the second list has it's possible records filtered via the first dropdownlist's DataValueField. Once I select from the second ddl, the third ddl has it's records even further filtered. I can show the DataFieldValue in a label right...
  19. bubberz

    Dropdownlist to populate another field in Datagrid

    I have the dropdown list that has three fields in it's select statement: 1. The concat of two fields,Res & Desc as "Expr1", which is what the dropdown displays 2. The value field of "Res" which is the Primary Key 3. The field "Desc" which is what I want to populate another cell with I'm...
  20. bubberz

    Dropdownlist to respond to alpha key strokes

    I have a dropdownlist with over 300 last names. If I wanted to go to the last name of "Clinton", I can press "C" and it will go to the first value starting with "C", such as "Caanton". Once I press "l", then it goes to the first value that starts with "L" like the last name of "Lake". Is...

Part and Inventory Search

Back
Top