Click here to Skip to main content
16,015,296 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to conect database access with web page ? Pin
Ibuprofen2-May-07 17:28
Ibuprofen2-May-07 17:28 
GeneralRe: How to conect database access with web page ? Pin
Tarakeshwar Reddy3-May-07 2:32
professionalTarakeshwar Reddy3-May-07 2:32 
GeneralRe: How to conect database access with web page ? Pin
Ibuprofen3-May-07 2:35
Ibuprofen3-May-07 2:35 
GeneralRe: How to conect database access with web page ? Pin
Tarakeshwar Reddy3-May-07 2:38
professionalTarakeshwar Reddy3-May-07 2:38 
GeneralRe: How to conect database access with web page ? Pin
Sandeep Akhare2-May-07 19:52
Sandeep Akhare2-May-07 19:52 
QuestionJava script in Master pages Pin
seemamltn2-May-07 7:16
seemamltn2-May-07 7:16 
AnswerRe: Java script in Master pages Pin
kubben2-May-07 7:26
kubben2-May-07 7:26 
AnswerRe: Java script in Master pages Pin
ToddHileHoffer2-May-07 7:54
ToddHileHoffer2-May-07 7:54 
You could try the following. Put your javasscript in a .js file.


    <br />
<br />
public void AddJavascript(string javascriptUrl)<br />
    {   //This method adds the JavaScript File to the page<br />
        HtmlGenericControl script = new HtmlGenericControl("script");<br />
        script.Attributes.Add("type", "text/javascript");<br />
        script.Attributes.Add("src", ResolveUrl(javascriptUrl));<br />
         this.Master.Page.Header.Controls.Add(script);<br />
        <br />
    }<br />
<br />
//In the page load call<br />
  AddJavascript("~/Scripts/Default.js");<br />
<br />


The above is used to put the code in the master file, but you don't have to.


GeneralRe: Java script in Master pages Pin
richmanbob2-May-07 15:40
richmanbob2-May-07 15:40 
QuestionOleDB Image Pin
nc3b2-May-07 6:59
nc3b2-May-07 6:59 
QuestionRe: OleDB Image Pin
nc3b2-May-07 9:31
nc3b2-May-07 9:31 
AnswerRe: OleDB Image Pin
Guffa2-May-07 9:49
Guffa2-May-07 9:49 
GeneralRe: OleDB Image Pin
nc3b3-May-07 0:13
nc3b3-May-07 0:13 
AnswerRe: OleDB Image Pin
Guffa3-May-07 1:11
Guffa3-May-07 1:11 
GeneralRe: OleDB Image Pin
nc3b3-May-07 1:26
nc3b3-May-07 1:26 
GeneralWhy is this Pin
nc3b3-May-07 1:36
nc3b3-May-07 1:36 
GeneralRe: Why is this Pin
nc3b4-May-07 2:51
nc3b4-May-07 2:51 
QuestionMaster page Controls Pin
metbinu2003@yahoo.com2-May-07 5:32
metbinu2003@yahoo.com2-May-07 5:32 
AnswerRe: Master page Controls Pin
Gamzun2-May-07 5:57
Gamzun2-May-07 5:57 
Questionjavascript quiz Pin
saravanan052-May-07 4:40
saravanan052-May-07 4:40 
AnswerRe: javascript quiz Pin
Guffa2-May-07 6:05
Guffa2-May-07 6:05 
JokeRe: javascript quiz Pin
Tarakeshwar Reddy2-May-07 6:17
professionalTarakeshwar Reddy2-May-07 6:17 
QuestionRole based Menu control Pin
coolestCoder2-May-07 4:31
coolestCoder2-May-07 4:31 
QuestionThe project type is not supported by this installation Pin
Ankit Aneja2-May-07 3:11
Ankit Aneja2-May-07 3:11 
AnswerRe: The project type is not supported by this installation Pin
Paddy Boyd2-May-07 4:40
Paddy Boyd2-May-07 4:40 

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.