|
Hi ALl
I need to know the cause of Virtual Application Pool Crashes withing the IIS & whether it is caused by a prolem in the application or in the server..Also what is the error normally generated in the event log when a virtual application ppol crahes within the IIS.
Thanks a lot in advance..
|
|
|
|
|
Hi,
I'm building an Ajax project and i need to get an event from the page when the page is finished to load and to render and is shown to the client's interface.
The second question is when i invoke an Ajax panel through the event mentioned above, does it triggers the Ajax UpdateProgress when i call a method inside the UpdatePanel?
|
|
|
|
|
Lior S wrote: Hi,
I'm building an Ajax project and i need to get an event from the page when the page is finished to load and to render and is shown to the client's interface.
The second question is when i invoke an Ajax panel through the event mentioned above, does it triggers the Ajax UpdateProgress when i call a method inside the UpdatePanel?
I'm sorry but I'm a lil confused.
If you want an event that occurs when the page loads try this:
<br />
<body on load="Do.AmazingAjax.Rendering()"><br />
FANTASTIC PAGE CONTENT HERE!!!!!<br />
</body><br />
next, UpdatePanel? AJAX is a technology that is comprised of using JavaScript to perform certain functions without refreshing the page. There is no such thing as an update.
|
|
|
|
|
Thanks for your help and redirection.
Lior
|
|
|
|
|
i want a script that change the default home page when clicking on the link. but i want it also work with firefox .
this script works only in IE5 or late:
<a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://dynamicdrive.com');">Click here to make Dynamic Drive your default homepage</a>
-- modified at 2:43 Sunday 29th October, 2006
Faris Madi
Nothing Comes Easy (N.C.E.)
|
|
|
|
|
|
How, using AJAX techniques, can I update TextBox control implementing following two functions Button1_Click and Timer1_Tick listed below, that should work the same, but they don't. On Timer_Tick event my Control is beeing update every 1 second, but how can I do it calling a new process? Thanks in advance.
protected void process()
{
do
{
TextBox1.Text += "*";
Thread.Sleep(1000);
} while (true);
}
protected void Button1_Click(object sender, EventArgs e)
{
Thread myT = new Thread(process);
myT.Start();
}
protected void Timer1_Tick(object sender, EventArgs e)
{
TextBox1.Text += "*";
Thread.Sleep(1000);
}
Hobgoblin
|
|
|
|
|
You can't. Using timers on the server is useless in this context, as the server has no way of sending anything to the page after it has been created. Although the Page object may still remain in memory, it's response has already been sent to the browser, so doing anything to the Page object has no effect at all on the page displayed in the browser.
Anything that you want to do using time delay has to be initiated from the browser. AJAX is useful to do updates without having to reload the page, but still the request comes from the browser, the server can not send anything to the browser on it's own accord.
Use the window.setInterval method in Javascript to create a timer in the web page.
---
b { font-weight: normal; }
|
|
|
|
|
Is there any technique in .NET that I can use to push data to client's web browser? I have heard about COMET, but there is not any opensource. Any ideas?
|
|
|
|
|
mmiesi wrote: push data to client's
Push does not exist in reality. The client either polls or acts like a server that can be connected to for receiving notifications.
led mike
|
|
|
|
|
Yes, that's the kind of technology you'd have to use.
I'd suggest that you look a bit further, I bet there are some open source implementations. As COMET is a rather new name on technology that has been known for a while, there may be several implementations that does not (yet?) include COMET in their name.
---
b { font-weight: normal; }
|
|
|
|
|
or do you like just posting code.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Friggen annoying...WTF is he doing...
Now the forum is full of noise...useless...
CP should implement some lock on X number of concurrent posts without replies being posted by the same user...it would prevent goofballs like this from adding this much garbage to the forum...puching possibly important issues to the bottom of the stack - so to speak
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
Hi All,
I need to design architecture on a file handling application through web interface.
there will be limited no of users, and some DB logging will be there. so that database is not too complex.
Is it ok, if i have database server and IIS on the same machine, and having a file server separately ( i am talking of the physical machines).
Please provide your expert views on the same.
|
|
|
|
|
That should be fine, just be careful how you organize it and check that is it secure.
|
|
|
|
|
If u want to save/updates document file on the web server.
I think u should check Dotnetnuke or sharepoint service.
|
|
|
|
|
Is this doable?
We're looking to develop an application that allows you to enter a domain (www.thewebsitename.com) and have the application return a list of all pages associated with that domain. (www.thewebsitename.com/allthesepages).
Sanjeev
|
|
|
|
|
|
i have 3 projects in my .sln file.
1 - webproject (vb.net), 2 vb.net class library(Schemas) 3. c# class library (Managers).
i am passing Schemas object from code behind of web project to a method of Managers class.
it is giving an error as
"Reference required to assembly 'Schemas' containing the type 'Schemas.mySchemas'. Add one to your project."
All the references correct.
current references :
webproject having ref. to Schemas and Managers prjs
Managers having ref. to Schemas prj.
Please suggest me how to go about this issue.
Thank you inadvance.
-- modified at 1:24 Thursday 26th October, 2006
PradeepG
|
|
|
|
|
When you are passing an assembly's object to another assembly/Project. The receiver assembly/project should have the reference of sender's assembly.
In your case:
Webproject is having reference to both "Schemas" and "Managers"
but
"Managers" is not having reference to "Schemas", add the reference.
akhilesh
|
|
|
|
|
Hi Akhilesh Yadav,
Managers class also having a reference to 'Schemas'
This problem is giving when i am passing a vb.net class object to a c# class method.
It was working for vb.net class object to a vb.net class method.
Problem is peculiar
PradeepG
|
|
|
|
|
Correct me if I'm wrong
you are having three projects in sln.
1. Web Project -- VB.Net
2. Schemas (Class Library) -- VB.Net
3. Managers (Class Library) -- C#.Net
if all things are correct then check declaration of C# class method which will receive VB.Net class object. This error is in relation to referecne only.
Regards,
Akhilesh Yadav
|
|
|
|
|
code behind of web app.
Imports Schemas
Imports Managers
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim objSch As New mySchemas
Dim objMan As New myManager
objSch.FirstName = "Scott"
objSch.LastName = "Perk"
objMan.AccessSchema(objSch) 'Error in this line :objSch
'Error during compliation
End Sub
-------myManager.cs----------------
using System;
using Schemas;
namespace Managers
{
///
/// Summary description for Class1.
///
public class myManager
{
public void AccessSchema(mySchemas objReg)
{string FN,LN;
FN = objReg.FirstName;
LN = objReg.LastName;
}
}
}
--- MySchemas-----
Public Class mySchemas
Private strFirstName As String
Private strLastName As String
Sub mySchemas()
strFirstName = ""
strLastName = ""
End Sub
Public Property FirstName() As String
Get
Return strFirstName
End Get
Set(ByVal Value As String)
strFirstName = Value
End Set
End Property
Public Property LastName() As String
Get
Return strLastName
End Get
Set(ByVal Value As String)
strLastName = Value
End Set
End Property
End Class
PradeepG
|
|
|
|
|
Sorry for late reply.
I checked your code. It's absolutely fine.
I tried giving the project references.... got the problem.
Then I tried giving reference from DLL i.e copy paste the dll in web project's bin folder and then give reference from bin.
Solution was sucessfully built.
Regards,
Akhilesh Yadav
|
|
|
|
|
Thanks Akhilesh. I also did the same thing.
PradeepG
|
|
|
|