Click here to Skip to main content
15,919,774 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Object reference not set to an instance of an object Pin
Samiullah7-Jan-09 22:19
Samiullah7-Jan-09 22:19 
GeneralRe: Object reference not set to an instance of an object Pin
sudhanvag7-Jan-09 22:43
sudhanvag7-Jan-09 22:43 
QuestionHow to instantiate C#.NET class at client side (inside javascript ). Pin
Dattatraya K7-Jan-09 19:53
Dattatraya K7-Jan-09 19:53 
AnswerRe: How to instantiate C#.NET class at client side (inside javascript ). Pin
Abhijit Jana7-Jan-09 20:05
professionalAbhijit Jana7-Jan-09 20:05 
GeneralRe: How to instantiate C#.NET class at client side (inside javascript ). Pin
Dattatraya K7-Jan-09 20:09
Dattatraya K7-Jan-09 20:09 
GeneralRe: How to instantiate C#.NET class at client side (inside javascript ). Pin
Abhijit Jana7-Jan-09 20:26
professionalAbhijit Jana7-Jan-09 20:26 
GeneralRe: How to instantiate C#.NET class at client side (inside javascript ). Pin
Dattatraya K7-Jan-09 20:34
Dattatraya K7-Jan-09 20:34 
AnswerRe: How to instantiate C#.NET class at client side (inside javascript ). Pin
Abhijit Jana7-Jan-09 20:58
professionalAbhijit Jana7-Jan-09 20:58 
QuestionUser Control in Master Page Pin
Thomas Antony K7-Jan-09 19:28
Thomas Antony K7-Jan-09 19:28 
AnswerRe: User Control in Master Page Pin
Padmanabh Ganorkar7-Jan-09 21:49
Padmanabh Ganorkar7-Jan-09 21:49 
GeneralRe: User Control in Master Page Pin
Thomas Antony K7-Jan-09 22:31
Thomas Antony K7-Jan-09 22:31 
QuestionRe: User Control in Master Page Pin
PCuong19837-Jan-09 22:22
professionalPCuong19837-Jan-09 22:22 
QuestionHide toolbar and menu bar of IE. Pin
zareee7-Jan-09 19:14
zareee7-Jan-09 19:14 
AnswerRe: Hide toolbar and menu bar of IE. Pin
Jas 0077-Jan-09 19:15
Jas 0077-Jan-09 19:15 
GeneralRe: Hide toolbar and menu bar of IE. Pin
zareee7-Jan-09 19:24
zareee7-Jan-09 19:24 
QuestionUsing Web Browser Control Pin
Nagaraj Muthuchamy7-Jan-09 19:08
professionalNagaraj Muthuchamy7-Jan-09 19:08 
Hi,

I am using WebBrowser Control and passing the url at run time.

I want to insert some text or javascript into the body of the web page being loaded in the browser.

I tried like below.

private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {
            WebBrowser browse = (WebBrowser)sender;
            if (!(webBrowser1.Document.Body.InnerHtml.Contains("Hello")))
            {
                webBrowser1.Document.Body.InnerHtml = browse.Document.Body.InnerHtml + "<script type='text/javascript'>				var Hello;		var i;				var totalTable  = document.getElementsByTagName('table').length;				for(i=0;i < totalTable; i++)		{		    document.getElementsByTagName('table')[i].id  = 'name' + i;		}		function myfun()		{		   		      this.style.border  = 'solid 5px Red';		}		function myfun1()		{		   		      this.style.border  = 'none';		}		for(i=0;i < totalTable; i++)		{		    document.getElementsByTagName('table')[i].onmouseover  = myfun;		    document.getElementsByTagName('table')[i].onmouseout  = myfun1;		}    </script>";
            }
        }


But, This is not working. This event is fired many times for single page.

Thanks,
Nagaraj


Questionhow to play the songs retrieved frm the database into a dataview Pin
reogeo20087-Jan-09 18:39
reogeo20087-Jan-09 18:39 
AnswerRe: how to play the songs retrieved frm the database into a dataview Pin
Jas 0077-Jan-09 18:56
Jas 0077-Jan-09 18:56 
GeneralRe: how to play the songs retrieved frm the database into a dataview Pin
reogeo20087-Jan-09 19:01
reogeo20087-Jan-09 19:01 
Questionhow to insert date in textbox from a calender control in ASP.Net (without Java Script and Ajax) Pin
Jas 0077-Jan-09 17:09
Jas 0077-Jan-09 17:09 
AnswerRe: need help Pin
Abhijit Jana7-Jan-09 17:24
professionalAbhijit Jana7-Jan-09 17:24 
AnswerRe: how to insert date in textbox from a calender control in ASP.Net (without Java Script and Ajax) Pin
Sunil Wise7-Jan-09 21:10
professionalSunil Wise7-Jan-09 21:10 
AnswerRe: how to insert date in textbox from a calender control in ASP.Net (without Java Script and Ajax) Pin
mazekui7-Jan-09 21:27
mazekui7-Jan-09 21:27 
Questionset cookie in button event handler and access it from request Pin
dennizsoftware.se7-Jan-09 6:24
dennizsoftware.se7-Jan-09 6:24 
AnswerRe: set cookie in button event handler and access it from request Pin
Bharathy Sadagopan7-Jan-09 6:56
Bharathy Sadagopan7-Jan-09 6:56 

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.