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

  • Users: mych
  • Order by date
  1. mych

    Not all Fields available in class

    OK, figured it out..... In the left hand panel right click and select object. Name the object and select Long Text from the dropdown. In the Select panel click the chevron button and navigate to the field you need. Double click the field. Click OK. Check by clicking Parse. If all OK click OK...
  2. mych

    Not all Fields available in class

    Thanks Steve, As I said I'm new to BO. Could you explain a bit more about 'You can build them manually' I have since looked and it looks like SR Field Type 01 is a CLOB - It has the following properties (listed SR Filed Type 02 as a comparison) Property SR Field Type 01 SR Field...
  3. mych

    Not all Fields available in class

    Thanks Ties I'll double check but I'm sure that the majority of these missing fields are just standard character ones. I do know that one is a 'diary' type field. I have even check permissions on the original AR Form. I have a bunch of them that are our of the box in ITSM (SR Field Type 01...
  4. mych

    Not all Fields available in class

    Hi New to BO so please bear with me. I'm using BO with BMC ITSM. In my AR application I've created some new join forms. When viewing the forms in the Remedy User tool and via the mid-tier all fields are visible and populated as expected. In Universe Designer I have inserted the table...
  5. mych

    Why is my FormView getting data bound twice?

    Has anyone come across this before?... I have a FormView with an EditTemplate and ItemTemplate. The FormView is bound to a DataSource. The code behind does NO DataBind() The FormView has an OnDataBound event. For some reason this is triggered Twice! The code for this event is... Public...
  6. mych

    Problem Binding src in img tag

    I could kick myself sometimes... Thanks I've not failed! Just found 100 ways that don't work...yet!
  7. mych

    Problem Binding src in img tag

    Hi, I've created a listview (actually 7 of them) and they look like this.... <div class="block_DaySm"> <asp:ListView ID="lv_BookingDay1" runat="server" DataSourceID="SqlDSBookingsSunday" DataKeyNames="B_ID"> <LayoutTemplate>...
  8. mych

    Detect if Modal Popup is Active

    Hi I'm struggling with detecting is a panel that has a ModalPopup Extender is active or not. I have a page that is refreshed every 5 mins. On this page is a popup that allows a user to add a new diary entry. Unfortunately if the user is entering a new entry at the time the refresh happens they...
  9. mych

    Formating bound data

    Hi I'm trying to format a datetime field to just show the date. The datetime is bound to an asp:label and I have tried the following.... Text= String.Format("{0:D}", '<%# Bind("CReviewDate") %>') and Text= String.Format("{0:D}", <%# Bind("CReviewDate") %>) and Text= String.Format("{0:D}", <%#...
  10. mych

    Reading and only writing specific lines to a new texas file.

    Try Dim lines_to_write(-1) As String Dim WriteLine As Boolean = True For Each line As String In System.IO.File.ReadAllLines("C:\SomeFolder\SourceFile.txt") Dim FirstChar As Char = line.Substring(0, 1).ToUpper Select Case FirstChar Case "A"...
  11. mych

    Button Click Event (Button within LoginView)

    Following on from an earlier issue... see http://tek-tips.com/viewthread.cfm?qid=1593591&page=1 I have now moved my TextBox and Button within a LoginView that is within a ContentPlaceHolder... <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderL" runat="Server"> <div>...
  12. mych

    Button Click event

    OK fixed.... First I tried.... Protected Sub ButFind_Click(By Val sender As Object, ByVal e As System.EventArgs) Dim clickedButton As Button = sender Dim CandNo As String = Me.txFindCandidate.text clickedButton.PostBackUrl = "FindCandidate.aspx=?CID" & CandNo End Sub This...
  13. mych

    Button Click event

    I have a text box and button on a page. I want to set the TargetURL at the Click event so that I can pass a Querystring. My code is.... Protected Sub ButFind_Click(By Val sender As Object, ByVal e As System.EventArgs) Dim clickedButton AS Button = sender...
  14. mych

    Regular Expression Validator

    Actually further testing has shown my regex is inappropriate... If I type 'This is a Test' then I get the error message as the regex stops at the space and thus the validation fails as that is less then 10 characters If I type 'ThisisaTest' then the entry is accepted. Any advice on a regex...
  15. mych

    Regular Expression Validator

    Hi, I'm trying to use a regular expression validator, but I'm having a problem with my expression. I have a multi-line textbox which should contain at least 10 but no more than 255 characters. The expression I have is ^\w{10,255} The error message is set to 'Content must be between 10 and...
  16. mych

    My Output is wrong...

    I have the some code and the following is not producing the output I need. # The next print is destined for the Problem Summary field which has a max # length of 50chr. The first 4 will be 'ALC:' and then we need the short hostname/IP. # This is followed by ' - '. Then whathever is left...
  17. mych

    Trying to refference an element.

    Ok, Not sure what went wrong but have fixed it. Originally, my script was an external file that I referenced to within the <head> tags using <script type="text/javascript" src="jscript/ObjChange.js"></script> changed it to <script type="text/javascript"> function ObjChanged(OC) {...
  18. mych

    Trying to refference an element.

    Ok, Have used your response.write and the html produced is now <select name='W1D3AMV' id='W1D3AMV' onchange='ObjChanged("W1D3Changed")' > I even tried <select name='<%=LookUp%>AMV' id='<%=LookUp%>AMV' onchange='ObjChanged("<%=LookUp%>Changed")' > and <select name="<%=LookUp%>AMV"...
  19. mych

    Trying to refference an element.

    Feherke, Thanks for reply... going a bit off topic but here is the line from asp that generates the select tag... Response.Write("<select name='" & Lookup & "AMV' id='" & Lookup & "AMV' onchange='ObjChanged(" & LookUp & "Changed)' >") As the double quotes are part of the Response.Write...
  20. mych

    Trying to refference an element.

    Thanks Feherke, I'll see what I can do to change the asp. The HTML is generated via asp and hence the use of single quotes in the name and id... would <select name='W1D2AMV' id='W1D2AMV' onchange='ObjChanged('W1D2Changed')' > work? Or should I use &#34; as quotes? Mych I've not failed! Just...

Part and Inventory Search

Back
Top