User Profile
Collapse
-
Thanks for the info. I will remember that... -
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?Leave a comment:
-
RequiredFieldVa lidator : Will make sure the control is not blank.
ReqularExpressi onValidator : Will make sure the input is Valid.
You Need Both Per TextBox..Leave a comment:
-
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... -
-
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...Leave a comment:
-
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.Leave a comment:
-
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?Leave a comment:
-
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.Leave a comment:
-
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...Leave a comment:
-
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() {Leave a comment:
-
I am getting a Javascript Object Required Error. Looks like the Javascript does not recognize the Textboxes.Leave a comment:
-
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.Leave a comment:
-
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; " +Leave a comment:
-
Do I have to use HTML controls or can I do the same with ASP.Net Textbox,Label?
ThanksLeave a comment:
-
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.Leave a comment:
-
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...Leave a comment:
-
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... -
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? -
No activity results to display
Show More
Leave a comment: