|
instead of önserverclick use onclick and still if it doesn't work then put everything under <updatepanel><contenttemplate>
|
|
|
|
|
Hi Techies
I cached a page using the directive and attribute VarByParam.It worked fine and my problem is I am having a web page with a Panel control and inside the panel two text box were used and the ID for those text box are txtTest1 and txtTest2 with the text Test1 and Test2 respectively. All my need is to partially cache this particular panel along with their child controls and its value means the two textboxes and its text. Please give me the solutions.
Note: User Control should not be used
modified 16-Mar-14 23:12pm.
|
|
|
|
|
I used some examples but doesn't work on the computer or movil device.
when i run the proyect (f5) in the proyect this code works but when i go to chrome or explorer directly doesn't work. How can i do.....
This is the code.
one:
Dim player As New System.Media.SoundPlayer
player.SoundLocation = ("c:\sonidos\error.wav")
player.Play()
two:
Dim sp As SoundPlayer
sp = New SoundPlayer(My.Resources._error)
sp.Play()
Thanks a lot.
|
|
|
|
|
Of course that cannot work. Where does that code run? On the server. And how can you hear on your client what's played on the server? Only when client and server are the same computer.
You have to embed the sound in your web page, e.g. a tag for background sound, or embedding it.
|
|
|
|
|
1.- Where does that code run? The code is published in an IIS which any device conected on the local net enters (computers, tablets running Android)
2.- How can you hear on your client what's played on the server? I want to play a sound in each device that enters to the page
Right now a have embed the sound that i need to play on any device, in my web page, what I need to know is the right code to be able to play the sound when someone enters to the page
Thanks a lot
|
|
|
|
|
As Bernhard said, you can't play sound from server-side code and expect the user to hear it - unless they're all in the same room as your server and you turn the server's speakers up really loud!
You need to play the sound on the client. That means you'll need to have the sound in the correct format(s) for the browsers you need to support, and you'll need to use the HTML5 <audio> tag.
W3Schools has an article[^] explaining the process.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
i new in asp.net i created asp.net dropdownlist , every time using mouse add click , when show all item, but focus dropdownlist show all itemlist
|
|
|
|
|
Member 2610211 wrote: every time using mouse add click , when show all item, but focus dropdownlist
show all itemlist
Are you trying to filter the dropdown list with the mouse click?
.AK.
|
|
|
|
|
Hi All,
Not really sure where to post this question but I hope someone here can help.
We have a classic asp site deployed in IIS7 under a domain, let's call it www.classicsite.com. We've developed a site in ASP.NET MVC and need to integrate it into the first site under the same domain so it'll be access as follows: www.classicsite.com/mvc.
What will the IIS setup be like?
Thanks.
Ronald
|
|
|
|
|
Hi frnds, i am implementing contact manager, in it user can add groups and manage the groups by adding contacts init and vise verse, but when the user want to add or remove contacts from particular group how to update it in the database so that no duplicate values is inserted. what is the best process to do.
thanks in advance
|
|
|
|
|
The basic database configuration comprises 3 tables:
1) Contacts
2) Groups
3) GroupMembers
The GroupMemeber table has 2 columns (ContactID,GroupID), this shows the people who are members of any group. It gives you unlimited groups and unlimited members to those groups.
You could create an unique contraint for the combination of ContactID & GroupID to prevent a user from being listed twice in a given group.
That's the basic configuration.
Hope it helps.
|
|
|
|
|
Hello sir my question is that i want to redirect one url to another url through web config
mean http://default.aspx to http://default.aspx" ...
anybody please help me for this.......?????
|
|
|
|
|
|
Hi,
I see in some places when I try to debug a .js file that the url of the file is different from call to call.
How do I accomplish it?
If I have a .js file with a name, how can I change the url to it every call.
thanks or the help
|
|
|
|
|
Can you show some sample of it?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Ok, I found the solution:
I just give a time stamp. something like this:
<script src="Scripts/jquery-1.8.2.js?v=<%=DateTime.Now.Ticks.ToString()%>"></script>
but does it really prevent debugging of the .js file from a tool like firebug?
|
|
|
|
|
It's not really a different URL! You only change some parameters, that probably has no effect at all on content, but may effect your caching for the wrong direction...
And no - it do not prevent debug. As long as js loaded into the browser you can debug it...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
I know it has an effect on the caching since the resource is not the same.
Regarding the debug issue: I meant that in firebug when I have a break point in a certain location in the code and I refresh the page, I don't get to that point again and it's gone, since the file is not the same file and the "new" file which is downloaded doesn't have breakpoint in it.
|
|
|
|
|
In that sense you are right. But it does not mean you can't debug, it's just more annoying...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Ok. So how could I catch a break point in the code?
|
|
|
|
|
As every of your page load loads a new js file, there is no other way but re-set the breakpoints...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
how i insert google map in my asp.net project with c# project
|
|
|
|
|
|
|
Hi,
I was developed 4 applications with different login pages by using "asp.net web site administration tool 2010" and i deployed in server(IIS).
Now the requirement is like i need to create new application with common login page and home page for 4 applications. By using that common home page i need to access 4 aplications which i deployed in iis.
Thank you.
|
|
|
|