|
Hello I have a string variable declared in a Webform
Is there a way in which I can modify the value of that variable with javascript?
can I use something like getElementById, or something that can allow me to get that variable?
thanks
|
|
|
|
|
It's a server side variable (declared in the C# code),the answer is no. You can use for instance a hidden field , and in a postback get that value.
/// -------------------------
Braulio Díez
tipsdotnet.com
/// -------------------------
|
|
|
|
|
Really???
Well, I'll live
thanks man
|
|
|
|
|
I'm exporting a datagrid to excel. I use itemCreated and OreRender to change the rows and put more header rows but when i export the changes don't appear in the excel.
Nzibi
|
|
|
|
|
|
Hi,
I need to work on a requirement that like MaskTextBox that in window.
Actual requirement is I have to diplay the Time in a single text box in HH:MM:SS format with two buttons increment and decrement. It is very similar to DateAndTime Properties window of Windows. It is any possiblites to do that in ASP.NET.
Thanks in Advance
Regards
Prakash.A
Good Is Not Good When Better Is Expected.
|
|
|
|
|
A AntonySP wrote: It is any possiblites to do that in ASP.NET.
ASP.NET can't do anything on this because it works on the server. You may do this using JS. AFAIK, no built-in controls available for such a requirement.
|
|
|
|
|
|
|
I didn't think the quality of posts in this forum could get any worse but today has proved me wrong.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
|
You're quite right. And sonia hasn't even been on today...
|
|
|
|
|
Paddy Boyd wrote: And sonia hasn't even been on today
Does the forum really miss a vibrant activity?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
|
Hi
In my application data is comming from veb server to my localserver.
For this purpose i'm establishing connection to webdatabase and matching the id(uniqueno) from web database to local database tables. If already exist then no insert if not exist then insert.
In this case the problem is that, suppose there are 1 lakh records on web database then my application will check for 1 lakh time. And i think it's not a right way to do this stuff.
Please suggest me any better solution.
Thanks
krishna veer singh
|
|
|
|
|
krishnaveer wrote: In this case the problem is that, suppose there are 1 lakh records on web database then my application will check for 1 lakh time. And i think it's not a right way to do this stuff.
Sorry bud, but you are not making any sense. What is "1 lakh"? Why don't you write a webservice, and pass a dataset back to your local server (makes it easier to compare). Are you just posting data to your webserver now each time? If so you are right, it is not very efficient.
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
my solution file is getting saved in the default location of dotnet which is in Document settings..Can any one please tell me how to save .sln file with the .aspx files
Thanks in advance
|
|
|
|
|
1. You can simply save-as .sln file in new location.
OR
2. There is one option to change the path in Options dialog of VS 2005. but this might not be what you want since the .sln will save in the location that you changed in "options" dialog..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
How can i store database table data into System.Object array without using
DataTable or DataReader
|
|
|
|
|
Use a DataSet - it's all you've got left. Alternatively, you could use Linq, but the fact that you are trying to store it in an object tells me that this is probably well beyond your capabilities - as is using google.
|
|
|
|
|
How to switch from development environment to live environment.I mean what is the process?and where do you do that?
Shweta
|
|
|
|
|
Shweta2281 wrote: How to switch from development environment to live environment
Switch what ?
|
|
|
|
|
I mean when the user enters this url eg:www.something.com,it will redirect to the home page that i have set.but in the URL window i just dont want www.something.com but ww.something.com/home.aspx.How to do this?
|
|
|
|
|
When user enters the URL, IIS will look for default document specified in the root. So I don't think that your URL can be rewritten
|
|
|
|
|
ok.but i saw in certain sites that when i entered the actual URL it took me to the default page plus the URL was appended with that page name tooo
|
|
|
|