There is a project that I want to merge in my project. It has only one default page with several back end files such as .css, .js. Is there a way to add that solution or that page to be specific in a certain div of page of my project, like we do using JQuery? What kind of c# code is required for that?
Is there a way to add that solution or that page to be specific in a certain div of page of my project
Copy all resource files like CSS, JS and paste in your main project. Copy Default page and add it to main project - modify the references to JS/CSS/etc if needed based on the project hierarchy. If the relative hierarchy is still the same, no change would be needed.
What kind of c# code is required for that?
For resource reference to a page, there would be no CS code involved. If you have some specific code to project you might need to make it suitable as per main project.
This was working fine in windows 2000 server. Now we are upgrading to windows 2003 server. In this it is not giving print. Also I'm not getting any exception or any logs. Logs were created as everything working fine. Also in 2003 server this is working from command prompt and from console application also it is working, but when user logged in. If no one is logged in again the print is not working.
To Master Page? Way to adding picture to master or Web Form, are same. If you want to add image via HTML, write this code: <img id="pic" runat="server" alt="" />
And to code behind add following code: ... pic.Src="path to the picture"; ... Of course, you can add image via asp:Image, but adding image by HTML is better solution, because ASP.NET server control add a some value to _VIEWSTATE, add prefix before id...
Adding image to normal webpage and masterpage are same. At times, you might face issue with image display because of the image relative path issue because of page hierarchies. For such cases, you would need to make sure that the path is correct such that file is found and used.