|
Sonia Gupta wrote: no,can i get the answer of my question.please it is urgent
Sorry, I am VC++ developer.. with very less or no knowledge of asp.net . your name remind me of someone.. so i asked you that question. sorry, if i had troubled/hurted you.
Sonia Gupta wrote: Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
don't put your email in public.. you could become victim of spam!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Using membership&role feature in asp.net 2.0 create an aspnet db,
can I use this db for my tables also?
|
|
|
|
|
Yes, as long as you don't change the created ones (unless you want to implement a custom provider).
Cheers
Ben
|
|
|
|
|
I am asking in that way when my web has other tables for ex. Customers or Clients ...
In this way, Can I store tables (Customers, Clients etc) in aspnetdb?
Thanks in advance
|
|
|
|
|
The answer is that you can, the bigger question is whether you should. I'd be inclined to separate out your business data from your security data.
Is there an issue with deploying a second database in the environment?
Ben
|
|
|
|
|
thanks so much for answer!
No, in my case is not any security issue letting security and business data together.
|
|
|
|
|
Hi,
I have the following javascript:
<script language="javascript" type="text/javascript"><br />
<br />
var numSeconds;<br />
var timerId = null;<br />
var timerInterval = 1000;<br />
var numUpdates = 0;<br />
<br />
window.onload = Window_OnLoad;<br />
<br />
function Window_OnLoad()<br />
{ <br />
StartProcess();<br />
}<br />
<br />
function StartProcess()<br />
{<br />
if ( numUpdates < 72 )<br />
{<br />
numSeconds = 3;<br />
UpdateMap();<br />
numUpdates++;<br />
}<br />
}<br />
<br />
function UpdateMap()<br />
{ <br />
if ( numSeconds == 0 )<br />
{<br />
clearTimeout(timerId);<br />
<br />
var mapControl = document.getElementById("MapControl1");<br />
mapControl.doCallback("IncrementSales", "");<br />
<br />
StartProcess();<br />
}<br />
else<br />
{<br />
numSeconds = numSeconds - 1;<br />
<br />
timerId = self.setTimeout("UpdateMap()", timerInterval);<br />
}<br />
}<br />
</script>
It works fine, when used on a standalone page, but when I am using masterpage and contentpages and I paste it into my content page (between <asp:content> and tags) it does not work. I'm a newbie at javascripts and I assume that there is something simple to correct. Could you please help me to make this script work under my content page?
Regards,
Piote
|
|
|
|
|
Hi,,,
please help me i would like to add a counter in my asp.net page to count the number of visitor and how can my visitor download any photos from my web site , i would like to give me the steps and the name of control to do that and the code with C# to do that ASAP i have not any time , and please do not give me the link or website i wanna the code and steps,thank you
Hisham Alsayed
|
|
|
|
|
If you search google there's a lot of sites that offer you a free counter(javascript code)...
Visit my blog at http://dotnetforeveryone.blogspot.com/
|
|
|
|
|
Did you read me message correctly? i do not want any link and you did not add to me any new i know google but i have not time to search.
|
|
|
|
|
Luckily we all have plenty of time to do your job for you. Oh, no, wait, no we haven't. Enjoy the complete lack of useful responses you'll get with this attitude.
|
|
|
|
|
|
i have a button in the web page.now on closing the form i am showing the confirm message(are u sure u want to exit).
for that i am writing the following code.
<code><script language="javascript" type="text/javascript">
function abc()
{
if(confirm('Are u sure u want to exit')==true)
{
return true;
}
}
</script></code>
<code><body onunload="abc();"></body></code>
but the above code shows me the message box when i click the button.i want the message box to appear when i click the close button.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
You have to tell the function when it should ask.
Declare a global variab, set the variable in onclick of the button, and check the value of the variable in the abc function.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
how should u implement it.i did the said code in source file.I mean global variable declaration ?how to do that?
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Sonia Gupta wrote: I mean global variable declaration ?how to do that?
You declare a variable outside the function.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Sonia Gupta wrote: if(confirm('Are u sure u want to exit')==true)
if(confirm('Are u sure u want to exit'))
Sonia Gupta wrote: i want the message box to appear when i click the close button.
browser's close button?
best regard
pathan
please don't forget to vote on the post that helped you.
|
|
|
|
|
yes , only on browser close button i need to show the message box.
after writing the
if(confirm('Are u sure u want to exit'))
still it execute on button control as well.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Sonia Gupta wrote: Soniagupta1@yahoo.co.in
Is this same sonia gupta, belonging to holy city of haridwar, India.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
hi
in page load event add attribute like
if (!IsPostBack)
{
btnclose.Attributes.Add("OnClick", "javascript:return confirm('Are You sure u want to exit');");
}
and then do want ever u want to do in btnclose.if u not get then tell me
Jintal Patel
|
|
|
|
|
Hello. A little tricky situation:
I have a master page. Inside that master page I have A div (With overflow:scroll) that contain an ajax updatePanel.
Inside that updatePanel I have a tree.
The problem is That if I scroll down the tree and then select a node. The tree jump back to the top.
Because I'm inside a masterpage I don't have the "maintainScrollPositionOnPostBack".
Is there a way to select node with out it jump to the top?
Thanks in advance,
Roy.
|
|
|
|
|
Its looks like the problem is not in the master page.
I think it have something to do with the ajax and JS.
I added a JS to my DIV that should rememebr the scroll position every time and update it when the page load.
The problem is that when I select a node in the tree, It doesn't refresh the page and I think that thats way it doesn't run the JS
Any body know this case?
|
|
|
|
|
morning guys
i have prcedure should be work indefenitly.
i dont want to make a windows service.
can i put infinit loop in the Application_Start and make the thread sleep for a period
while(true)
{
MyFunction();
System.Thrading.Thread.Sleep(150000);
//150000 milisecond = one day
}
i have alot of utility functions i dont want to copy
|
|
|
|
|
Yes you can do it... But there's a way a little bit elegant. Timer. Create a timer and call "MyFunction" on timer tick.
<br />
<br />
using System.Threading;<br />
...<br />
<br />
private Timer loTimer;<br />
<br />
loTimer = new Timer(new TimerCallback(Timer_Tick), this, 0, 150000);<br />
<br />
<br />
private void Timer_Tick(object sender)<br />
{<br />
MyFunction();<br />
}
Visit my blog at http://dotnetforeveryone.blogspot.com/
|
|
|
|
|
Hi, I want to play video files stored in the virtual directory. But I could not pass "File name" to that from the sql table. I could only play the specified file. How to overcome this problem?
<object id="Player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" viewastext="">
<param name="autostart" value="True" />
<param name="url" vlaue="somemedidafile.mpg" />
-- modified at 2:56 Thursday 18th October, 2007
Chaitra N
|
|
|
|