|
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
|
|
|
|
|
hi
i am having a webpage (developed using asp) in it i have one hyperlink button when i click on that button file starts downloading from my system with that file name.its working fine, but now i want to download the file from another system which is connected to my system(say MS01 is another system name ) through LAN. can anybody send me the source code for this task.
|
|
|
|
|
how we encrypt a userid in emails is it possible in a c#.net project.that means if a user login using authentication method the users id and password will be seen in the address bar of the browser as in encrypted form .please send the source code for that query.if a user logins in by entering his username and password his id will be seen as in encrypted form as we seen in mails
|
|
|
|
|
Hi,
you have encrypt the user id and password and pass it as query string
Check out this link
Encrypting Userid and password [^]
Good luck
Happy Programming
-----
Abhijit
|
|
|
|
|
hi,
i am preparing a project for college submission title is "Online search hotels and Bookings". i have a problem that, how can i send email to the client. i have not any server, i want to use local host for it. so what can i use code? or any configurations are required or not. i want to use SMTP protocol. so what is the procedure for it.
any body tell me what can i do?????????????
advs thanks........
yogesh (MCA 5th semester)
yogesh
|
|
|
|
|
You can't send an email without a mail server.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
But sir...
that means i cant make my pc as a mail server???
i want to send email using code and i want to configure this pc, if u have any idea please suggest me.
thank you r/s sir.
yogesh
|
|
|
|
|
yogesh_softworld123 wrote: so what is the procedure for it.
procedure is you need to install or configure default SMTP virtual server in your machine.
Regards,
Sandeep Kumar.V
|
|
|
|
|
yogesh_softworld123 wrote: i want to use local host for it.
Goto IIS setting and check your SMTP server is running. In MailMessage class, use localhost as server. To view the mail after sending, goto MailRoot -> Queue folder.
|
|
|
|
|
Hello all,
In html, there is a tag called for new line.
Likewise is there any tag for "tab"?
I want to display data in tabbed format.
Thanks,
Nagendra.
|
|
|
|
|
nagendrathecoder wrote: I want to display data in tabbed format.
HTML don't have any tab tag. Use tables instead
|
|
|
|
|
No, the way that most web pages do this is to render each page as if it shows a bunch of tabs with the current one selected, and the others as links to pages that work the same way on the 'tabs'
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I think he means tab as in the tab key rather than tab as it the UI element.
|
|
|
|
|
Hi
In edit mode of the gridview, I have provide date picker. For this I am opening a new page containing the calender using java script:
window.open('CalendarPopUp.aspx?textbox=tbxSetDate','cal','width=250,height=225,left=270,top=180')
But I am unable to take the selected date back to the parent page.
When I am trying to access the textbox of the current row in gridview's rowcommand like:
TextBox tbxSetDate= (TextBox)(GridView2.Rows[Int32.Parse(e.CommandArgument.ToString())].Cells[2].FindControl("TextBox2"));
I am getting null instead of the textbox object.
Any idea here?
Regards,
Rocky
Rakesh
|
|
|
|
|
Hi Rakesh,
When you go into edit mode the e.CommandArgument is not working some of the times. Therefore it is likely you cannot find your textbox in that row.
I use the following to get the correct row number.
GridViewRow row = (GridViewRow)((Control)e.CommandSource).Parent.Parent
you can try it and see.
regards
blooper
|
|
|
|
|
I want to use session between projects(diff dll) in the same soultion..
Eg Session["user"] = hello
I am getting it when i use server.transfer
Not getting when it is Respnse.Redirect
|
|
|
|
|
VB.Net Developer wrote: between projects(diff dll) in the same soultion..
Session is not project specific. It's site specific. Is this two projects works on same virtual directory ?
|
|
|
|
|
It is in same virtual directory itself
|
|
|
|
|
When a new project is created, automatically one virtual directory will be created on IIS. Goto IIS settings and check another virtual directory exist for the second project. If exist remove one.
|
|
|
|
|
Thanks a lot...That was excatly the problem ........Now i am getting sessions between projects
|
|
|
|
|
VB.Net Developer wrote: Thanks a lot
Welcome
|
|
|
|
|
i uploaded my Asp.net project in server www Root. i got error in wep config file.. the error is
error:authentication mode="Windows"
Line 28: <authentication mode="Windows">
karthi
|
|
|
|