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 Wanet Telecoms Ltd 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 Tranz2

  1. Tranz2

    Problem Aligning Values in ASP Table

    Thanks for the code example. I'll have to learn more about these repeaters. I seemed to have fixed my problem in this bizarre way: I though I'd try putting in a conventional html table of 2 columns and 1 row within the TableHeaderCell containing the label and textbox in question. I did...
  2. Tranz2

    Problem Aligning Values in ASP Table

    Because then I'd be posting here asking why my html and repeater don't work. But seriously, if you'd be so kind to post a detailed code snippet that can reproduce my functionality, then I'd be happy to try it. I should mention that I need vertical lines separating the columns. The reason I...
  3. Tranz2

    Problem Aligning Values in ASP Table

    I have an ASP:Table with 3 columns and 2 rows. In each cell a number displays. It's important that the numbers are vertically and horizontally aligned with each other. In the left column for both rows I also place a short label of 5 characters describing what that row is. My problem is that...
  4. Tranz2

    Can't Reference GridView RangeValidator in Code-Behind

    Thanks very much for your response, I tied it, but I'm getting 2 errors on it when I type it in the code-behind. One error is on "datagridviewrowtype". Since C# is case sensitive, I did change it to "DataGridViewRowType", but I'm still getting the error (a red squiggly line underlines the...
  5. Tranz2

    Can't Reference GridView RangeValidator in Code-Behind

    I may have tried doing that, but no matter what I try, I get the error, "Object reference not set to an instance of an object". So I guess what I really need is a specific C# code snippet, because I'm new to this and not really sure about the specific coding. By the way, the whole reason I...
  6. Tranz2

    GridView Template RangeValidator MaximumValue/MinimumValue

    When I use instead: RangeValidator rv = GridView1.Rows[e.NewEditIndex].FindControl("RangeValidator1"); A red squiggly line underlines most of the statement, and it gives the error, "Cannot implicity convert type 'System.Web.UI.Control' to 'System.Web.UI.WebControls.RangeValidator' An...
  7. Tranz2

    Can't Reference GridView RangeValidator in Code-Behind

    Why can't I type something like this in the page_load event: <code>RangeValidator1.MaximumValue = "10";</code> It refused to find the word "RangeValidator1" in the intellisense. I've seen other similar examples posted, so it is supposed to work, but it doesn't for me. <code>...
  8. Tranz2

    GridView Template RangeValidator MaximumValue/MinimumValue

    Here is how I translated your VB code into C#. The "Rows" has a squiggly red line under it, and when I hover the mouse over it, it gives this error - "Non-invocable member 'System.Web.UI.WebControls.GridView.Rows' cannot be used like a method". Here is the code protected void...
  9. Tranz2

    GridView Template RangeValidator MaximumValue/MinimumValue

    I'm not really sure what you mean by "Here you will get the Control". That's exactly what I'm asking about - I need specific code - I need specifics. I tried the following in the GridView1_RowDataBound, thinking maybe this is what you were referring to, but it still gives a "Object reference...
  10. Tranz2

    GridView Template RangeValidator MaximumValue/MinimumValue

    PLEASE NOTE BEFORE RESPONDING: The central point of my question is how to transfer other GridView column values to the MaximumValue and MinimumValue. IT IS NOT about validating dates, or about assigning any sort of literals to the MaximumValue and MinimumValue. Like many people, I'm trying to...
  11. Tranz2

    Designating Certain Pages to Print in an MS Word Document

    Is there a way to permanently specify for a particular document which pages will print and which pages will not print? I'm not talking about when you're actually printing it - I'm talking about whenever anyone prints the document. For example, if the document is 20 pages long, but when it is...
  12. Tranz2

    Type declaration character does not match declared data type

    Stupid me - didn't catch the "." after the "!".
  13. Tranz2

    Type declaration character does not match declared data type

    When I compile the following Access 2003 project, I get this error on the "Rs!" portion of the "rs!.NextID". The error is: Type declaration character does not match declared data type I want to point out that NextId in the testTable is defined as an Int The code portion is: Dim...
  14. Tranz2

    Referencing a Control on Another Form

    I'm so glad you responded and mentioned subforms. I learned a little about them, and dug around for the right syntax, and came up with something that works. For the example I presented, it would be: Forms!frmSample!frmSampleSub.Form.FinanceChargeAmount.Visible = False
  15. Tranz2

    Referencing a Control on Another Form

    Yes, there is a subform - it works in a mirrored fashion to the original - but I'm new at this and don't really understand it well enough to "rephrase" it. I've actually presented a simplified example to illustrate the basic problem - I need to change the property of one control when the...

Part and Inventory Search

Back
Top