|
I have 2 html buttons.On each button click i want a different color for my page.Now i want to do it on client side ie...using javascript...not posting the page.I want to store the color till the browser closes.How can i achive this.
|
|
|
|
|
If you want to change the color then it's better if you go for theme.
Cheers!!
Brij
|
|
|
|
|
Create an event handler on your buttons click.
Set the body element to be runat="server".
On the click events, do a Body.BackgroundColor = Color.TheColorYouWant.
With the body set to runat="server", it will store the information in the page viewstate. It will keep that color until you change it again.
|
|
|
|
|
I want to change the color at client side.On server side it changes ..there is no problem.But my requirment is on client side.
|
|
|
|
|
Okay so you just have to use javascript to achieve that.
document.body.style.backgroundColor = '#000000';
|
|
|
|
|
Any idea or reference links of how to make service for sending mail when user clicks on button.
|
|
|
|
|
saurabh mohal wrote: how to make service for sending mail when user clicks on button.
If you are able to send mail without web services and you have basic idea of web services you can easily do it.
-----------------
1. Create a new web services.
2. Write Web Methods for sending mail.
3. Host your web services.
-----------
Now
1. Create a new web sites.
2. Add that web services as web reference.
3. Create Object of Web serivice class and access methods for sending mail.
Hope this will helps you !!!!
|
|
|
|
|
Are you able to do the same without webservice?
Do you know webservice?
Cheers!!
Brij
|
|
|
|
|
I recommend reading my article on how to use google. There's no need to use a web service to send mail, but once you've worked out the wonders of google ( 'C# send email' should do it ), then you can easily move up to also googling about web services.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i want to know how to convert a asp.net project file to exe.
thanx in advance...
reply me..
|
|
|
|
|
Hi,
what exactly do you want to convert to an exe?
If you want to display asp.net pages with an exe, there is no easy way (except putting the whole engine etc. into the exe).
If you just want to get the business logic, just put your code into an assembly and use this assembly in your exe file and your asp.net application.
Regards
Sebastian
|
|
|
|
|
SeMartens wrote: what exactly do you want to convert to an exe?
No, I think he want to build web setup project!!
|
|
|
|
|
jaraldumary wrote: i want to know how to convert a asp.net project file to exe.
Do you want to build a Web Setup Porject ?
|
|
|
|
|
yes i want to build a web setup project
|
|
|
|
|
|
then ask that question...
|
|
|
|
|
Then you obviously have no idea about ASP.NET, what it is, and how it works.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
how to record speech in asp.net
|
|
|
|
|
Please stop spamming the site. ASP.NET can't do this.
|
|
|
|
|
naagrjuna wrote: how to record speech in asp.net
You dont have any basic idea about what asp.net does !!! so please buy a book and start reading !!!
cheers,
Abhijit
|
|
|
|
|
The only way you stand a remote chance of doing this is with an applet, there's no way that ASP.NET can do this. As someone else said, that you don't know this means you should not be using ASP.NET because you have no idea what it is, and does.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
How to toggle the text entered in one textbox(in english) on the button click event that text converts into telugu (indian language)and also store in another textbox.
I think this type of conversion seen at Scrapbook in orkut which is one of most popular website i.e www.orkut.com
|
|
|
|
|
Hi,
if you got the event it is very simple:
<br />
public void OnButtonClick(object sender, EventArgs e) {<br />
this.MySecondTextbox.Text = TranslateToTelugu(this.MyFirstTextbox.Text);<br />
this.MyFirstTextbox.Text = this.MySecondTextbox.Text;<br />
}<br />
Regards
Sebastian
P.S.: As you can see, posting messages with titles like "very very very ..." is not very useful
|
|
|
|
|
How to toggle the text entered in one textbox(in english) on the button click event that text converts into telugu (indian language)and also store in another textbox.
I think this type of conversion seen at Scrapbook in orkut which is one of most popular website i.e www.orkut.com
|
|
|
|
|
sntkn wrote: Subject: Very Very Very Very Very Very Very Very Very Very Very Very Very Very Urgent
This is not the way to asking Question in this forum.
|
|
|
|