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 strongm 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: *

  1. LizKayl

    Button reloads page and IsPostBack acts to be false, WHY?

    Thank you for all your help. I put the form tags in because otherwise it wouldn't run at all. Then I realized my mistake. I set the calendar to 'autopostback = "true" and got rid of the little form tags ( the ones that don't say runat=server) and it runs properly.
  2. LizKayl

    Button reloads page and IsPostBack acts to be false, WHY?

    Harm Meijer, thank you for your advice and welcome, but I tried your code in my program and nothing appears.
  3. LizKayl

    Button reloads page and IsPostBack acts to be false, WHY?

    evaleah (Programmer) Apr 21, 2004 This might seem like a silly question but you say the validation is called. That means something is not passing validation. What happens if all required parameters of validation are passed and you don't have those form tags? If I don't have the form tags...
  4. LizKayl

    Button reloads page and IsPostBack acts to be false, WHY?

    Cause I typo-ed Sorry. It's btnAction
  5. LizKayl

    Button reloads page and IsPostBack acts to be false, WHY?

    I added them in because, well, it's not up there, but inside the form runat="server" tag, I have a calendar that postbacks and changes the page when a day is selected. If I have form - non-runat tags inside the main form around the calendar it works. It postbacks and updates when the user...
  6. LizKayl

    Button reloads page and IsPostBack acts to be false, WHY?

    I have my vb script declared, then inside the script tags, I have my sub Page_Load if notIsPostBack ...do some stuff to set up the page... end if end sub sub buttonAction(s as object, e as EventArgs) ...perform a query... ...call a function to set option box...
  7. LizKayl

    DataGrid export to msWord appears as Excel

    Nevermind. I found the problem. There was a typo in the redirect field.
  8. LizKayl

    Trying to use a typecase Inside a "like '% blah %' tag.

    The data is in a text field. And it finds it sometimes but not always. The inconsistency is confusing. For other dates (i.e. 10/6/03 etc) it returns most of the values. But it doesn't return the values when the 3/3/04 is in the comment field and half? of the other ones, with no apparant...
  9. LizKayl

    DataGrid export to msWord appears as Excel

    I have a query result being read into an Excel document, but the users want it in word as well. When I try to send it to word, it continues to open in Excel. Sub DataGridToWord(output As DataGrid, response As HttpResponse) 'clean up the response.object response.ContentType =...
  10. LizKayl

    Trying to use a typecase Inside a "like '% blah %' tag.

    For some reason it's not finding them. I believe it's because of the slashes ('/'). That was my first thought before I realized that it was a problem.
  11. LizKayl

    Trying to use a typecase Inside a "like '% blah %' tag.

    My subject says it mostly. I have a form where the user can search by any keyword and wants to be able to seach by a date of the form "dd/mm/yy". Because of the slashes, I am getting no response. So I am trying to cast the search string as a varchar so it will compare to the characters and...
  12. LizKayl

    Searching for 'm/dd/yy' through different datatypes

    I ended up typecasting the fieldtype and checking if the string was numeric with 2 '/'s. If it was then I compared equal to the typecast string. Otherwise, I compared if it was "like '% non-type-cast-string %' e.g "select convert(varchar, fieldA, 1) as fieldA from Table"
  13. LizKayl

    Searching for 'm/dd/yy' through different datatypes

    I'm trying to complete a search through fields of different types to see if the search value is found. It can be anything the user wants to enter. The problem is the backslashes I believe, making it not read the query properly. How can I search? select fields from table where fieldA like...

Part and Inventory Search

Back
Top