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 IamaSherpa 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
  • Order by date
  1. bubberz

    Navigate URL for ASP:Hyperlink to pass two strings

    Chopstik, I got the formatting correct, and now see the URL with both values.... I want to pull out the SAID value into a label on the page. lblSAID.Text = Request.QueryString("SAID") isn't working for the label Load event...nothing shows up My URL looks like...
  2. bubberz

    Navigate URL for ASP:Hyperlink to pass two strings

    Getting: " The server tag is not well formed. " NavigateUrl=""<%# "RL.aspx?id=" & DataBinder.Eval(Container, "DataItem.UniqueIdentifier") & "SAID=" & lblSAID.Text.Tostring %>"">
  3. 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=" &...
  4. bubberz

    Need to Cancel out of a page

    I figured it out...I just kept the Request.QueryString value in a hidden label, then if the user cancels, all I have to do is repost the page. May need to use the state view instead since that won't call another trip to the db...thanks!
  5. 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?
  6. 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!
  7. bubberz

    Message Box in ASP.NET 1.1

    Thanks bclt! I'll try it out tomorrow!
  8. 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!
  9. bubberz

    Label Text value to Dropdownlist selected value

    Cool....thanks jbenson001! I'll try that tomorrow and let you know! Thanks again for your help!
  10. bubberz

    Label Text value to Dropdownlist selected value

    jbenson001, Isn't FindControl a function, and should be like: FindControl(ddlP3.SelectedValue.ToString()) I keep getting errors saying the value of the control can't be converted to a string
  11. bubberz

    Label Text value to Dropdownlist selected value

    I put this in the label load handler: lblHelp.Text = <%# Container.DataGrid1.Findcontrol(ddlP3.SelectedValue.ToString())%> I must have some syntax error...I get the blue squiggly line of "Expression Expected
  12. bubberz

    Label Text value to Dropdownlist selected value

    Thanks jbenson001! I tried that in the HTML section of the aspx page and got: 'DataGrid1' is not a member of 'System.Web.UI.Control'
  13. 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...
  14. bubberz

    DataGrid Dropdownlist SelectedValue in EditItemTemplate

    ca*msm, I tried in the Page_Load handler ...on PostBack Dim ddlP3 As New DropDownList DataGrid1.FindControl("ddlP3") lblddlP3change.Text = ddlP3.SelectedValue.ToString() I can't get the ldlddlP3change.Text value to change.....
  15. 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"...
  16. bubberz

    How / can I pass multiple values back to another page

    Sweet! Thanks ca8msm! That's exactly what I was gettin' at! Thanks again for your help!
  17. bubberz

    How / can I pass multiple values back to another page

    Thanks bclt! Do I do the assignment on the page where the click event happens, or in the Global.asax page?
  18. 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...
  19. bubberz

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

    checkai, This will do the job. Thanks for your help. Basically, in the end all I just turned the "AutoPostBack" to False for this 3rd ddl. What I have to do now, is take the information in the ID="" string and post that in the DataGrid on the Request.QueryString page. Any tips on how to do...
  20. bubberz

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

    Right on...thanks checkai! I'll try this and let you know. This could have solved all my head-ache for the past couple days with this goofy third ddl. I still want to know why it's resetting to the first item, rather than the one I selected...oh well...it'll come hopefully some day....movin' on!

Part and Inventory Search

Back
Top