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

ASP.NET

 
GeneralRe: javascript Pin
Anand Desai14-Oct-08 2:29
Anand Desai14-Oct-08 2:29 
GeneralRe: javascript Pin
ptvce14-Oct-08 2:17
ptvce14-Oct-08 2:17 
AnswerRe: javascript Pin
Brij14-Oct-08 2:16
mentorBrij14-Oct-08 2:16 
AnswerRe: javascript Pin
Abhijit Jana14-Oct-08 2:18
professionalAbhijit Jana14-Oct-08 2:18 
QuestionHow to include js file through .cs???? Pin
Anand Desai14-Oct-08 1:06
Anand Desai14-Oct-08 1:06 
AnswerRe: How to include js file through .cs???? Pin
vkrajeesh14-Oct-08 1:50
vkrajeesh14-Oct-08 1:50 
GeneralRe: How to include js file through .cs???? Pin
Anand Desai14-Oct-08 1:57
Anand Desai14-Oct-08 1:57 
GeneralRe: How to include js file through .cs???? Pin
Anand Desai14-Oct-08 2:28
Anand Desai14-Oct-08 2:28 
Thanks, your code helped me to include css file also, i was not able to include css file through cs by my code.

All i did is:

protected void Page_Init(object sender, EventArgs e)
    {
        Servicepath = "xmls/saltours/general/services.xml";
        string jspath = "scripts/companyname/main.js";
        String csname = "PageLoadScript";
        Type cstype = this.GetType();
        ClientScriptManager cs = Page.ClientScript;
        cs.RegisterClientScriptInclude(cstype, csname, ResolveClientUrl("~/" + jspath));
        ClientScript.RegisterClientScriptBlock(typeof(PackageList), "one", "<link href="\"styles/companyname/style.css\"" type="\"text/css\"" rel="\"Stylesheet\"" />");
        ClientScript.RegisterClientScriptBlock(typeof(PackageList), "two", "<link href="\"styles/companyname/st_home.css\"" type="\"text/css\"" rel="\"Stylesheet\"" />");
    }


and I got what was required....
Thanks,

Anand Desai
Developer
Atharva Infotech

AnswerProblem solved. Pin
Anand Desai14-Oct-08 1:54
Anand Desai14-Oct-08 1:54 
AnswerRe: Problem solved. Pin
Abhijit Jana14-Oct-08 2:12
professionalAbhijit Jana14-Oct-08 2:12 
GeneralRe: Problem solved. Pin
Anand Desai14-Oct-08 2:15
Anand Desai14-Oct-08 2:15 
Questionusing password recovery toolbox for mail your password Pin
Alok Sharma ji14-Oct-08 1:00
Alok Sharma ji14-Oct-08 1:00 
AnswerRe: using password recovery toolbox for mail your password Pin
Ashfield14-Oct-08 1:17
Ashfield14-Oct-08 1:17 
QuestionI needed something like this Pin
Member 445903414-Oct-08 0:49
Member 445903414-Oct-08 0:49 
AnswerRe: I needed something like this Pin
Brij14-Oct-08 0:52
mentorBrij14-Oct-08 0:52 
AnswerRe: I needed something like this Pin
Abhijit Jana14-Oct-08 0:54
professionalAbhijit Jana14-Oct-08 0:54 
QuestionGoogle calender [modified] Pin
raghvendrapanda14-Oct-08 0:22
raghvendrapanda14-Oct-08 0:22 
AnswerRe: Google calender Pin
eyeseetee14-Oct-08 0:31
eyeseetee14-Oct-08 0:31 
AnswerRe: Google calender Pin
Abhijit Jana14-Oct-08 0:47
professionalAbhijit Jana14-Oct-08 0:47 
AnswerRe: Google calender Pin
Brij14-Oct-08 0:51
mentorBrij14-Oct-08 0:51 
AnswerRe: Google calender Pin
Brij14-Oct-08 1:01
mentorBrij14-Oct-08 1:01 
QuestionRe: Google calender Pin
raghvendrapanda14-Oct-08 1:13
raghvendrapanda14-Oct-08 1:13 
AnswerRe: Google calender Pin
Steve Echols14-Oct-08 17:24
Steve Echols14-Oct-08 17:24 
QuestionHow to Implement locking mechanism in ADO.NET to resolve the concurrency error Pin
Member 311097013-Oct-08 23:00
Member 311097013-Oct-08 23:00 
AnswerRe: How to Implement locking mechanism in ADO.NET to resolve the concurrency error Pin
Colin Angus Mackay13-Oct-08 23:32
Colin Angus Mackay13-Oct-08 23:32 

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.