Alright, and sorry. By the time I got to this problem I'd already been up most night. Lesson learned.. don't post the help topics when severely lacking sleep..
Sonar87
Posts
-
Passing a C# variable to included javascript file -
Passing a C# variable to included javascript fileForgot to mention I'm working with a WPF app and the html is included with that. How would all this work and be placed in that?
-
Passing a C# variable to included javascript fileis there any way at all to get a value from one to the other? Well.. I don't need it to go two ways..
-
Passing a C# variable to included javascript fileI few sites said to (in the js file) put the varible in <%= %> these tags but thats not doing any good. Is there some other part needed to this I'm missing. The javascript I'm using is in a file I included in my VS project.
-
changing input value atrributeHmm thought thats what I did the first time without getting anywhere.. Was 2 am though. Thanks.
-
changing input value atrributeThanks a lot, it worked. One more question.. varibles.. Tried asigning it one like this: int num = 4321; document.getElementById("number").value=num; but that way didn't do it..
-
changing input value atrributeI Need to get the value attribute to change to different numbers that I want to change in script parts based on user input so that the form will post a message to a different place depening on what they choose, but whatever I try it won't change, or at least not in time so that it posts right
document.getElementBytagName("member_id").value="40603"; Hello.
-
Upating xml in C#[edit]nvm, got it.
modified on Thursday, August 26, 2010 4:27 AM
-
Upating xml in C#Is there any way I can get the information I'm using from an xml source to be updated while the program is running?
-
Changing HTML value in other part of WPF programI'm working on a WPF program and I have a frame that reads an html file that I have included in the project. In the html file there is an input box. [CODE][/CODE] Is there anyway I can make the value something I can change in the rest of the program, say back in the .cs file, instead of just a constant set number placed there, like if I want to change the number based on user input? I won't know all the numbers it will need to be ahead of time.
-
viewing xml data in wpf [modified]Is there any way I can get the resource/xml file I'm reading from to be changed, say, based on user input when the program is running, or does it have to stay a set path that I decide ahead of time? I tried accessing some of the info back in the Window1.xaml.cs file to to see if I could make changes there but if theres a way its nothing I've thought of.
-
viewing xml data in wpf [modified]Never mind, figured it out. Thank you very much, your article and method was the first -after hours trying to get this to work- that made much sense to me. -- Modified Sunday, August 22, 2010 5:39 AM
-
viewing xml data in wpf [modified]I just want to get the text in elements like the id, name, and lastactive from an xml file like this ( http://www.dreamincode.net/forums/xml.php?showuser=34 ) into a textbox or anything that would just display in a simple way, but I haven't been able to find anything that explains that level of it. How can I do this? -- Modified Sunday, August 22, 2010 3:07 AM
-
Help with textbox for calculatorSorry to take more of your time. I've figured out what I did wrong and have gotten it working now.
-
Help with textbox for calculatorEven with each of those lines it still tells me it can't convert from string to int. in case its signifigant, I'm using Visual Studio 2008 btw.
-
Help with textbox for calculatorI'm relatively new to C# and have just started playing around with WPF. As a start I decided to make a simple calculator. I added one of the permade textboxes to take input from the user, but you can't perform addition, subbtraction, and so on, oporations on a string, and it won't let me typecast the string to another type like double. How can I change the textbox input to something I can use, or what is there some other object I can use to get the input?