Click here to Skip to main content
15,891,777 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Any update to IIS7 gives me error HRESULT:0x80070005 (E_ACCESSDENIED) Pin
souidi abderrahman16-Jul-10 6:15
souidi abderrahman16-Jul-10 6:15 
QuestionGridview PageIndexChanging event not being called when using an asp:UpdatePanel Pin
Steve Holdorf23-Jan-09 8:04
Steve Holdorf23-Jan-09 8:04 
AnswerRe: Gridview PageIndexChanging event not being called when using an asp:UpdatePanel Pin
Rajdev Ramasamy26-Jan-09 23:30
Rajdev Ramasamy26-Jan-09 23:30 
GeneralRe: Gridview PageIndexChanging event not being called when using an asp:UpdatePanel Pin
Steve Holdorf27-Jan-09 4:57
Steve Holdorf27-Jan-09 4:57 
Questionblock access to none aspx folders Pin
tomertro23-Jan-09 3:38
tomertro23-Jan-09 3:38 
AnswerRe: block access to none aspx folders Pin
led mike23-Jan-09 5:44
led mike23-Jan-09 5:44 
AnswerRe: block access to none aspx folders Pin
N a v a n e e t h23-Jan-09 17:11
N a v a n e e t h23-Jan-09 17:11 
Questioncontext.Response.Write is not working on mozilla,safari ... Pin
nmathur2322-Jan-09 22:13
nmathur2322-Jan-09 22:13 
Hi All,

I m using Asp.net 2.0 to develop my web app.
i m using Webhandler (.ashx) pages to wrrite some html from backend..
the code is work finr for IE but it is not work for mozilla,safari..
here is the code..
In Javascript i write:-

var xmlhttp = null;
        
         if (window.XMLHttpRequest) { // if Mozilla, Safari etc
        xmlhttp = new XMLHttpRequest();
       
    }
    else if (window.ActiveXObject) { // if IE
        try {
            xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
           
        } catch (e) {
            try {
                xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
                
            } catch (e) {}
        }
    }     

 if (xmlhttp)
    {            
        xmlhttp.open("POST", "./htask_getDevicesGroupWise.ashx", true); //varAsynx = true    
        xmlhttp.onreadystatechange = function()
                            {
                                if (xmlhttp.readystate ==4) //4 is a success
                                {
                                    try{
                                        var result = xmlhttp.responseText;
                                        eval(result);
                                         LoadingHide();
                                    }
                                    catch(e)
                                    {
                                      //alert(e.message) 
                                      //throwError(e.message,'fn_runHandler','Common Handler','ve.js');
                                    }
                                }
                            }
        xmlhttp.send(null);
    }


And in Handler page i just write

 Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
 context.Response.Write("alert('sfs');")	
End Sub


alert message is not showing on mozilla,safari but it is working in IE.
so i think context.Response.Write is not working ..
Why? D'Oh! | :doh:

Please help!!!
Thanks in advance
Nitin
AnswerRe: context.Response.Write is not working on mozilla,safari ... Pin
Aman Bhullar22-Jan-09 23:28
Aman Bhullar22-Jan-09 23:28 
GeneralRe: context.Response.Write is not working on mozilla,safari ... Pin
nmathur2323-Jan-09 0:06
nmathur2323-Jan-09 0:06 
QuestionCatching ok button when pressed Pin
samerh22-Jan-09 19:26
samerh22-Jan-09 19:26 
AnswerRe: Catching ok button when pressed Pin
VenkatFor.NET22-Jan-09 20:50
VenkatFor.NET22-Jan-09 20:50 
GeneralRe: Catching ok button when pressed Pin
samerh22-Jan-09 20:58
samerh22-Jan-09 20:58 
AnswerRe: Catching ok button when pressed Pin
vaghelabhavesh26-Jan-09 16:49
vaghelabhavesh26-Jan-09 16:49 
AnswerRe: Catching ok button when pressed Pin
Ranjit Viswakumar29-Jan-09 14:35
Ranjit Viswakumar29-Jan-09 14:35 
Questionversion history is not working for Custom List Form ( WSS3.0) Pin
Raheem MA22-Jan-09 17:57
Raheem MA22-Jan-09 17:57 
QuestionDirectory Structure Pin
Civic0622-Jan-09 7:59
Civic0622-Jan-09 7:59 
AnswerRe: Directory Structure Pin
SeMartens23-Jan-09 1:18
SeMartens23-Jan-09 1:18 
QuestionAdd webpart to login.aspx page sharepoint Pin
deewaker pandey22-Jan-09 3:20
deewaker pandey22-Jan-09 3:20 
AnswerRe: Add webpart to login.aspx page sharepoint Pin
VenkatFor.NET22-Jan-09 21:10
VenkatFor.NET22-Jan-09 21:10 
Question2007 SharePoint - Need Help with Hiding Fields in a list Pin
Robb Base22-Jan-09 2:36
Robb Base22-Jan-09 2:36 
QuestionMouseOver on TD Pin
navkrishkannan22-Jan-09 1:14
navkrishkannan22-Jan-09 1:14 
AnswerRe: MouseOver on TD Pin
Ranjit Viswakumar29-Jan-09 14:44
Ranjit Viswakumar29-Jan-09 14:44 
QuestionWeb Service using COM object Pin
Griffin200221-Jan-09 9:31
Griffin200221-Jan-09 9:31 
Questionintegrate SnapCasa (thumbnail grabber) into a Guest book or scmething Pin
Task121-Jan-09 9:18
Task121-Jan-09 9:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.