C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




ASP.NET WEBSITE ALIGNMENT WHILE USING JAVASCRIPT


Posted Date: 19 Jul 2008      Total Responses: 1

Posted By: jayakumar       Member Level: Gold     Points: 1


hi
am developed webapplication using VS2005 with C#.
i used to open a new window on clicking a linkbutton in datagrid cell using

Response.Write("<script language=\"javascript\" type=\"text/javascript\">window.open(\"EditEquipments.aspx\",null,\"height=600,width=900,status=yes,toolbar=no,scrollbars=yes,menubar=no,location=no,left=10,top=10\")</script>");

it is opening correctly,but in the enternet explorer the alignment and font size all are getting bigger,and looks bad.

whereas in mozila firebox it is working fine with same alignment.

how do i overcome this issue!.,since many of the people will see it in internet explorer only.

please could any one tell me about this issue.




Responses

Author: shanmukha kumari    21 Jul 2008Member Level: GoldRating:     Points: 4
just write one javascript function as

function openPopup()
{
window.open(\"EditEquipments.aspx\",null,\"height=600,width=900,status=yes,toolbar=no,scrollbars=yes,menubar=no,location=no,left=10,top=10\");
return false;
}

call this function in the link buttons onclick event.
Hope this will helpful to you



Post Reply
You must Sign In to post a response.
Next : number of occurence of a word in a web page
Previous : Disable Print screen,Right Click using javascript
Return to Discussion Forum
Post New Message
Category: JavaScript

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

web conferencing services

Contact Us    Privacy Policy    Terms Of Use