User Profile

Collapse

Profile Sidebar

Collapse
stefbek97
stefbek97
Last Activity: Apr 14 '11, 09:35 PM
Joined: Aug 19 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks for the info. I will remember that...
    See more | Go to post

    Leave a comment:


  • I never found out why my Popup was behaving like that . But I have been using it and it is working fine since then. What does your code look like?
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Time validation in a text box
    RequiredFieldVa lidator : Will make sure the control is not blank.

    ReqularExpressi onValidator : Will make sure the input is Valid.

    You Need Both Per TextBox..
    See more | Go to post

    Leave a comment:


  • stefbek97
    started a topic Configure Sql Connection String

    Configure Sql Connection String

    Hello,

    I created an asp.net application written in C#.It connects to a Sql Server database that is installed on the Client machine. It does not need internet connection to work and is hosted using Cassini Utilidev so the client is not required to have Internet connection. I am looking to create an Installation package that will install Sql Server Express, Create Database, Install Cassini UtiliDev, Install my program and register with...
    See more | Go to post

  • stefbek97
    replied to Combine Javascript and ASP.Net
    I understand. I will test it out.
    Thanks
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    Re

    Thats for the reply. I do understand. I have tried using "this" but keep getting the same errors. I understand you can not use the server controls in javascript and maybe did not word it correctly. But accessing the HTML for them is pretty much the same meaning "You have server controls and you can manipulte what they display on the client". But I am not trying to teach anyone. I have been looking for code to...
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    Thanks for the reply. I am not expecting you to know ASP.net since I am posting this a javascript question. If anyone that reads this knows ASP.Net and javascript and has run Into this situation please answer.
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    Maybe we are not understanding each other. Do you agree that server control attributes and properties can me manipulated within a Javascript function? Also by using document.getEle mentById('<%= ServerControlID .ClientID %>');
    you can access those controls?
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    What i am doing is tring to find server side controls. I do not want to hard code the Control names in the function but pass them as parameters and build a Var that will represent '<%= txtControlName. ClientID %>' That way i have a flexible function. All i do is pass the control Name and calculate my averages.
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    Javascript Function

    Hello,

    I Am new to javascript. I am trying to create a function like this...
    My main problem are these lines for code

    var variable = "TotalSteps ";
    var element = "'" + '<' + '%' + '= ' + 'txt' + variable + '.ClientID' + ' %' + '>' + "'"
    var txtSteps = document.getEle mentById(elemen t);

    here is the...
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    Function

    Just finished the function that Recognizes server controls. So this would work if I had only one set of textboxes to calculate the average.

    Now I need to figure out how to pass a row to Javascript, loop throgh the rows and find the controls then calculate the average. phew...

    Code:
    <script language="javascript" type="text/javascript">
        function CalcAverage() {
    ...
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    I am getting a Javascript Object Required Error. Looks like the Javascript does not recognize the Textboxes.
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    Lets see if we can find a Javascript guru that can help us. Since i cant debug javascript I dont know what is causing the errors.
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    Combine Javascript and ASP.Net

    Here is the code for what I am currently doing and i know it is a hack and only works with one row of my table. Maybe we can find a way to modify it and make it work without hardcoding those Control Name's.

    Code:
    protected void Page_Load(object sender, EventArgs e)
        {
            string MyScript = "function CalcAverage() {" +
            "var nSteps; " +
    ...
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    Do I have to use HTML controls or can I do the same with ASP.Net Textbox,Label?
    Thanks
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    ok so I would need to Give the row of the table a name, how would I pass the row onBlur of the textbox and loop through the row and find the controls. I have tried passing this and get a javascript null object error.
    See more | Go to post

    Leave a comment:


  • stefbek97
    replied to Combine Javascript and ASP.Net
    Thanks every one for the code and ideas. Here is the situation. Lest say I have 5 rows with 3 columns. In each row I have 2 Textboxes and 1 Label. What I need to do is have the Javascript calculate onBlur of the text box.I need to find the textbox that caused the event and the one next to it in the same row that will be used to calculate average. and display it in the label that is in the same row. Do i need a javascript function for Each row?? Also...
    See more | Go to post

    Leave a comment:


  • stefbek97
    started a topic Combine Javascript and ASP.Net

    Combine Javascript and ASP.Net

    Hello Everyone,

    I am ready to pull my hair out with this situation.
    Here is what my application Looks like.

    I have a Master Page,Content Page with a Tab Container and A user Control inside the Tab Panel of the Container.

    In the user Cotrol I have a Table with Textboxes. My assignment is to Calculate the average of two textboxes and diplay in a Label. I need to do that on the client so that there...
    See more | Go to post

  • Modal Popup Extender Not Working in Internet Explorer

    Hello Again,

    I am having a problem with a Modal Popup. It works fine in Firefox and Chrome but in Explorer I am able to see the popup but the screen is grayed out and the popup is not clickable. The screen gets grayed out by using a CSS class. Anybody had problems like this in Explorer?
    See more | Go to post

  • stefbek97
    replied to Modify application after Deployment
    in .NET
    I did and I cant get the app to work in the new pool.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...