Click here to Skip to main content
15,898,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
GeneralRe: set cookie in button event handler and access it from request Pin
dennizsoftware.se7-Jan-09 7:06
dennizsoftware.se7-Jan-09 7:06 
GeneralRe: set cookie in button event handler and access it from request Pin
Bharathy Sadagopan7-Jan-09 7:18
Bharathy Sadagopan7-Jan-09 7:18 
GeneralRe: set cookie in button event handler and access it from request Pin
dennizsoftware.se7-Jan-09 7:32
dennizsoftware.se7-Jan-09 7:32 
QuestionMeasure the figures of web site Pin
slSoftware7-Jan-09 6:11
slSoftware7-Jan-09 6:11 
AnswerRe: Measure the figures of web site Pin
Guffa7-Jan-09 6:18
Guffa7-Jan-09 6:18 
GeneralRe: Measure the figures of web site Pin
slSoftware7-Jan-09 6:25
slSoftware7-Jan-09 6:25 
GeneralRe: Measure the figures of web site Pin
N a v a n e e t h7-Jan-09 16:34
N a v a n e e t h7-Jan-09 16:34 
AnswerRe: Measure the figures of web site Pin
Abhijit Jana7-Jan-09 17:30
professionalAbhijit Jana7-Jan-09 17:30 

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.